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 837248a [MINOR][DOC] Fix documentation for structured streaming -
addListener
add 3a7eafd [SPARK-38195][SQL] Add the `TIMESTAMPADD()` function
No new revisions were added by this update.
Summary of changes:
docs/sql-ref-ansi-compliance.md | 1 +
.../apache/spark/sql/catalyst/parser/SqlBase.g4 | 4 ++
.../sql/catalyst/analysis/FunctionRegistry.scala | 1 +
.../catalyst/expressions/datetimeExpressions.scala | 84 ++++++++++++++++++++++
.../spark/sql/catalyst/parser/AstBuilder.scala | 11 +++
.../spark/sql/catalyst/util/DateTimeUtils.scala | 36 ++++++++++
.../spark/sql/errors/QueryExecutionErrors.scala | 6 ++
.../expressions/DateExpressionsSuite.scala | 62 ++++++++++++++++
.../sql/catalyst/util/DateTimeUtilsSuite.scala | 36 +++++++++-
.../sql-functions/sql-expression-schema.md | 3 +-
.../test/resources/sql-tests/inputs/timestamp.sql | 6 ++
.../sql-tests/results/ansi/timestamp.sql.out | 34 ++++++++-
.../sql-tests/results/datetime-legacy.sql.out | 34 ++++++++-
.../resources/sql-tests/results/timestamp.sql.out | 34 ++++++++-
.../results/timestampNTZ/timestamp-ansi.sql.out | 34 ++++++++-
.../results/timestampNTZ/timestamp.sql.out | 34 ++++++++-
.../sql/errors/QueryExecutionErrorsSuite.scala | 12 +++-
17 files changed, 424 insertions(+), 8 deletions(-)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]