[
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-deprioritized-minor auto-unassigned
pull-request-available (was: auto-deprioritized-major auto-unassigned
pull-request-available stale-minor)
Priority: Not a Priority (was: Minor)
This issue was labeled "stale-minor" 7 days ago and has not received any
updates so it is being deprioritized. If this ticket is actually Minor, 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: Not a Priority
> Labels: auto-deprioritized-major, auto-deprioritized-minor,
> 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.20.1#820001)