File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -363,9 +363,11 @@ class QueryConfig {
363363 static constexpr const char * kPrestoArrayAggIgnoreNulls =
364364 " presto.array_agg.ignore_nulls" ;
365365
366- // / If true, Velox will use an ANSI-compliant dialect. For example, Velox will
367- // / throw a runtime exception instead of returning null results when the
368- // / inputs to a SQL operator or function are invalid.
366+ // / If true, Spark function's behavior is ANSI-compliant, e.g. throws runtime
367+ // / exception instead of returning null on invalid inputs.
368+ // / Note: This feature is still under development to achieve full ANSI
369+ // / compliance. Users can refer to the Spark function documentation to verify
370+ // / the current support status of a specific function.
369371 static constexpr const char * kSparkAnsiEnabled = " spark.ansi_enabled" ;
370372
371373 // / The default number of expected items for the bloomfilter.
Original file line number Diff line number Diff line change @@ -980,8 +980,11 @@ Spark-specific Configuration
980980 * - spark.ansi_enabled
981981 - bool
982982 - false
983- - If true, Velox will use an ANSI-compliant dialect. For example, Velox will throw a runtime exception instead of
984- returning null results when the inputs to a SQL operator or function are invalid.
983+ - If true, Spark function's behavior is ANSI-compliant, e.g. throws runtime exception instead
984+ of returning null on invalid inputs.
985+ Note: This feature is still under development to achieve full ANSI compliance. Users can
986+ refer to the Spark function documentation to verify the current support status of a specific
987+ function.
985988 * - spark.legacy_size_of_null
986989 - bool
987990 - true
You can’t perform that action at this time.
0 commit comments