-
Notifications
You must be signed in to change notification settings - Fork 14.6k
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
Charts built off Snowflake only support uppercase metric labels #7219
Comments
I'm also faced with the same issue. I got the error message like this |
Snowflake returns all column names as upper case. If you run queries in the Snowflake web portal or on a console, they all return upper case columns. |
Imho Snowflake should be able to deal with any column name, as long as it is quoted. |
@rumbin Did you try running a query with quoted columns in Snowflake? From what I remember, Snowflake does not keep the casing of names in quotes |
@yuguang I have never worked with Snowflake. However, my suggestion is based on the docs: https://docs.snowflake.net/manuals/sql-reference/identifiers-syntax.html [...] |
@rumbin I tried to rename columns by lowering the column names and putting double quotes |
@yuyuhan0306 Try adding |
I added the parameter to the engine_params of the Snowflake configuration, which worked well for a table view. However, when I try to graph a time series - line chart, I still got the |
@yuyuhan0306 Which branch are you on? If you are not on master, you will need this pull request: #7147 |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. For admin, please label this issue |
Make sure these boxes are checked before submitting your issue - thank you!
Superset version
0.31.1
Expected results
Chart should render without error when metric is given a non-uppercase label.
Actual results
Chart fails to render when metric is given a non-uppercase label.
Stacktrace is as follows:
Steps to reproduce
Query
>Metrics
in the chart UI.my label
.The text was updated successfully, but these errors were encountered: