[ 
https://issues.apache.org/jira/browse/HIVE-17025?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16145672#comment-16145672
 ] 

Hive QA commented on HIVE-17025:
--------------------------------



Here are the results of testing the latest attachment:
https://issues.apache.org/jira/secure/attachment/12884274/HIVE-17025.1.patch

{color:green}SUCCESS:{color} +1 due to 1 test(s) being added or modified.

{color:red}ERROR:{color} -1 due to 6 failed/errored test(s), 11015 tests 
executed
*Failed tests:*
{noformat}
TestTxnCommandsBase - did not produce a TEST-*.xml file (likely timed out) 
(batchId=280)
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[auto_sortmerge_join_2] 
(batchId=46)
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[insert_values_orig_table_use_metadata]
 (batchId=61)
org.apache.hadoop.hive.cli.TestMiniSparkOnYarnCliDriver.testCliDriver[spark_vectorized_dynamic_partition_pruning]
 (batchId=169)
org.apache.hadoop.hive.cli.TestPerfCliDriver.testCliDriver[query14] 
(batchId=234)
org.apache.hadoop.hive.cli.TestPerfCliDriver.testCliDriver[query23] 
(batchId=234)
{noformat}

Test results: https://builds.apache.org/job/PreCommit-HIVE-Build/6582/testReport
Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/6582/console
Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-6582/

Messages:
{noformat}
Executing org.apache.hive.ptest.execution.TestCheckPhase
Executing org.apache.hive.ptest.execution.PrepPhase
Executing org.apache.hive.ptest.execution.ExecutionPhase
Executing org.apache.hive.ptest.execution.ReportingPhase
Tests exited with: TestsFailedException: 6 tests failed
{noformat}

This message is automatically generated.

ATTACHMENT ID: 12884274 - PreCommit-HIVE-Build

> HPL/SQL: hplsql.conn.convert.hiveconn seems to default to false, contrary to 
> docs
> ---------------------------------------------------------------------------------
>
>                 Key: HIVE-17025
>                 URL: https://issues.apache.org/jira/browse/HIVE-17025
>             Project: Hive
>          Issue Type: Bug
>          Components: hpl/sql
>            Reporter: Carter Shanklin
>            Assignee: Dmitry Tolpeko
>             Fix For: 3.0.0
>
>         Attachments: HIVE-17025.1.patch
>
>
> This bug is part of a series of issues and surprising behavior I encountered 
> writing a reporting script that would aggregate values and give rows 
> different classifications based on an the aggregate. Addressing some or all 
> of these issues would make HPL/SQL more accessible to newcomers.
> Example from the docs is as follows:
> CREATE TABLE dept (
>   deptno NUMBER(2,0),
>   dname  NUMBER(14),
>   loc    VARCHAR2(13),
>   CONSTRAINT pk_dept PRIMARY KEY (deptno)
> );
> With this config:
> <configuration>
>   <property>
>     <name>hplsql.conn.default</name>
>     <value>hiveconn</value>
>   </property>
>   <property>
>     <name>hplsql.conn.hiveconn</name>
>     <value>org.apache.hive.jdbc.HiveDriver;jdbc:hive2://</value>
>   </property>
> </configuration>
> I get this error:
> Caused by: java.lang.RuntimeException: 
> org.apache.hadoop.hive.ql.parse.ParseException:line 2:9 cannot recognize 
> input near 'NUMBER' '(' '2' in column type
> With this config:
> <configuration>
>   <property>
>     <name>hplsql.conn.default</name>
>     <value>hiveconn</value>
>   </property>
>   <property>
>     <name>hplsql.conn.hiveconn</name>
>     <value>org.apache.hive.jdbc.HiveDriver;jdbc:hive2://</value>
>   </property>
>   <property>
>     <name>hplsql.conn.convert.hiveconn</name>
>     <value>true</value>
>   </property>
> </configuration>
> the example works.
> Version = 3.0.0-SNAPSHOT r71f52d8ad512904b3f2c4f04fe39a33f2834f1f2



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to