Xuefu Zhang created FLINK-13047:
-----------------------------------
Summary: Fix the Optional.orElse() usage issue in DatabaseCalciteSchema
Key: FLINK-13047
URL:
https://issues.apache.org/jira/browse/FLINK-13047 Project: Flink
Issue Type: Sub-task
Components: Table SQL / API
Affects Versions: 1.9.0
Reporter: Xuefu Zhang
Assignee: Xuefu Zhang
It's found that Optional.orElse() will evaluate the argument first before returning Optional.get(). If the evaluation throws an exception then the call fails even if the Optional object is nonempty. This the case In {{DatabaseCalciteSchema.convertCatalogTable()}}.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)