You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Hive QA (JIRA)" <ji...@apache.org> on 2017/09/11 15:29:00 UTC

[jira] [Commented] (HIVE-14862) Problems handling escaped quotes within strings

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

Hive QA commented on HIVE-14862:
--------------------------------



Here are the results of testing the latest attachment:
https://issues.apache.org/jira/secure/attachment/12886410/HIVE-14862.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), 11034 tests executed
*Failed tests:*
{noformat}
TestAccumuloCliDriver - did not produce a TEST-*.xml file (likely timed out) (batchId=230)
TestDummy - did not produce a TEST-*.xml file (likely timed out) (batchId=230)
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[insert_values_orig_table_use_metadata] (batchId=61)
org.apache.hadoop.hive.cli.TestMiniTezCliDriver.testCliDriver[explainanalyze_2] (batchId=100)
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/6767/testReport
Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/6767/console
Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-6767/

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: 12886410 - PreCommit-HIVE-Build

> Problems handling escaped quotes within strings
> -----------------------------------------------
>
>                 Key: HIVE-14862
>                 URL: https://issues.apache.org/jira/browse/HIVE-14862
>             Project: Hive
>          Issue Type: Bug
>          Components: hpl/sql
>            Reporter: Maxim Glukhov
>            Assignee: Dmitry Tolpeko
>         Attachments: HIVE-14862.1.patch
>
>
> It seems that hpl/sql is not properly handling escaped quotes when it happens exactly at the string end. In example below, first command produces correct result, while second command produces invalid result:
> PRINT ''' ';
> PRINT '''';



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