You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by we...@apache.org on 2019/11/18 07:43:20 UTC
[spark] branch master updated (7391237 -> 5cebe58)
This is an automated email from the ASF dual-hosted git repository.
wenchen pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/spark.git.
from 7391237 [SPARK-29020][SQL] Improving array_sort behaviour
add 5cebe58 [SPARK-29783][SQL] Support SQL Standard/ISO_8601 output style for interval type
No new revisions were added by this update.
Summary of changes:
.../spark/unsafe/types/CalendarInterval.java | 36 +------
.../spark/unsafe/types/CalendarIntervalSuite.java | 30 ------
.../spark/sql/catalyst/expressions/Cast.scala | 18 ++++
.../spark/sql/catalyst/expressions/literals.scala | 1 +
.../spark/sql/catalyst/json/JacksonGenerator.scala | 11 ++-
.../spark/sql/catalyst/util/IntervalUtils.scala | 106 +++++++++++++++++++++
.../org/apache/spark/sql/internal/SQLConf.scala | 19 ++++
.../sql/catalyst/util/IntervalUtilsSuite.scala | 64 +++++++++++++
.../apache/spark/sql/execution/HiveResult.scala | 16 +++-
.../sql-tests/inputs/interval-display-iso_8601.sql | 3 +
.../inputs/interval-display-sql_standard.sql | 3 +
.../sql-tests/inputs/interval-display.sql | 14 +++
.../sql-tests/inputs/postgreSQL/interval.sql | 10 +-
.../results/interval-display-iso_8601.sql.out | 21 ++++
.../results/interval-display-sql_standard.sql.out | 21 ++++
.../sql-tests/results/interval-display.sql.out | 21 ++++
.../sql-tests/results/postgreSQL/interval.sql.out | 29 +++++-
.../org/apache/spark/sql/DateFunctionsSuite.scala | 10 +-
.../thriftserver/ThriftServerQueryTestSuite.scala | 5 +-
19 files changed, 361 insertions(+), 77 deletions(-)
create mode 100644 sql/core/src/test/resources/sql-tests/inputs/interval-display-iso_8601.sql
create mode 100644 sql/core/src/test/resources/sql-tests/inputs/interval-display-sql_standard.sql
create mode 100644 sql/core/src/test/resources/sql-tests/inputs/interval-display.sql
create mode 100644 sql/core/src/test/resources/sql-tests/results/interval-display-iso_8601.sql.out
create mode 100644 sql/core/src/test/resources/sql-tests/results/interval-display-sql_standard.sql.out
create mode 100644 sql/core/src/test/resources/sql-tests/results/interval-display.sql.out
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@spark.apache.org
For additional commands, e-mail: commits-help@spark.apache.org