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

Fix IntervalSuite cases failure #5539

Merged
merged 2 commits into from
May 20, 2022

Conversation

res-life
Copy link
Collaborator

Fixes #5497

  • Update checkSchemaCompat for year-month and day-time interval types
  • Enable previously failed cases

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

Copy link
Collaborator

@sperlingxx sperlingxx left a comment

Choose a reason for hiding this comment

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

LGTM

case PrimitiveTypeName.INT32 =>
if (dt == DataTypes.IntegerType || canReadAsIntDecimal(pt, dt)) {
if (dt == DataTypes.IntegerType || GpuTypeShims.isSupportedYearMonthType(dt)
Copy link
Collaborator

Choose a reason for hiding this comment

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

nit: Perhaps it is better to add extra if stmt for these two new types, so as to follow the code style of spark: https://github.com/apache/spark/blob/master/sql/core/src/main/java/org/apache/spark/sql/execution/datasources/parquet/ParquetVectorUpdaterFactory.java#L128

@sameerz sameerz added the bug Something isn't working label May 20, 2022
@res-life res-life merged commit 29940af into NVIDIA:branch-22.06 May 20, 2022
@res-life res-life deleted the fix-IntervalSuite-cases branch May 20, 2022 10:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] 3 tests in IntervalSuite are faling on 330
3 participants