Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
Signed-off-by: sevev <[email protected]>
  • Loading branch information
sevev committed Sep 3, 2024
1 parent e465a92 commit 77293e0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@ public static TOlapTableSchemaParam createSchema(long dbId, OlapTable table, Tup
tColumn.setColumn_name(column.getColumnId().getId());
column.setIndexFlag(tColumn, table.getIndexes(), table.getBfColumnIds());
columnsDesc.add(tColumn);
if (column.getDefaultExpr() != null) {
if (column.getDefaultExpr() != null && column.calculatedDefaultValue() != null) {
columnToExprValue.put(column.getColumnId().getId(), column.calculatedDefaultValue());
}
}
Expand Down

0 comments on commit 77293e0

Please sign in to comment.