Skip to content

Commit 724e972

Browse files
committed
Update
1 parent 3dc8e26 commit 724e972

3 files changed

Lines changed: 8 additions & 6 deletions

File tree

velox/core/QueryConfig.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -370,7 +370,8 @@ class QueryConfig {
370370
"presto.array_agg.ignore_nulls";
371371

372372
/// If true, Spark function's behavior is ANSI-compliant, e.g. throws runtime
373-
/// exception instead of returning null on invalid inputs.
373+
/// exception instead of returning null on invalid inputs. It affects only
374+
/// functions explicitly marked as "ANSI compliant".
374375
/// Note: This feature is still under development to achieve full ANSI
375376
/// compliance. Users can refer to the Spark function documentation to verify
376377
/// the current support status of a specific function.

velox/docs/configs.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1000,7 +1000,7 @@ Spark-specific Configuration
10001000
- bool
10011001
- false
10021002
- If true, Spark function's behavior is ANSI-compliant, e.g. throws runtime exception instead
1003-
of returning null on invalid inputs.
1003+
of returning null on invalid inputs. It affects only functions explicitly marked as "ANSI compliant".
10041004
Note: This feature is still under development to achieve full ANSI compliance. Users can
10051005
refer to the Spark function documentation to verify the current support status of a specific
10061006
function.

velox/docs/spark_functions.rst

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,11 @@
22
Spark Functions
33
***********************
44

5-
The semantics of Spark functions align with Spark 3.5. In the function descriptions,
6-
a function is marked as *ANSI compliant* if it adheres to ANSI standard, subject to
7-
the ``spark.ansi_enabled`` configuration. Otherwise, it simply follows Spark's semantics
8-
in ANSI OFF mode.
5+
The semantics of Spark functions align with
6+
`Spark 3.5 <https://spark.apache.org/docs/3.5.0/api/sql/index.html>`_.
7+
In the function descriptions, a function is marked as *ANSI compliant*
8+
if it adheres to ANSI standard, subject to the :doc:`spark.ansi_enabled <configs>`
9+
configuration. Otherwise, it simply follows Spark's semantics in ANSI OFF mode.
910

1011
.. toctree::
1112
:maxdepth: 1

0 commit comments

Comments
 (0)