Skip to content

Commit 5085474

Browse files
committed
improve ambiguous line
1 parent 0275e21 commit 5085474

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/bigquery/driver/conn.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ func prepareQuery(query string, args []driver.Value) (out string, err error) {
9090
query = strings.Replace(query, "?", fmt.Sprintf("FROM_BASE64('%s')", data64), 1)
9191
}
9292
default:
93-
log.DefaultLogger.Info(fmt.Sprintf("unknown type: %s", reflect.TypeOf(value).String()))
93+
log.DefaultLogger.Warn(fmt.Sprintf("Unknown query arg type: %s", reflect.TypeOf(value).String()))
9494
query = strings.Replace(query, "?", fmt.Sprintf("'%s'", value), 1)
9595
}
9696

0 commit comments

Comments
 (0)