Skip to content

feat: spark compatible float to timestamp cast with ANSI support#21212

Merged
alamb merged 5 commits intoapache:mainfrom
coderfender:df_spark_float_to_timestamp
Apr 3, 2026
Merged

feat: spark compatible float to timestamp cast with ANSI support#21212
alamb merged 5 commits intoapache:mainfrom
coderfender:df_spark_float_to_timestamp

Conversation

@coderfender
Copy link
Copy Markdown
Contributor

Which issue does this PR close?

  • Closes #.

Rationale for this change

What changes are included in this PR?

Are these changes tested?

Are there any user-facing changes?

@github-actions github-actions Bot added sqllogictest SQL Logic Tests (.slt) spark labels Mar 28, 2026
@coderfender
Copy link
Copy Markdown
Contributor Author

@martin-g , ready for your review whenever you get a chance

@coderfender coderfender changed the title feat: spark compatible float to timestamp cast feat: spark compatible float to timestamp cast with ANSI support Mar 28, 2026
Comment thread datafusion/spark/src/function/conversion/cast.rs Outdated
Comment thread datafusion/spark/src/function/conversion/cast.rs Outdated
Comment thread datafusion/spark/src/function/conversion/cast.rs Outdated
Comment thread datafusion/spark/src/function/conversion/cast.rs Outdated
Comment thread datafusion/spark/src/function/conversion/cast.rs Outdated
@coderfender
Copy link
Copy Markdown
Contributor Author

Thank you for the approval @martin-g . I think this is ready for review / merge @paleolimbot , @alamb

@alamb alamb enabled auto-merge April 3, 2026 21:15
@alamb
Copy link
Copy Markdown
Contributor

alamb commented Apr 3, 2026

Thanks @coderfender and @martin-g

@alamb alamb added this pull request to the merge queue Apr 3, 2026
Merged via the queue into apache:main with commit 0383a88 Apr 3, 2026
31 checks passed
Rich-T-kid pushed a commit to Rich-T-kid/datafusion that referenced this pull request Apr 21, 2026
…che#21212)

## Which issue does this PR close?

<!--
We generally require a GitHub issue to be filed for all bug fixes and
enhancements and this helps us generate change logs for our releases.
You can link an issue to this PR using the GitHub syntax. For example
`Closes apache#123` indicates that this PR will close issue apache#123.
-->

- Closes #.

## Rationale for this change

<!--
Why are you proposing this change? If this is already explained clearly
in the issue then this section is not needed.
Explaining clearly why changes are proposed helps reviewers understand
your changes and offer better suggestions for fixes.
-->

## What changes are included in this PR?

<!--
There is no need to duplicate the description in the issue here but it
is sometimes worth providing a summary of the individual changes in this
PR.
-->

## Are these changes tested?

<!--
We typically require tests for all PRs in order to:
1. Prevent the code from being accidentally broken by subsequent changes
2. Serve as another way to document the expected behavior of the code

If tests are not included in your PR, please explain why (for example,
are they covered by existing tests)?
-->

## Are there any user-facing changes?

<!--
If there are user-facing changes then we may require documentation to be
updated before approving the PR.
-->

<!--
If there are any breaking changes to public APIs, please add the `api
change` label.
-->

---------

Co-authored-by: Andrew Lamb <andrew@nerdnetworks.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

spark sqllogictest SQL Logic Tests (.slt)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants