[
https://issues.apache.org/jira/browse/FLINK-16141?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17043263#comment-17043263
]
Robert Metzger commented on FLINK-16141:
----------------------------------------
Not sure if it is related, but I found this ticket when searching for
{{TableEnvHiveConnectorTest}}. I got the following test failures here:
https://dev.azure.com/rmetzger/Flink/_build/results?buildId=5473&view=logs&j=2a16b520-7a96-573c-edfb-f1a66b90edcf&t=29adce53-ab37-528a-c7a0-fa6702b05b5e
{code}
[ERROR] Tests run: 15, Failures: 1, Errors: 0, Skipped: 3, Time elapsed: 51.722
s <<< FAILURE! - in org.apache.flink.connectors.hive.TableEnvHiveConnectorTest
[ERROR] testViews(org.apache.flink.connectors.hive.TableEnvHiveConnectorTest)
Time elapsed: 3.274 s <<< FAILURE!
java.lang.AssertionError: Sql optimization: Assertion error: RelSubset
[rel#1070:Subset#21.BATCH_PHYSICAL.any.[0 ASC-nulls-first]] does not contain
its best RelNode [rel#1189:BatchExecSort.BATCH_PHYSICAL.hash[0]false.[0
ASC-nulls-first](input=RelSubset#1107,orderBy=key ASC)]
at
org.apache.flink.connectors.hive.TableEnvHiveConnectorTest.testViews(TableEnvHiveConnectorTest.java:505)
Caused by: java.lang.AssertionError: RelSubset
[rel#1070:Subset#21.BATCH_PHYSICAL.any.[0 ASC-nulls-first]] does not contain
its best RelNode [rel#1189:BatchExecSort.BATCH_PHYSICAL.hash[0]false.[0
ASC-nulls-first](input=RelSubset#1107,orderBy=key ASC)]
at
org.apache.flink.connectors.hive.TableEnvHiveConnectorTest.testViews(TableEnvHiveConnectorTest.java:505)
{code}
As well as
{code}
[ERROR] Tests run: 10, Failures: 1, Errors: 0, Skipped: 1, Time elapsed: 33.605
s <<< FAILURE! - in org.apache.flink.connectors.hive.HiveTableSourceTest
[ERROR]
testProjectionPushDown(org.apache.flink.connectors.hive.HiveTableSourceTest)
Time elapsed: 1.577 s <<< FAILURE!
java.lang.AssertionError: Sql optimization: Assertion error: rel
[rel#4123:BatchExecSort.BATCH_PHYSICAL.hash[0]true.[0
ASC-nulls-first](input=RelSubset#4122,orderBy=p1 ASC)] has lower cost
{2.2854877458921212E8 rows, 1.0778652121441809E10 cpu, 2.0E9 io,
1.522601311424648E8 network, 6.894845442213011E9 memory} than best cost
{2.475812909820202E8 rows, 1.298903194530267E10 cpu, 2.0E9 io,
3.045202622849296E8 network, 7.389690868426022E9 memory} of subset
[rel#4045:Subset#5.BATCH_PHYSICAL.hash[0]true.[0 ASC-nulls-first]]
at
org.apache.flink.connectors.hive.HiveTableSourceTest.testProjectionPushDown(HiveTableSourceTest.java:339)
Caused by: java.lang.AssertionError: rel
[rel#4123:BatchExecSort.BATCH_PHYSICAL.hash[0]true.[0
ASC-nulls-first](input=RelSubset#4122,orderBy=p1 ASC)] has lower cost
{2.2854877458921212E8 rows, 1.0778652121441809E10 cpu, 2.0E9 io,
1.522601311424648E8 network, 6.894845442213011E9 memory} than best cost
{2.475812909820202E8 rows, 1.298903194530267E10 cpu, 2.0E9 io,
3.045202622849296E8 network, 7.389690868426022E9 memory} of subset
[rel#4045:Subset#5.BATCH_PHYSICAL.hash[0]true.[0 ASC-nulls-first]]
at
org.apache.flink.connectors.hive.HiveTableSourceTest.testProjectionPushDown(HiveTableSourceTest.java:339)
{code}
Are they related to this? If not, I can also file a separate ticket.
> HiveTableSourceTest unstable
> ----------------------------
>
> Key: FLINK-16141
> URL: https://issues.apache.org/jira/browse/FLINK-16141
> Project: Flink
> Issue Type: Bug
> Components: Connectors / Hive
> Affects Versions: 1.10.0
> Reporter: Stephan Ewen
> Priority: Blocker
> Fix For: 1.11.0
>
>
> The test fails with various exceptions.
> See https://api.travis-ci.org/v3/job/651866181/log.txt
--
This message was sent by Atlassian Jira
(v8.3.4#803005)