Description
Please answer these questions before submitting your issue.
In order to accurately debug the issue this information is required. Thanks!
-
What version of JDBC driver are you using? 3.9.2
-
What operating system and processor architecture are you using? Windows
-
What version of Java are you using? 1.8
-
What did you do?
I have run the getColumns method multiple times with no success in filtering by a schema and table name resulting in long (up to 5 minutes) run time per call.
- What did you expect to see?
I have run the command multiple ways:
getColumns("DATABASE_NAME",'SCHEMA_NAME", "TABLE_NAME", "%")
When I look in the Query History in Snowflake I see:
show columns in database "DATABASE_NAME"
When I would expect to see:
show columns in database "DATABASE_NAME".'SCHEMA_NAME"."TABLE_NAME"."%"
I have tried the escape character solution(because _ can be a wildcard:
getColumns("DATABASE_NAME",'SCHEMA_NAME", "TABL\E_NAME", "%")
result SQL in Snowflake:
show columns in database "DATABASE_NAME"
Which resulted in a SQL failure saying that "DATABASE_NAME" does not exist
- Can you set logging to DEBUG and collect the logs?