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

Invalid unparse for INT and BIGINT in StarRocksDialect

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.37.0
    • 1.38.0
    • None

    Description

      When performing starrocks dialect conversion for cast (xxx as int) and cast (xxx as bigint), it defaults to using MySQL dialect´╝îlike this:

      while starlocks does not explicitly declare support for the signed data type. If conversion is performed according to the MySQL dialect by default, the execution result will exceed expectations when the data value exceeds the range [-2147483648,2147483647]

      Attachments

        Activity

          People

            Unassigned Unassigned
            fanluoo fanluo
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: