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

Fix build with --no-default-features #1219

Merged
merged 2 commits into from
Nov 2, 2021

Conversation

alamb
Copy link
Contributor

@alamb alamb commented Nov 1, 2021

Which issue does this PR close?

Closes #1217

Rationale for this change

#1141 added an explicit dependence on lazy_static but lazy_static is feature flagged under regex_expressions at the moment (which is strange as it is already a transitive dependency -- see the output of cargo tree -i lazy_static --no-default-features

What changes are included in this PR?

  1. Fix lazy_static include
  2. Add check to CI for building without default features

Are there any user-facing changes?

Build is fixed

@alamb alamb requested a review from jimexist November 1, 2021 21:06
@github-actions github-actions bot added the datafusion Changes in the datafusion crate label Nov 1, 2021
@@ -64,6 +64,12 @@ jobs:
env:
CARGO_HOME: "/github/home/.cargo"
CARGO_TARGET_DIR: "/github/home/target"
- name: Check DataFusion Build without default features
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Copy link
Contributor Author

Choose a reason for hiding this comment

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

You can see it fail with the same symptoms reported on the bug: https://github.com/apache/arrow-datafusion/runs/4072959374?check_suite_focus=true#step:8:99

@alamb alamb merged commit 91b5469 into apache:master Nov 2, 2021
@houqp houqp added the bug Something isn't working label Nov 6, 2021
@alamb alamb deleted the alamb/fix-no-default-features branch August 8, 2023 20:11
andygrove pushed a commit to andygrove/datafusion that referenced this pull request Jan 31, 2025
…ing (apache#1219)

* extract math_funcs expressions to folders based on spark grouping

* fix merge conflicts and move chr to `string_funcs`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working datafusion Changes in the datafusion crate
Projects
None yet
Development

Successfully merging this pull request may close these issues.

DataFusion compilation error with --no-default-features
2 participants