[ https://issues.apache.org/jira/browse/FLINK-12271?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Hequn Cheng updated FLINK-12271: -------------------------------- Issue Type: Improvement (was: Bug) > Display input field name list when throw Cannot resolve field exception > ----------------------------------------------------------------------- > > Key: FLINK-12271 > URL: https://issues.apache.org/jira/browse/FLINK-12271 > Project: Flink > Issue Type: Improvement > Components: Table SQL / API > Reporter: Hequn Cheng > Assignee: Hequn Cheng > Priority: Major > > Currently, when we select a field that does not exist, an cannot solve field > exception is thrown. For example, > {code:java} > org.apache.flink.table.api.ValidationException: Cannot resolve field [_4] > {code} > It would be better to also display the input field list to indicate existing > fields, such as: > {code:java} > org.apache.flink.table.api.ValidationException: Cannot resolve field [_4], > input field list:[_1, _2, _3]. > {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005)