-
Notifications
You must be signed in to change notification settings - Fork 14.1k
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
fix: allow adhoc columns in non-aggregate query #21729
Conversation
Codecov Report
@@ Coverage Diff @@
## master #21729 +/- ##
==========================================
+ Coverage 66.85% 66.86% +0.01%
==========================================
Files 1799 1799
Lines 68887 68906 +19
Branches 7320 7320
==========================================
+ Hits 46052 46072 +20
+ Misses 20946 20945 -1
Partials 1889 1889
Flags with carried forward coverage won't be shown. Click here to find out more.
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
leave a comment for code convention.
thanks for review, will update today. |
/testenv up |
@zhaoyongjie Ephemeral environment spinning up at http://54.188.110.15:8080. Credentials are |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks for review and testing ... |
@@ -119,6 +119,7 @@ | |||
from superset.superset_typing import ( | |||
AdhocColumn, | |||
AdhocMetric, | |||
Column as ColumnTyping, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@mayurnewase out of interest why did you rename this? There doesn't seem to be a name clash per your change.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@john-bodley there is import of Column from sqlalchemy on line 50.
I think this PR also needs to go in v1.5 as ville tagged corresponding issue for 1.5. |
I added the v1.5 label. Let's see if it merges cleanly. |
SUMMARY
fixes: #21689
regression from : #19454
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
TESTING INSTRUCTIONS
ADDITIONAL INFORMATION