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

OracleDialect does not support CASE WHEN returning boolean

    XMLWordPrintableJSON

Details

    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:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: