-
Notifications
You must be signed in to change notification settings - Fork 13.9k
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: Enable explore button on SQL Lab view when connected to Apache Pinot as a database #28364
Conversation
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.
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.
@soumitra-st thanks for the change. Per here it seems like the current version of the DB-API only supports Pinto version 0.9.3 (I'm not sure if this is a single version or a limit bound) and thus I don't think we can merge this.
Additionally this change would be deemed breaking for anyone using an older version of Pinot and thus cannot be merged (as is) until the breaking window for 5.0 opens.
In the interim you can locally override your version of the PinotEngineSpec
to include the relevant settings.
Thanks @john-bodley for your comments. IMO, the PR is fixing a bug not breaking existing functionality. Wondering why is it a breaking change? I tested the changes using |
@john-bodley I checked internally, the latest pinotdb module supports Pinot version 1.1.0, and we have merged the PR to update the version here. |
Running CI 🤞 Please feel free to open a commit adding your org to our In the Wild page if you want to get a trivial PR under your belt and remove the need to manually trigger CI on every change. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #28364 +/- ##
===========================================
+ Coverage 60.48% 83.69% +23.21%
===========================================
Files 1931 518 -1413
Lines 76236 37642 -38594
Branches 8568 0 -8568
===========================================
- Hits 46114 31506 -14608
+ Misses 28017 6136 -21881
+ Partials 2105 0 -2105
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
@john-bodley , shall we merge this PR as it is? If not, what is the timeline for 5.0 release? |
Latest pinotdb version: 5.3.0 supports newer version of Pinot. |
Does pinotdb 5.3.0 support earlier versions of pinot than 1.1.0? If so then it seems like this would not be a breaking change and could be merged now in my opinion. Even if not, I expect this is worthwhile to merge at 5.0.0 and pinot users would need to update their pinot version along with the Superset upgrade. |
Correct, this is not a breaking change. New client library supports both old (<1.0.0) and new (>=1.0.0) query endpoints/protocols. |
…inot as a database (#28364)
Older versions of Pinot did not support subquery, hence the explore view on SQL Lab was disabled. Apache Pinot 1.0 added support for subquery, join, etc. in multi-stage query engine, so this PR enables the explore button.
Create chart button is disabled before the fix
Create chart button is enabled after the fix
Query in explore view
Query with alias in SQL Lab
Query with alias in explore
ADDITIONAL INFORMATION
Fixes #13623 issue