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

Arvind Prabhakar commented on HIVE-1432:
----------------------------------------

Adding the test case to exercise the fix for HIVE-1271. This test was run 
manually on trunk revision prior to commit of HIVE-1271 and produced the 
following error:

{noformat}
2010-07-02 17:13:05,085 DEBUG lazy.LazySimpleSerDe 
(LazySimpleSerDe.java:initialize(212)) - LazySimpleSerDe initialized
 with: columnNames=[info] columnTypes=[struct<keyData:string,valueData:string>] 
separator=...@dbf2988] nullstring=\N 
lastColumnTakesRest=false
2010-07-02 17:13:05,089 ERROR ql.Driver (SessionState.java:printError(277)) - 
FAILED: Error in semantic analysis: line 4:23 
Cannot insert into target table because column number/types are different 
table2: Cannot convert column 0 from 
struct<keyData:string,valueData:string> to 
struct<keydata:string,valuedata:string>.
org.apache.hadoop.hive.ql.parse.SemanticException: line 4:23 Cannot insert into 
target table because column number/types are 
different table2: Cannot convert column 0 from 
struct<keyData:string,valueData:string> to 
struct<keydata:string,valuedata:string>.
        at 
org.apache.hadoop.hive.ql.parse.SemanticAnalyzer.genConversionSelectOperator(SemanticAnalyzer.java:3573)
        at 
org.apache.hadoop.hive.ql.parse.SemanticAnalyzer.genFileSinkPlan(SemanticAnalyzer.java:3434)

{noformat}

This test passes on the current trunk.

> Create a test case for case sensitive comparison done during field comparison
> -----------------------------------------------------------------------------
>
>                 Key: HIVE-1432
>                 URL: https://issues.apache.org/jira/browse/HIVE-1432
>             Project: Hadoop Hive
>          Issue Type: Task
>          Components: Query Processor
>            Reporter: Arvind Prabhakar
>            Assignee: Arvind Prabhakar
>             Fix For: 0.6.0
>
>         Attachments: HIVE-1432.patch
>
>
> See HIVE-1271. This jira tracks the creation of a test case to test this fix 
> specifically.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to