You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by ma...@apache.org on 2025/07/22 13:42:48 UTC
(spark) branch master updated (1c5908e84639 -> 75721ad9629e)
This is an automated email from the ASF dual-hosted git repository.
maxgekk pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/spark.git
from 1c5908e84639 [SPARK-50614][FOLLOW-UP] Fix bug where shredded timestamp values did not conform to the Parquet Variant Shredding spec
add 75721ad9629e [SPARK-52866][SQL] Add support for `try_to_date`
No new revisions were added by this update.
Summary of changes:
docs/sql-ref-ansi-compliance.md | 2 +
.../source/reference/pyspark.sql/functions.rst | 1 +
python/pyspark/sql/connect/functions/builtin.py | 10 ++++
python/pyspark/sql/functions/__init__.py | 1 +
python/pyspark/sql/functions/builtin.py | 64 +++++++++++++++++++++
python/pyspark/sql/tests/test_functions.py | 5 ++
.../scala/org/apache/spark/sql/functions.scala | 18 ++++++
.../sql/catalyst/analysis/FunctionRegistry.scala | 1 +
.../catalyst/expressions/datetimeExpressions.scala | 41 ++++++++++++-
.../apache/spark/sql/PlanGenerationTestSuite.scala | 8 +++
...ateadd.explain => function_try_to_date.explain} | 2 +-
...in => function_try_to_date_with_format.explain} | 2 +-
...tion_to_date.json => function_try_to_date.json} | 4 +-
...te.proto.bin => function_try_to_date.proto.bin} | Bin 485 -> 493 bytes
....json => function_try_to_date_with_format.json} | 6 +-
... => function_try_to_date_with_format.proto.bin} | Bin 695 -> 695 bytes
.../sql-functions/sql-expression-schema.md | 1 +
17 files changed, 158 insertions(+), 8 deletions(-)
copy sql/connect/common/src/test/resources/query-tests/explain-results/{function_dateadd.explain => function_try_to_date.explain} (52%)
copy sql/connect/common/src/test/resources/query-tests/explain-results/{function_to_date_with_format.explain => function_try_to_date_with_format.explain} (58%)
copy sql/connect/common/src/test/resources/query-tests/queries/{function_to_date.json => function_try_to_date.json} (95%)
copy sql/connect/common/src/test/resources/query-tests/queries/{function_to_date.proto.bin => function_try_to_date.proto.bin} (55%)
copy sql/connect/common/src/test/resources/query-tests/queries/{function_to_date_with_format.json => function_try_to_date_with_format.json} (94%)
copy sql/connect/common/src/test/resources/query-tests/queries/{function_date_format.proto.bin => function_try_to_date_with_format.proto.bin} (72%)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@spark.apache.org
For additional commands, e-mail: commits-help@spark.apache.org