You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by ya...@apache.org on 2019/09/06 14:36:30 UTC

[spark] branch master updated (905b7f7 -> 67b4329)

This is an automated email from the ASF dual-hosted git repository.

yamamuro pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/spark.git.


    from 905b7f7  [SPARK-28967][CORE] Include cloned version of "properties" to avoid ConcurrentModificationException
     add 67b4329  [SPARK-28690][SQL] Add `date_part` function for timestamps/dates

No new revisions were added by this update.

Summary of changes:
 .../sql/catalyst/analysis/FunctionRegistry.scala   |   1 +
 .../catalyst/expressions/datetimeExpressions.scala |  87 +++++
 .../spark/sql/catalyst/parser/AstBuilder.scala     |  48 +--
 .../test/resources/sql-tests/inputs/date_part.sql  |  68 ++++
 .../resources/sql-tests/inputs/pgSQL/timestamp.sql |  31 +-
 .../resources/sql-tests/results/date_part.sql.out  | 412 +++++++++++++++++++++
 .../resources/sql-tests/results/extract.sql.out    | 126 +++----
 .../resources/sql-tests/results/pgSQL/date.sql.out |  52 +--
 .../sql-tests/results/pgSQL/timestamp.sql.out      |  55 ++-
 9 files changed, 727 insertions(+), 153 deletions(-)
 create mode 100644 sql/core/src/test/resources/sql-tests/inputs/date_part.sql
 create mode 100644 sql/core/src/test/resources/sql-tests/results/date_part.sql.out


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@spark.apache.org
For additional commands, e-mail: commits-help@spark.apache.org