hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hive QA (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-11476) TypeInfoParser cannot handle column names with spaces in them
Date Thu, 06 Aug 2015 23:18:04 GMT

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

Hive QA commented on HIVE-11476:
--------------------------------



{color:green}Overall{color}: +1 all checks pass

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

{color:green}SUCCESS:{color} +1 9326 tests passed

Test results: http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-TRUNK-Build/4850/testReport
Console output: http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-TRUNK-Build/4850/console
Test logs: http://ec2-174-129-184-35.compute-1.amazonaws.com/logs/PreCommit-HIVE-TRUNK-Build-4850/

Messages:
{noformat}
Executing org.apache.hive.ptest.execution.PrepPhase
Executing org.apache.hive.ptest.execution.ExecutionPhase
Executing org.apache.hive.ptest.execution.ReportingPhase
{noformat}

This message is automatically generated.

ATTACHMENT ID: 12748943 - PreCommit-HIVE-TRUNK-Build

> TypeInfoParser cannot handle column names with spaces in them
> -------------------------------------------------------------
>
>                 Key: HIVE-11476
>                 URL: https://issues.apache.org/jira/browse/HIVE-11476
>             Project: Hive
>          Issue Type: Bug
>          Components: Types
>    Affects Versions: 1.3.0, 2.0.0
>            Reporter: Gopal V
>            Assignee: Gopal V
>            Priority: Minor
>         Attachments: HIVE-11476.1.patch
>
>
> When using column names which contain escaped spaces in them like `user id`, the type
info parser is unable to parse out the structures which have a format similar to 
> struct<user id:int,user group: int>
> {code}
> java.lang.IllegalArgumentException: Error: : expected at the position 12 of '' but 'struct<user
id:int,user group: int>' is found.
>         at org.apache.hadoop.hive.serde2.typeinfo.TypeInfoUtils$TypeInfoParser.expect(TypeInfoUtils.java:360)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message