Bowen Li created FLINK-13175:
--------------------------------
Summary: FLINK-12951 breaks SQL CLI's ExecutionContextTest
Key: FLINK-13175
URL:
https://issues.apache.org/jira/browse/FLINK-13175 Project: Flink
Issue Type: Bug
Components: Table SQL / Client
Affects Versions: 1.9.0
Reporter: Bowen Li
Assignee: Danny Chan
Fix For: 1.9.0
https://github.com/apache/flink/pull/8844 breaks SQL CLI's ExecutionContextTest
Errors from it's CI in
https://travis-ci.com/flink-ci/flink/jobs/214370966{code:java}
14:23:25.985 [ERROR] Tests run: 6, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 19.518 s <<< FAILURE! - in org.apache.flink.table.client.gateway.local.ExecutionContextTest
14:23:25.985 [ERROR] testDatabases(org.apache.flink.table.client.gateway.local.ExecutionContextTest) Time elapsed: 10.807 s <<< ERROR!
org.apache.flink.table.client.gateway.SqlExecutionException: Could not create environment instance.
at org.apache.flink.table.client.gateway.local.ExecutionContextTest.testDatabases(ExecutionContextTest.java:128)
Caused by: org.apache.flink.table.client.gateway.SqlExecutionException:
Invalid view 'TestView1' with query:
SELECT scalarUDF(IntegerField1) FROM default_catalog.default_database.TableNumber1
Cause: SQL validation failed. From line 1, column 38 to line 1, column 82: Object 'TableNumber1' not found within 'default_catalog.default_database'
at org.apache.flink.table.client.gateway.local.ExecutionContextTest.testDatabases(ExecutionContextTest.java:128)
14:23:25.985 [ERROR] testCatalogs(org.apache.flink.table.client.gateway.local.ExecutionContextTest) Time elapsed: 5.295 s <<< ERROR!
org.apache.flink.table.client.gateway.SqlExecutionException: Could not create environment instance.
at org.apache.flink.table.client.gateway.local.ExecutionContextTest.testCatalogs(ExecutionContextTest.java:87)
Caused by: org.apache.flink.table.client.gateway.SqlExecutionException:
Invalid view 'TestView1' with query:
SELECT scalarUDF(IntegerField1) FROM default_catalog.default_database.TableNumber1
Cause: SQL validation failed. From line 1, column 38 to line 1, column 82: Object 'TableNumber1' not found within 'default_catalog.default_database'
at org.apache.flink.table.client.gateway.local.ExecutionContextTest.testCatalogs(ExecutionContextTest.java:87)
{code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)