davidhcoe commented on code in PR #1207:
URL: https://github.com/apache/arrow-adbc/pull/1207#discussion_r1367475116
##########
go/adbc/driver/snowflake/connection.go:
##########
@@ -326,7 +326,7 @@ func (c *cnxn) getObjectsDbSchemas(ctx context.Context,
depth adbc.ObjectDepth,
IF (counter > 0) THEN
statement := statement || ' UNION ALL ';
END IF;
- statement := statement || ' SELECT
CATALOG_NAME, SCHEMA_NAME FROM ' || rec.database_name ||
'.INFORMATION_SCHEMA.SCHEMATA';
+ statement := statement || ' SELECT
CATALOG_NAME, SCHEMA_NAME FROM "' || rec.database_name ||
'".INFORMATION_SCHEMA.SCHEMATA';
Review Comment:
Not per
https://docs.snowflake.com/en/sql-reference/identifiers-syntax#double-quoted-identifiers,
but the quotes does make them case-sensitive.
--
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]