Gustavo de Morais created FLINK-41673:
-----------------------------------------
Summary: Improve error messages for event-time temporal join
validation
Key: FLINK-41673
URL: https://issues.apache.org/jira/browse/FLINK-41673
Project: Flink
Issue Type: Improvement
Components: Table SQL / Planner
Reporter: Gustavo de Morais
Assignee: Gustavo de Morais
Errors for {{FOR SYSTEM_TIME AS OF}} joins are hard to act on. They use planner
terms such as "versioned table", print the optimized plan, or point at the
wrong problem: "no row time attribute can be found" when the right side has
two, a renamed column {{currency0}} in the primary key message, and a stray
quote.
We should rewrite them so each message names the user's columns, states the one
requirement that is not met, and says how to fix the query, including a LATERAL
SNAPSHOT join where it is a valid alternative. Only the messages change; the
checks stay as they are.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)