Skip to content

Conversation

@alamb
Copy link
Contributor

@alamb alamb commented Oct 24, 2025

Which issue does this PR close?

Rationale for this change

As we thread Field through more of the DataFusion APs, making it easy to convert back and forth
will be increasingly important. We added ScalarAndMetadata and I think it is a good idea to add
some helper methods to make it easy to create ScalarAndMetadata.

What changes are included in this PR?

Add some From impls that make conversions easier

Are these changes tested?

By CI

Are there any user-facing changes?

SOme new APIs

@github-actions github-actions bot added sql SQL Planner logical-expr Logical plan and expressions common Related to common crate labels Oct 24, 2025
Copy link
Member

@paleolimbot paleolimbot left a comment

Choose a reason for hiding this comment

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

Thank you!

@alamb alamb marked this pull request as ready for review October 24, 2025 18:40
Copy link
Contributor

@Jefffrey Jefffrey left a comment

Choose a reason for hiding this comment

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

Makes sense 👍

@comphead comphead added this pull request to the merge queue Oct 26, 2025
Merged via the queue into apache:main with commit 8142360 Oct 26, 2025
32 checks passed
@alamb alamb deleted the alamb/from_ompls branch October 26, 2025 11:49
@alamb
Copy link
Contributor Author

alamb commented Oct 26, 2025

Thank you for the reviews @Jefffrey and @paleolimbot

tobixdev pushed a commit to tobixdev/datafusion that referenced this pull request Nov 2, 2025
## Which issue does this PR close?

- Follow on to apache#17986 from
@paleolimbot

## Rationale for this change

As we thread Field through more of the DataFusion APs, making it easy to
convert back and forth
will be increasingly important. We added `ScalarAndMetadata` and I think
it is a good idea to add
some helper methods to make it easy to create `ScalarAndMetadata`.

## What changes are included in this PR?

Add some From impls that make conversions easier 

## Are these changes tested?

By CI
## Are there any user-facing changes?

SOme new APIs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

common Related to common crate logical-expr Logical plan and expressions sql SQL Planner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants