zeroshade commented on code in PR #1328:
URL: https://github.com/apache/arrow-adbc/pull/1328#discussion_r1414132288


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

Review Comment:
   At a minimum perhaps checking that the query is the right text. I don't 
think that there's a test in `driver_test.go` which verifies the case 
sensitivity though, which would be good to have.



-- 
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