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: pinot select query logic #9954
Conversation
Codecov Report
@@ Coverage Diff @@
## master #9954 +/- ##
==========================================
+ Coverage 71.33% 71.36% +0.02%
==========================================
Files 585 585
Lines 30889 30885 -4
Branches 3237 3237
==========================================
+ Hits 22036 22040 +4
+ Misses 8744 8736 -8
Partials 109 109
Continue to review full report at Codecov.
|
Is this because it's been addressed in a newer version of Pinot? Do we not case about people on older versions? [Genuine questions] idk how the Pinot community distribution across versions is... |
Thanks for bring this up! In general, it won't change the behavior for old users as old pinot just ignores those fields, no matter the presence and always assume they are there. That's the reason we removed them to make query looks more like Pinot Style. This code change is for upgrade to use new Pinot Client Also if it's possible to know the pinotdb version, then we could potentially keep the old behavior for old users and only enable this for users with newer pinotdb version. |
I've also tested this code with both pinotdb 0.2.5 and 0.3.1, both worked. |
* Update how pinot handles selection logic * Change DATETIMECONVERT argument to use single quote for literals
SUMMARY
Update Pinot selection query logic.