[
https://issues.apache.org/jira/browse/HIVE-21576?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16834157#comment-16834157
]
Hive QA commented on HIVE-21576:
--------------------------------
Here are the results of testing the latest attachment:
https://issues.apache.org/jira/secure/attachment/12967936/HIVE-21576.2.patch
{color:green}SUCCESS:{color} +1 due to 13 test(s) being added or modified.
{color:red}ERROR:{color} -1 due to 12 failed/errored test(s), 16004 tests
executed
*Failed tests:*
{noformat}
org.apache.hadoop.hive.cli.TestBeeLineDriver.testCliDriver[udf_unix_timestamp]
(batchId=285)
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[sql_formats] (batchId=82)
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[udf_add_months]
(batchId=69)
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[udf_date_format]
(batchId=63)
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[udf_from_unixtime]
(batchId=73)
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[udf_string] (batchId=12)
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[udf_to_unix_timestamp]
(batchId=61)
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[udf_unix_timestamp]
(batchId=15)
org.apache.hadoop.hive.ql.udf.generic.TestGenericUDFCastWithFormat.testDateToStringWithFormat
(batchId=304)
org.apache.hadoop.hive.ql.udf.generic.TestGenericUDFCastWithFormat.testStringToDateWithFormat
(batchId=304)
org.apache.hadoop.hive.ql.udf.generic.TestGenericUDFCastWithFormat.testTimestampTZToStringWithFormat
(batchId=304)
org.apache.hadoop.hive.ql.udf.generic.TestGenericUDFCastWithFormat.testTimestampToStringWithFormat
(batchId=304)
{noformat}
Test results:
https://builds.apache.org/job/PreCommit-HIVE-Build/17137/testReport
Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/17137/console
Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-17137/
Messages:
{noformat}
Executing org.apache.hive.ptest.execution.TestCheckPhase
Executing org.apache.hive.ptest.execution.PrepPhase
Executing org.apache.hive.ptest.execution.YetusPhase
Executing org.apache.hive.ptest.execution.ExecutionPhase
Executing org.apache.hive.ptest.execution.ReportingPhase
Tests exited with: TestsFailedException: 12 tests failed
{noformat}
This message is automatically generated.
ATTACHMENT ID: 12967936 - PreCommit-HIVE-Build
> Introduce CAST...FORMAT and limited list of SQL:2016 datetime formats
> ---------------------------------------------------------------------
>
> Key: HIVE-21576
> URL: https://issues.apache.org/jira/browse/HIVE-21576
> Project: Hive
> Issue Type: Improvement
> Reporter: Karen Coppage
> Assignee: Karen Coppage
> Priority: Major
> Attachments: HIVE-21576.01.patch, HIVE-21576.2.patch
>
>
> Introduce FORMAT clause to CAST statements as well as the below limited list
> of SQL:2016 datetime formats to Hive in general. These can be used if a
> session-level feature flag is turned on.
> * YYYY
> * MM
> * DD
> * HH
> * MI
> * SS
> Definitions of these formats here:
> [https://docs.google.com/document/d/1V7k6-lrPGW7_uhqM-FhKl3QsxwCRy69v2KIxPsGjc1k/|https://docs.google.com/document/d/1V7k6-lrPGW7_uhqM-FhKl3QsxwCRy69v2KIxPsGjc1k/edit]
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)