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

[VL] Support date type in window range frame #6651

Closed
wants to merge 1 commit into from

Conversation

JkSelf
Copy link
Contributor

@JkSelf JkSelf commented Jul 31, 2024

What changes were proposed in this pull request?

Follow up #6637. In order to enable support for the date type within the window range frame, it is necessary to incorporate the date type into the Spark codebase, specifically within the AbstractDataType.scala file located at here. To achieve this, we have added the AbstractDataType file to the shim folder.

How was this patch tested?

Adding new tests.

Copy link

Thanks for opening a pull request!

Could you open an issue for this pull request on Github Issues?

https://github.com/apache/incubator-gluten/issues

Then could you also rename commit message and pull request title in the following format?

[GLUTEN-${ISSUES_ID}][COMPONENT]feat/fix: ${detailed message}

See also:

Copy link

Run Gluten Clickhouse CI


/** Types that include numeric types and ANSI interval types. */
val NumericAndAnsiInterval =
TypeCollection(NumericType, DayTimeIntervalType, YearMonthIntervalType, DateType)
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Add the DateType in NumericAndAnsiInterval.

Copy link
Contributor

Choose a reason for hiding this comment

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

I think rewrite AbstractDataType is not a good idea. The first point is unstable because there may be class loading order problems. The second point may affect the results of other uses of this method. I used the method of rewrite orderSpec in #6653. What do you think?

@JkSelf
Copy link
Contributor Author

JkSelf commented Jul 31, 2024

@zml1206 Thanks for your fix in #6653. I will close this pr.

@JkSelf JkSelf closed this Jul 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants