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

Refactor timestamp<->number validation messages

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: In Progress
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None

    Description

      Move timestamp -> number and number -> timestamp validation messages which suggest the usage of dedicated methods to a validation method in `LogicalTypeCasts`, and call this validation early, before trying to resolve the `CastRule`s.

      https://github.com/apache/flink/pull/18582#discussion_r797372485

      https://github.com/apache/flink/commit/29d8d03b1be818a64834e5ba670a83d8857111ab

      Attachments

        Issue Links

          Activity

            People

              matriv Marios Trivyzas
              matriv Marios Trivyzas
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: