Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

core_expressions feature is broken in the datafusion-functions #15207

Open
alamb opened this issue Mar 13, 2025 · 4 comments · May be fixed by #15217
Open

core_expressions feature is broken in the datafusion-functions #15207

alamb opened this issue Mar 13, 2025 · 4 comments · May be fixed by #15217
Assignees
Labels
bug Something isn't working

Comments

@alamb
Copy link
Contributor

alamb commented Mar 13, 2025

Describe the bug

To Reproduce

cargo check --all-targets --no-default-features -p datafusion-functions --features=core_expressions
...
error[E0425]: cannot find function `overlay` in module `crate::string`
  --> datafusion/functions/src/core/planner.rs:63:52
   |
63 |             ScalarFunction::new_udf(crate::string::overlay(), args),
   |                                                    ^^^^^^^ not found in `crate::string`

Expected behavior

We shouldn't have a feature that doesn't work

I personally suggest removing the core_expressions feature flag entirely as they are basically required for planning most SQL

The overlay function maybe needs to be moved to core 🤔 (and leave a backwards compatibility use 🤔 )

Additional context

No response

@alamb alamb added the bug Something isn't working label Mar 13, 2025
@shruti2522
Copy link
Contributor

take

@Omega359
Copy link
Contributor

I had no clue that feature even existed :/

@alamb
Copy link
Contributor Author

alamb commented Mar 14, 2025

I had no clue that feature even existed :/

Me neither -- maybe we just cargo culted it 🤷

@Omega359
Copy link
Contributor

Me neither -- maybe we just cargo culted it 🤷

Wow, two new terms in one day. First was 'vibe coding' from a coworker, now 'cargo cult'. Still can teach old dogs new tricks it seems :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants