jduo commented on code in PR #1338:
URL: https://github.com/apache/arrow-adbc/pull/1338#discussion_r1416208161


##########
go/adbc/driver/snowflake/connection.go:
##########
@@ -281,11 +281,14 @@ func (c *cnxn) getObjectsDbSchemas(ctx context.Context, 
depth adbc.ObjectDepth,
        }
 
        conditions := make([]string, 0)
+       queryArgs := make([]interface{}, 0, 2)
        if catalog != nil && *catalog != "" {
-               conditions = append(conditions, ` CATALOG_NAME LIKE 
'`+*catalog+`'`)
+               conditions = append(conditions, ` CATALOG_NAME ILIKE ? `)

Review Comment:
   The PR comments should indicate that you're also making the conditions 
case-insensitive.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to