[
https://issues.apache.org/jira/browse/FLINK-12271?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Flink Jira Bot updated FLINK-12271:
-----------------------------------
Labels: auto-deprioritized-major auto-unassigned pull-request-available
(was: auto-unassigned pull-request-available stale-major)
Priority: Minor (was: Major)
This issue was labeled "stale-major" 7 ago and has not received any updates so
it is being deprioritized. If this ticket is actually Major, please raise the
priority and ask a committer to assign you the issue or revive the public
discussion.
> 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
> Priority: Minor
> Labels: auto-deprioritized-major, auto-unassigned,
> pull-request-available
> Time Spent: 20m
> Remaining Estimate: 0h
>
> 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
(v8.3.4#803005)