Skip to content

Spark 3.3: Add days transform function#6300

Merged
RussellSpitzer merged 1 commit into
apache:masterfrom
aokolnychyi:days-func
Nov 29, 2022
Merged

Spark 3.3: Add days transform function#6300
RussellSpitzer merged 1 commit into
apache:masterfrom
aokolnychyi:days-func

Conversation

@aokolnychyi

Copy link
Copy Markdown
Contributor

This PR adds days transform function to Spark 3.3.

@aokolnychyi

Copy link
Copy Markdown
Contributor Author

@github-actions github-actions Bot added the spark label Nov 28, 2022

@Override
public DataType resultType() {
return DataTypes.DateType;

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

The result type is Date to match what we do in core.

@RussellSpitzer RussellSpitzer merged commit ac5f6a0 into apache:master Nov 29, 2022
@aokolnychyi

Copy link
Copy Markdown
Contributor Author

Thanks for reviewing, @nastra @RussellSpitzer!

sunchao pushed a commit to sunchao/iceberg that referenced this pull request May 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants