-
Notifications
You must be signed in to change notification settings - Fork 13.8k
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: time filter should be [start, end) #19166
fix: time filter should be [start, end) #19166
Conversation
Codecov Report
@@ Coverage Diff @@
## master #19166 +/- ##
=======================================
Coverage 66.55% 66.55%
=======================================
Files 1646 1646
Lines 63617 63617
Branches 6471 6471
=======================================
+ Hits 42339 42340 +1
+ Misses 19600 19599 -1
Partials 1678 1678
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
@@ -308,7 +308,7 @@ def get_time_filter( | |||
if start_dttm: | |||
l.append(col >= self.table.text(self.dttm_sql_literal(start_dttm))) | |||
if end_dttm: | |||
l.append(col <= self.table.text(self.dttm_sql_literal(end_dttm))) | |||
l.append(col < self.table.text(self.dttm_sql_literal(end_dttm))) |
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.
Yikes! Thanks @zhaoyongjie for catching this. This was exactly what SIP-15 was fixing.
🏷️ preset:2022.11 |
(cherry picked from commit e4c9a0d)
SUMMARY
This PR fixes a regression issue from the remove legacy SIP-15 interim logic/flags.
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
Before
After
TESTING INSTRUCTIONS
ADDITIONAL INFORMATION
SIP_15_*
logic/flags. This feature has been in flight for a number of years which is sufficient time for institutions to have upgraded. #18906