2010YOUY01 commented on code in PR #22729:
URL: https://github.com/apache/datafusion/pull/22729#discussion_r3363091286


##########
datafusion/sqllogictest/test_files/information_schema.slt:
##########
@@ -370,6 +371,7 @@ datafusion.execution.batch_size 8192 Default batch size 
while creating new batch
 datafusion.execution.coalesce_batches true When set to true, record batches 
will be examined between each operator and small batches will be coalesced into 
larger batches. This is helpful when there are highly selective filters or 
joins that could produce tiny output batches. The target batch size is 
determined by the configuration setting
 datafusion.execution.collect_statistics true Should DataFusion collect 
statistics when first creating a table. Has no effect after the table is 
created. Applies to the default `ListingTableProvider` in DataFusion. Defaults 
to true.
 datafusion.execution.enable_ansi_mode false Whether to enable ANSI SQL mode. 
The flag is experimental and relevant only for DataFusion Spark built-in 
functions When `enable_ansi_mode` is set to `true`, the query engine follows 
ANSI SQL semantics for expressions, casting, and error handling. This means: - 
**Strict type coercion rules:** implicit casts between incompatible types are 
disallowed. - **Standard SQL arithmetic behavior:** operations such as division 
by zero,   numeric overflow, or invalid casts raise runtime errors rather than 
returning   `NULL` or adjusted values. - **Consistent ANSI behavior** for 
string concatenation, comparisons, and `NULL` handling. When `enable_ansi_mode` 
is `false` (the default), the engine uses a more permissive, non-ANSI mode 
designed for user convenience and backward compatibility. In this mode: - 
Implicit casts between types are allowed (e.g., string to integer when 
possible). - Arithmetic operations are more lenient — for example, `abs()` on 
 the minimum   representable integer value returns the input value instead of 
raising overflow. - Division by zero or invalid casts may return `NULL` instead 
of failing. # Default `false` — ANSI SQL mode is disabled by default.
+datafusion.execution.enable_migration_aggregate true Temporary switch for 
aggregate stream implementations that are being migrated from 
`GroupedHashAggregateStream`. When set to true, DataFusion tries the migrated 
implementations when their preconditions are satisfied. When set to false, 
grouped aggregation falls back to `GroupedHashAggregateStream`. This option 
will be removed after the migration is finished. See 
<https://github.com/apache/datafusion/issues/22710> for details.

Review Comment:
   Yes this is a good idea, I'll address it later.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to