remove generated column from oracle temp table inner index

This commit is contained in:
dontknow9179 2025-01-06 10:16:33 +00:00 committed by ob-robot
parent 0379aa5bd7
commit 0103584d6f

View File

@ -3590,7 +3590,8 @@ int ObCreateTableResolver::add_inner_index_for_heap_gtt() {
} else {
if (!column->is_rowkey_column()
&& column->get_column_id() != OB_HIDDEN_SESSION_ID_COLUMN_ID
&& column->get_column_id() != OB_HIDDEN_SESS_CREATE_TIME_COLUMN_ID) {
&& column->get_column_id() != OB_HIDDEN_SESS_CREATE_TIME_COLUMN_ID
&& !column->is_generated_column()) {
ObString column_name = column->get_column_name_str();
bool has_invalid_types = false;
if (OB_FAIL(add_storing_column(column_name,