Skip to content

core_expressions feature is broken in the datafusion-functions #15207

Open
@alamb

Description

@alamb

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

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions