Skip to content

Minor: Add comment explaining rationale to avoid dependencies on functions#20667

Open
alamb wants to merge 1 commit intoapache:mainfrom
alamb:alamb/please_dont_add_dependencies
Open

Minor: Add comment explaining rationale to avoid dependencies on functions#20667
alamb wants to merge 1 commit intoapache:mainfrom
alamb:alamb/please_dont_add_dependencies

Conversation

@alamb
Copy link
Contributor

@alamb alamb commented Mar 3, 2026

Which issue does this PR close?

  • Closes #.

Rationale for this change

Somewhat frequently PRs try and add a dependency (both codewise and logically) to datafusion-functions in the datafusion-optimizer crate

This then gets flagged during code review, which is somewhat frustrating probably for the submitter as they didn't know. This most recently happened here https://github.com/apache/datafusion/pull/20610/changes#r2877698578

Thus let's try and document that attempt in comments

What changes are included in this PR?

Add comments to the relevant Cargo.toml file

Are these changes tested?

N/A

Are there any user-facing changes?

No this is a development process change only

@github-actions github-actions bot added the optimizer Optimizer rules label Mar 3, 2026
@alamb alamb added the documentation Improvements or additions to documentation label Mar 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation optimizer Optimizer rules

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant