[ https://issues.apache.org/jira/browse/HIVE-15056?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15607520#comment-15607520 ]
Hive QA commented on HIVE-15056: -------------------------------- Here are the results of testing the latest attachment: https://issues.apache.org/jira/secure/attachment/12835257/HIVE-15056.1.patch {color:green}SUCCESS:{color} +1 due to 1 test(s) being added or modified. {color:red}ERROR:{color} -1 due to 11 failed/errored test(s), 10622 tests executed *Failed tests:* {noformat} org.apache.hadoop.hive.cli.TestHBaseCliDriver.testCliDriver[hbase_bulk] (batchId=89) org.apache.hadoop.hive.ql.io.parquet.TestMapStructures.testDoubleMapWithStructValue (batchId=246) org.apache.hadoop.hive.ql.io.parquet.TestMapStructures.testMapWithComplexKey (batchId=246) org.apache.hadoop.hive.ql.io.parquet.TestMapStructures.testNestedMap (batchId=246) org.apache.hadoop.hive.ql.io.parquet.TestMapStructures.testStringMapOfOptionalArray (batchId=246) org.apache.hadoop.hive.ql.io.parquet.TestMapStructures.testStringMapOfOptionalIntArray (batchId=246) org.apache.hadoop.hive.ql.io.parquet.TestMapStructures.testStringMapOptionalPrimitive (batchId=246) org.apache.hadoop.hive.ql.io.parquet.TestMapStructures.testStringMapRequiredPrimitive (batchId=246) org.apache.hive.beeline.TestBeelineArgParsing.testAddLocalJarWithoutAddDriverClazz[0] (batchId=164) org.apache.hive.beeline.TestBeelineArgParsing.testAddLocalJar[0] (batchId=164) org.apache.hive.beeline.TestBeelineArgParsing.testAddLocalJar[1] (batchId=164) {noformat} Test results: https://builds.apache.org/job/PreCommit-HIVE-Build/1807/testReport Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/1807/console Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-1807/ 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: 11 tests failed {noformat} This message is automatically generated. ATTACHMENT ID: 12835257 - PreCommit-HIVE-Build > Support index shifting for struct fields > ---------------------------------------- > > Key: HIVE-15056 > URL: https://issues.apache.org/jira/browse/HIVE-15056 > Project: Hive > Issue Type: Sub-task > Components: File Formats, Physical Optimizer, > Serializers/Deserializers > Reporter: Chao Sun > Assignee: Chao Sun > Attachments: HIVE-15056.1.patch > > > In HIVE-13873, the following case doesn't work: > {code} > select s.c from tbl > {code} > where {{tbl}} is of schema: > {code} > a int > s struct<b:int,c:string> > {code} > This is because currently we generate a "pruned" schema (in terms of > {{GroupType}}) for Parquet reader to scan the data. However, on the Hive side > the object inspector still uses the original schema. In particular, in this > case for {{s.c}} the data returned by Parquet reader is in index 0, but the > object inspector tries to read it in index 1. Therefore, in correct result > will be returned. -- This message was sent by Atlassian JIRA (v6.3.4#6332)