chore: remove config lines to skip failed rules, as it is now default ()

pull/24376/head
Christopher M. Wolff 2023-05-19 15:27:57 -07:00 committed by GitHub
parent a53e2a43f2
commit c082ebac7d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 8 deletions
datafusion_util/src

View File

@ -22,14 +22,6 @@ pub fn iox_session_config() -> SessionConfig {
options.execution.parquet.reorder_filters = true;
options.optimizer.repartition_sorts = true;
// DataFusion skips failed optimizer rules by default. Relevant issues:
// - https://github.com/apache/arrow-datafusion/issues/4615
// - https://github.com/apache/arrow-datafusion/issues/4685
//
// However IOx should not skip them, since that will result in more helpful error messages
// when they fail, e.g., 'HandleGapFill`.
options.optimizer.skip_failed_rules = false;
SessionConfig::from(options)
.with_batch_size(BATCH_SIZE)
.with_create_default_catalog_and_schema(true)