Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
Signed-off-by: xufei <xufei@pingcap.com>
  • Loading branch information
windtalker committed Jan 5, 2023
1 parent 88be46b commit b40ccfc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dbms/src/Flash/Coprocessor/GenSchemaAndColumn.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ NamesAndTypes genNamesAndTypes(const ColumnInfos & column_infos, const StringRef
names_and_types.emplace_back(MutableSupport::extra_table_id_column_name, MutableSupport::extra_table_id_column_type);
break;
default:
names_and_types.emplace_back(fmt::format("{}_{}", column_prefix, i), getDataTypeByColumnInfoForComputingLayer(column_info));
names_and_types.emplace_back(column_info.name.empty() ? fmt::format("{}_{}", column_prefix, i) : column_info.name, getDataTypeByColumnInfoForComputingLayer(column_info));
}
}
return names_and_types;
Expand Down

0 comments on commit b40ccfc

Please sign in to comment.