New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wrong statement to retreive metadata from HMS ? (LIKE instead of =) #7424
Comments
Does MYCAT, MYDB or MYTABLE contain underscores |
yes they contain underscores ! |
Can you share actual query that's getting issued to Trino? ie. youre seeing
and not
? |
here is the request issued to Trino SELECT TABLE_CAT, TABLE_SCHEM, TABLE_NAME, COLUMN_NAME, DATA_TYPE, |
The reason for this is incorrect use of JDBC API by the application.
the schema or table name should not be passed as is. Sadly, it seems Tableau Desktop doesn't do that, resulting in queries with disappointing performance. |
I will raise the issue to Tableau tomorrow. Tks a lot for your help. |
I think that is a reasonable idea. The downside is that that it takes down the pressure from reporting the root cause issue to misbehaving client application developers. But still given fact that we saw the problem many times already, I think it makes sense to add such a config option. |
See #7438 |
Hello,
When I try to connect to Presto from Tableau Desktop using a JDBC connection, Presto JDBC is running the following statement.
It is not efficient and raise the following exception in 30-40s
It seems to work in less than 200 ms when I rewrite the query swapping like by =
If someone can help ....
Tks and regards
Frederic
The text was updated successfully, but these errors were encountered: