Skip to content

Commit

Permalink
Ensure value is set.
Browse files Browse the repository at this point in the history
  • Loading branch information
Tang8330 committed Sep 18, 2024
1 parent a48b27d commit c55014f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clients/shared/table_config.go
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ func (g GetTableCfgArgs) GetTableConfig() (*types.DwhTableConfig, error) {
col.SetBackfilled(_colComment.Backfilled)
}
case sql.Native:
if _, isOk := row["default_value"]; isOk {
if value, isOk := row["default_value"]; isOk && value != "" {
col.SetBackfilled(true)
}
default:
Expand Down

0 comments on commit c55014f

Please sign in to comment.