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

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

    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.

        Activity

        Hide
        mehant Mehant Baid added a comment -

        Minor patch to let 'ANY' type pass precision/scale compatibility.

        Show
        mehant Mehant Baid added a comment - Minor patch to let 'ANY' type pass precision/scale compatibility.
        Show
        julianhyde Julian Hyde added a comment - Fixed in http://git-wip-us.apache.org/repos/asf/incubator-optiq/commit/c34c1448 .
        Hide
        julianhyde Julian Hyde added a comment -

        Close issues resolved in release 0.9.0-incubating (2014-08-25).

        Show
        julianhyde Julian Hyde added a comment - Close issues resolved in release 0.9.0-incubating (2014-08-25).

          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:

              Development