Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-24403

Improve behaviour of CAST

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: In Progress
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None

    Description

      Meta issue to include or relevant bugs and improvements around the functionality of CAST.

       

      Attachments

        Issue Links

          1.
          Refactor scalar function testing infrastructure to allow testing multiple columns Sub-task Closed Marios Trivyzas
          2.
          Add tests for all currently supported cast combinations Sub-task Closed Marios Trivyzas
          3.
          Casting a TIMESTAMP_LTZ to STRING doesn't include timezone id Sub-task Closed Marios Trivyzas
          4.
          Casting a STRING to a TIME() results in loss of fractional seconds Sub-task Closed Unassigned
          5.
          Casting from a string to a DATE and TIME allows incomplete strings Sub-task Closed Marios Trivyzas
          6.
          Support cast of RAW() to BINARY/VARBINARY/BYTES Sub-task Closed Marios Trivyzas
          7.
          CAST from invalid CHAR/VARCHAR/STRING to TIMESTAMP_LTZ throws NPE Sub-task Resolved Marios Trivyzas
          8.
          RuntimeException: while resolving method 'booleanValue' in class class java.math.BigDecimal Sub-task Closed Marios Trivyzas
          9.
          Consolidate all CAST related test into the new CastFunctionITCase class Sub-task Closed Marios Trivyzas
          10.
          Casting a decimal to a String doesn't do left zero padding Sub-task Closed Marios Trivyzas
          11.
          Introduce config option to keep previous CAST behaviour Sub-task Closed Marios Trivyzas
          12.
          Improve cast ROW to STRING Sub-task Closed Shen Zhu
          13.
          Enforce CHAR/VARCHAR precision when outputing to a Sink Sub-task Closed Marios Trivyzas
          14.
          DISTINCT is not handled correctly by CastRules Sub-task Closed Francesco Guardiani
          15.
          Introduce NULL type to string cast rule Sub-task Closed Francesco Guardiani
          16.
          Casting to a CHAR() and VARCHAR() doesn't trim the string to the specified precision Sub-task Closed Marios Trivyzas
          17.
          TIMESTAMP/TIMESTAMP_LTZ Pad with trailing zeros for fractional seconds depending on the precision specified Sub-task Closed Marios Trivyzas
          18.
          Casting to a bounded BINARY/VARBINARY doesn't trim to the specified precision Sub-task Closed Shen Zhu
          19.
          Fix formatting for true, false and null to uppercase Sub-task Closed Francesco Guardiani
          20.
          Fix cast BINARY/VARBINARY to STRING Sub-task Closed Marios Trivyzas
          21.
          Apply padding for BINARY(<precision>) Sub-task Closed Marios Trivyzas
          22.
          Add TRY_CAST function to be able to handle errors Sub-task Closed Marios Trivyzas
          23.
          Support for casting collection types. Sub-task Closed Sergey Nuyanzin
          24.
          Improve casting STRUCTURED type to STRING Sub-task Closed Francesco Guardiani
          25.
          Expose complex types CAST to String Sub-task Closed Francesco Guardiani
          26.
          Casting from STRING to TIMESTAMP_LTZ looses fractional seconds Sub-task Closed Francesco Guardiani
          27.
          Make the legacy behavior disabled by default Sub-task Closed Francesco Guardiani
          28.
          Doc overhaul for the CAST behaviour Sub-task Closed Francesco Guardiani
          29.
          Compile RowDataToStringConverter lazily Sub-task Closed Francesco Guardiani
          30.
          Support cast from BINARY/VARBINARY/BYTES to of RAW(<clazz>) Sub-task In Progress Marios Trivyzas
          31.
          Refactor timestamp<->number validation messages Sub-task In Progress Marios Trivyzas
          32.
          Translate the new SQL CAST documentation to Chinese Sub-task Resolved Chengkai Yang
          33.
          Decide the overflows behaviour Sub-task Open Marios Trivyzas
          34.
          Casting to a "narrower" type doesn't throw exception but follows Java overflow Sub-task Open Marios Trivyzas
          35.
          Improve error message for "Unsupported casting" Sub-task Open Unassigned
          36.
          User defined functions refuse to accept multi-set arguments without type hints Sub-task Open Unassigned
          37.
          When creating a TIMESTAMP_LTZ only allow Instant Sub-task Open Unassigned
          38.
          Cast from TIME to TIMESTAMP currently uses Epoch Date Sub-task Open Unassigned
          39.
          Add support for casting from a single type to the corresponding array Sub-task Open Unassigned
          40.
          Add support for cast from a string to an INTERVAL Sub-task Open Unassigned
          41.
          Fix casting between interval types Sub-task Open Unassigned
          42.
          Drop support for casting decimal numerics to boolean for SQL Sub-task Open Unassigned
          43.
          Optimisation of chained cast calls can lead to unexpected behaviour Sub-task Open Unassigned
          44.
          Casting of Multisets to Multisets Sub-task Open Unassigned
          45.
          Remove identity casting from ScalarOperatorGens Sub-task Open Unassigned

          Activity

            People

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

              Dates

                Created:
                Updated: