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

Sql ANY type handling when find least restrictive type or add cast function

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None

    Description

      This comes from a commit in Drill's forked Calcite (https://github.com/dremio/calcite/commit/32accb4ca09b8b1029caf6d1c3cc5a6010106b86)

      1) When one input type is ANY, SqlTypeFactoryImpl.leastRestrictiveSqlType() should return ANY.

      2) Do not create CAST() function, if target type is ANY.

      mehant, could you please submit a PR after rebasing ?

      Attachments

        Activity

          People

            jni Jinfeng Ni
            jni Jinfeng Ni
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: