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

Precision and Scale check should always return success for 'ANY' data type

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.9.0-incubating
    • Component/s: None
    • Labels:
      None

      Description

      Currently while validating operands of a function we check if precision/ scale is allowed on the data type. For 'ANY' type currently we mark the SqlTypeName to indicate that both precision, scale is not allowed. allowsPrecScale() in SqlTypeName should always succeed for 'ANY' type.

        Attachments

        1. OPTIQ-331.patch
          1 kB
          Mehant Baid

          Activity

            People

            • Assignee:
              julianhyde Julian Hyde
              Reporter:
              mehant Mehant Baid
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: