[
https://issues.apache.org/jira/browse/HIVE-11401?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14648291#comment-14648291
]
Hive QA commented on HIVE-11401:
--------------------------------
{color:red}Overall{color}: -1 at least one tests failed
Here are the results of testing the latest attachment:
https://issues.apache.org/jira/secure/attachment/12748010/HIVE-11401.1.patch
{color:red}ERROR:{color} -1 due to 11 failed/errored test(s), 9278 tests
executed
*Failed tests:*
{noformat}
org.apache.hadoop.hive.ql.io.parquet.TestParquetRecordReaderWrapper.testBuilder
org.apache.hadoop.hive.ql.io.parquet.TestParquetRecordReaderWrapper.testBuilderComplexTypes
org.apache.hadoop.hive.ql.io.parquet.TestParquetRecordReaderWrapper.testBuilderComplexTypes2
org.apache.hadoop.hive.ql.io.parquet.TestParquetRecordReaderWrapper.testBuilderFloat
org.apache.hadoop.hive.ql.io.sarg.TestConvertAstToSearchArg.testExpression1
org.apache.hadoop.hive.ql.io.sarg.TestConvertAstToSearchArg.testExpression10
org.apache.hadoop.hive.ql.io.sarg.TestConvertAstToSearchArg.testExpression2
org.apache.hadoop.hive.ql.io.sarg.TestConvertAstToSearchArg.testExpression3
org.apache.hadoop.hive.ql.io.sarg.TestConvertAstToSearchArg.testExpression4
org.apache.hadoop.hive.ql.io.sarg.TestConvertAstToSearchArg.testExpression5
org.apache.hadoop.hive.ql.io.sarg.TestConvertAstToSearchArg.testExpression7
{noformat}
Test results:
http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-TRUNK-Build/4764/testReport
Console output:
http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-TRUNK-Build/4764/console
Test logs:
http://ec2-174-129-184-35.compute-1.amazonaws.com/logs/PreCommit-HIVE-TRUNK-Build-4764/
Messages:
{noformat}
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: 12748010 - PreCommit-HIVE-TRUNK-Build
> Predicate push down does not work with Parquet when partitions are in the
> expression
> ------------------------------------------------------------------------------------
>
> Key: HIVE-11401
> URL: https://issues.apache.org/jira/browse/HIVE-11401
> Project: Hive
> Issue Type: Bug
> Affects Versions: 1.2.0
> Reporter: Sergio Peña
> Assignee: Sergio Peña
> Attachments: HIVE-11401.1.patch
>
>
> When filtering Parquet tables using a partition column, the query fails
> saying the column does not exist:
> {noformat}
> hive> create table part1 (id int, content string) partitioned by (p string)
> stored as parquet;
> hive> alter table part1 add partition (p='p1');
> hive> insert into table part1 partition (p='p1') values (1, 'a'), (2, 'b');
> hive> select id from part1 where p='p1';
> Failed with exception java.io.IOException:java.lang.IllegalArgumentException:
> Column [p] was not found in schema!
> Time taken: 0.151 seconds
> {noformat}
> It is correct that the partition column is not part of the Parquet schema.
> So, the fix should be to remove such expression from the Parquet PPD.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)