Skip to content

Conversation

@alamb
Copy link
Contributor

@alamb alamb commented Jan 27, 2025

Which issue does this PR close?

Rationale for this change

@shehabgamin notes on #14008 (comment):

DataFusion
ValuesExec is now deprecated. The deprecation message is a bit confusing though. It currently states: "Use MemoryExec::try_new_as_values instead", but I think should say: "Use MemoryExec::try_new_as_values or MemoryExec::try_new_from_batches instead". Or, just simply: "Use MemoryExec instead".

What changes are included in this PR?

Improve documentation about deprecation and the suitable alternatives

Are these changes tested?

By CI

Are there any user-facing changes?

Only documentation, no functional change

@github-actions github-actions bot added the physical-expr Changes to the physical-expr crates label Jan 27, 2025
Copy link
Contributor

@shehabgamin shehabgamin left a comment

Choose a reason for hiding this comment

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

Much better!

Copy link
Member

@xudong963 xudong963 left a comment

Choose a reason for hiding this comment

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

clear

@xudong963 xudong963 merged commit 8d542ec into apache:main Jan 28, 2025
25 checks passed
@alamb alamb deleted the alamb/better_deprecatation_docs branch January 29, 2025 21:55
@alamb
Copy link
Contributor Author

alamb commented Jan 29, 2025

Thanks @xudong963 and @shehabgamin

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

Labels

physical-expr Changes to the physical-expr crates

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants