-
Notifications
You must be signed in to change notification settings - Fork 372
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
Trino Queries not considering UI selected schema in query and failing with syntax error #3128
Comments
Anyone facing similar issue ? do we have any workaround for this ? |
@Harshg999 any suggestion this issue? |
Hi @sbbagal13, thanks for reporting this. Will take a look on this issue. |
This issue is stale because it has been open 30 days with no activity and is not labeled "Prevent stale". Remove "stale" label or comment or this will be closed in 10 days. |
This issue is stale because it has been open 30 days with no activity and is not labeled "Prevent stale". Remove "stale" label or comment or this will be closed in 10 days. |
@bjornalm could you keep this issue open |
Hey @sbbagal13, thanks for reporting this issue. We have created an internal roadmap item to improve Trino with SQLAlchemy as a whole and this will be scoped and pulled in subsequent releases. Stay tuned! |
Hello @sbbagal13, |
I found that there are several issues with Hue's support for trino connectors:
|
@2416210017 Thanks for pointing this out. Also any specific Trino side configurations you've added or is it a vanilla setup? |
Thank you for your reply!
In addition, our trino is enabled for LDAP authentication and HTTPS. The configuration file is as follows:
|
Hi @2416210017 , |
Of course not a problem, the following are the corresponding<config. properties>and nginx.conf (the frontend uses nginx to enable SSL proxy for the backend's trino server) in the corresponding trino.
|
Is the issue already present in https://github.com/cloudera/hue/issues or discussed in the forum https://discourse.gethue.com?
Nope
Describe the bug:
Below error when not specifying schema name even that is selected from UI
TrinoUserError(type=USER_ERROR, name=MISSING_SCHEMA_NAME, message="line 1:15: Schema must be specified when session schema is not set", query_id=20221215_173151_00229_mmkqb)
Steps to reproduce it?
select the schema from UI and then run any query on any table without specifying it in table. It should take default as UI selected but not working as expected
Select * from
Hue version or source? (e.g. open source 4.5, CDH 5.16, CDP 1.0...). System info (e.g. OS, Browser...).
4.10
The text was updated successfully, but these errors were encountered: