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

[Rust] [DataFusion] Implement extensible configuration mechanism #26973

Closed
asfimport opened this issue Dec 29, 2020 · 1 comment
Closed

[Rust] [DataFusion] Implement extensible configuration mechanism #26973

asfimport opened this issue Dec 29, 2020 · 1 comment

Comments

@asfimport
Copy link
Collaborator

We are getting to the point where there are multiple settings we could add to operators to fine-tune performance. Custom operators provided by crates that extend DataFusion may also need this capability.

I propose that we add support for key-value configuration options so that we don't need to plumb through each new configuration setting that we add.

For example. I am about to start on a "coalesce batches" operator and I would like a setting such as "coalesce.batch.size".

For built-in settings like this we can provide information such as documentation and default values and generate documentation from this.

For example, here is how Spark defines configs:

  val PARQUET_VECTORIZED_READER_ENABLED =
            buildConf("spark.sql.parquet.enableVectorizedReader")
              .doc("Enables vectorized parquet decoding.")
              .version("2.0.0")
              .booleanConf
              .createWithDefault(true) 

Reporter: Andy Grove / @andygrove
Assignee: Andy Grove / @andygrove

Note: This issue was originally created as ARROW-11059. Please see the migration documentation for further details.

@asfimport
Copy link
Collaborator Author

Andrew Lamb / @alamb:
Migrated to github: apache/datafusion#138

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants