[
https://issues.apache.org/jira/browse/IMPALA-3644?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tim Armstrong resolved IMPALA-3644.
-----------------------------------
Resolution: Duplicate
> PlannerTest.java fails when run with Java 8
> -------------------------------------------
>
> Key: IMPALA-3644
> URL: https://issues.apache.org/jira/browse/IMPALA-3644
> Project: IMPALA
> Issue Type: Bug
> Components: Frontend
> Affects Versions: Impala 2.6.0
> Reporter: Lars Volker
> Assignee: Alexander Behm
> Priority: Minor
> Attachments: PlannerTest8.log, PlannerTestJava7.log,
> com.cloudera.impala.planner.PlannerTest.txt
>
>
> [~twmarshall] - I picked you a this looks like a predicate ordering issue,
> thinking you might have an idea what’s going on here; feel free to find
> another person or assign back to me if you're swamped.
> {{PlannerTest.java:178 - testTpchNested}} fails on my local machine with a
> mismatch in the returned plan. The lines in error are the following:
> Returned:
> {noformat}
> 01:SCAN HDFS [tpch_nested_parquet.customer c]
> partitions=1/1 files=4 size=577.87MB
> predicates: !empty(c.c_orders)
> * predicates on o: !empty(o.o_lineitems), o_orderstatus = 'F'
> predicates on l1: l1.l_receiptdate > l1.l_commitdate
> predicates on l3: l3.l_receiptdate > l3.l_commitdate
> {noformat}
> Expected:
> {noformat}
> 01:SCAN HDFS [tpch_nested_parquet.customer c]
> partitions=1/1 files=4 size=577.87MB
> predicates: !empty(c.c_orders)
> * predicates on o: o_orderstatus = 'F', !empty(o.o_lineitems)
> predicates on l1: l1.l_receiptdate > l1.l_commitdate
> predicates on l3: l3.l_receiptdate > l3.l_commitdate
> {noformat}
> It looks like the predicate order is reversed. I also noticed IMPALA-3643 on
> the same machine, which looks to me like it could be related to Java HashMap
> iterating over elements in an unexpected order on my machine/JVM. Could this
> also be the case here? I couldn't figure out where the order of the
> predicates is determined. There are multiple tests failing in
> {{PlannerTest.java}} for the same reason.
> My HEAD is at {{* 7167950 - Remove redundant test in
> test_avro_schema_resolution.py (3 days ago) <Alex Behm>}}.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)