Skip to content
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

Support predictors on ANSI day time interval type #4946

Merged
merged 8 commits into from
Mar 16, 2022

Conversation

res-life
Copy link
Collaborator

@res-life res-life commented Mar 14, 2022

Fixes #4945
Closes #4149

  1. Support predictors on ANSI day time interval type
    IsNull, IsNotNull, EqualNullSafe, EqualTo, GreaterThan, GreaterThanOrEqual, LessThan, LessThanOrEqual, FilterExec

  2. Add test for pushdown ANSI interval type.
    No need to change code, only need to add a test case.
    Parquet stores day-time interval as long and the statistics on day-time interval are values of max(long) and min(long).
    ParquetFilters.createFilter already converts filters on day-time to filters on long.

  3. Add converter from ANSI day time literal to scalar

Signed-off-by: Chong Gao res_life@163.com

Signed-off-by: Chong Gao <res_life@163.com>
@res-life
Copy link
Collaborator Author

build

@res-life
Copy link
Collaborator Author

build

@res-life
Copy link
Collaborator Author

build

@res-life
Copy link
Collaborator Author

build

@res-life
Copy link
Collaborator Author

build

@sameerz sameerz added the audit_3.3.0 Audit related tasks for 3.3.0 label Mar 15, 2022
@sameerz sameerz added this to the Feb 28 - Mar 18 milestone Mar 15, 2022
@res-life
Copy link
Collaborator Author

@revans2 Help to review

revans2
revans2 previously approved these changes Mar 15, 2022
Copy link
Collaborator

@revans2 revans2 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just curious about the one test.

@res-life
Copy link
Collaborator Author

build

@res-life
Copy link
Collaborator Author

build

@revans2 revans2 merged commit 410e42b into NVIDIA:branch-22.04 Mar 16, 2022
@res-life res-life deleted the pushdown-interval branch April 16, 2022 00:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
audit_3.3.0 Audit related tasks for 3.3.0
Projects
None yet
3 participants