Skip to content

Intermittent build error when changing selected features #3366

@avantgardnerio

Description

@avantgardnerio

Describe the bug

Now that codegen has been moved into the proto/src/datafusion.rs file, that file can have two different sets of contents depending on whether or not the json feature is selected (which some CI build & test have each way). When the feature flags are changed, the contents aren't necessarily regenerated, causing intermittent build issues.

To Reproduce

Run a regular build, then try to run the extra-long cargo check command from CI:

cargo check --workspace --benches --features avro,jit,scheduler,json

Expected behavior

Builds always work.

Metadata

Metadata

Assignees

No one assigned

    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