-
Notifications
You must be signed in to change notification settings - Fork 14.4k
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
ES dataset will auto add default datetime column to sql though chart already has another datetime column as time column #22223
Comments
CC @lauderbaugh holler if you're willing to help repro/triage this one! |
I am also experiencing the bug with clickhouse. Superset: apache/superset:2.0.1 See where section on generated sql query WHERE created_at >= toDateTime('2022-12-01 00:00:00')
AND created_at < toDateTime('2023-01-01 00:00:00')
AND delivered_at >= '2022-12-01 00:00:00'
AND delivered_at < '2023-01-01 00:00:00' superset dataset |
I'm experiencing the same issue with Superset version 2.0.0 and Clickhouse |
Same issue with Superset 2.1.1 and Clickhouse database |
As I see - this is the time secondary column feature - https://github.com/apache/superset/blob/master/superset/db_engine_specs/README.md#time_secondary_columns--false. But, it can be disabled without changing the source code? |
Hello @rusackas @lauderbaugh! I can create PR for it |
A clear and concise description of what the bug is.
How to reproduce the bug
As contrast, if the dataset comes from mysql, it works as expected. So, I certainly confirm that's a bug.
Expected results
The SQL should be:
Actual results
Screenshots
If applicable, add screenshots to help explain your problem.
Environment
(please complete the following information):
k8s helm chart version: 0.7.7 app version: 1.0
3.8.13
N/A
Checklist
Make sure to follow these steps before submitting your issue - thank you!
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: