Skip to content

Commit

Permalink
[BugFix] default current_timestamp broken after update to 3.3.2 from …
Browse files Browse the repository at this point in the history
…3.2.10 (#50911)

Signed-off-by: Rohit Satardekar <[email protected]>
(cherry picked from commit 3f73bd0)
  • Loading branch information
rohitrs1983 authored and mergify[bot] committed Sep 20, 2024
1 parent 80ef3ea commit 93a3314
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ private void inferOutputSchemaForPartialUpdate(InsertStmt insertStmt) {
legalGeneratedColumnDependencies.add(columnName);
continue;
}
if (column.isAutoIncrement()) {
if (column.isAutoIncrement() || column.getDefaultExpr() != null) {
if (baseSchemaNames.contains(columnName)) {
outputBaseSchema.add(column);
}
Expand Down

0 comments on commit 93a3314

Please sign in to comment.