[
https://issues.apache.org/jira/browse/FLINK-13047?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated FLINK-13047:
-----------------------------------
Labels: pull-request-available (was: )
> 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
> Priority: Major
> Labels: pull-request-available
>
> 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)