Skip to content
This repository was archived by the owner on Nov 7, 2025. It is now read-only.

Commit 2deec42

Browse files
authored
Changing this sanity check from error to warning (#1407)
This PR is about lowering sanity check log message level to warning.
1 parent ad3cf0b commit 2deec42

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

platform/frontend_connectors/schema_array_transformer.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -164,9 +164,8 @@ func NewArrayTypeVisitor(resolver arrayTypeResolver) (exprVisitor model.ExprVisi
164164
visitor.OverrideVisitColumnRef = func(b *model.BaseExprVisitor, e model.ColumnRef) interface{} {
165165
dbType := resolver.dbColumnType(e.ColumnName)
166166
if strings.HasPrefix(dbType, "Array") {
167-
anyError = true
168167
// add context to log line below (already introduced in unmerged Krzysiek's PR)
169-
logger.ErrorWithReason("unhandled array column ref").Msgf("column '%v' ('%v')", e.ColumnName, dbType)
168+
logger.WarnWithReason("unhandled array column ref").Msgf("column '%v' ('%v')", e.ColumnName, dbType)
170169
}
171170
return e
172171
}

0 commit comments

Comments
 (0)