Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-24403 Improve behaviour of CAST
  3. FLINK-21566

Improve error message for "Unsupported casting"

    XMLWordPrintableJSON

Details

    Description

      In a situation like from FLINK-21565, neither the error message Unsupported casting from TINYINT to INTERVAL SECOND(3), nor the exception trace (see FLINK-21565) gives you a good hint on where the error is, especially if you have many statements with TINYINTs or operations on these.

      The query parser could highlight the location of the error inside the SQL statement that the user provided.

      Attachments

        Activity

          People

            Unassigned Unassigned
            nkruber Nico Kruber
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: