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

OracleDialect does not support CASE WHEN returning boolean

    XMLWordPrintableJSON

Details

    • Wish
    • Status: Closed
    • Minor
    • Resolution: Duplicate
    • None
    • None
    • core
    • None

    Description

      Our requirement is to use Calcite to translate queries into different dialects. During validation in the TPC-DS scenario, we found that Oracle does not support SQL statements like

      {{}}

      SELECT * FROM xxx
      WHERE CASE WHEN a > 10 THEN b < 5 ELSE c > 0 END;

      {{}}

      Therefore, we hope to remove such predicates at the dialect like Oracle.

       

       

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              suibianwanwan33 suibianwanwan
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: