From c55014f3ab01f833b230a690bee53dcbadbf99f1 Mon Sep 17 00:00:00 2001 From: Robin Tang Date: Wed, 18 Sep 2024 13:20:56 -0700 Subject: [PATCH] Ensure value is set. --- clients/shared/table_config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/shared/table_config.go b/clients/shared/table_config.go index 1543306d7..03698150b 100644 --- a/clients/shared/table_config.go +++ b/clients/shared/table_config.go @@ -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: