Uploaded image for project: 'Calcite'
  1. Calcite
  2. CALCITE-1760

Implement utility method to identify lossless casts

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.13.0
    • Component/s: core
    • Labels:
      None

      Description

      Implement utility method to identify 'lossless' casts, i.e., casts from which the original value of the field can be certainly recovered?

      For instance, int -> bigint is true (as you can cast back to int without loss of information), however bigint -> int is false.

        Attachments

          Activity

            People

            • Assignee:
              jcamachorodriguez Jesus Camacho Rodriguez
              Reporter:
              jcamachorodriguez Jesus Camacho Rodriguez
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: