File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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.
Original file line number Diff line number Diff 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.
Original file line number Diff line number Diff line change 22Spark 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
You can’t perform that action at this time.
0 commit comments