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

Tools for converting List<RexNode> to SQL expression string

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Trivial
    • Resolution: Implemented
    • None
    • None
    • core
    • None

    Description

      'org.apache.calcite.schema.ProjectableFilterableTable' Is a simple tool that can apply filter expressions.On a datasource that uses SQL as a query command, the org.apache.calcite.schema.ProjectableFilterableTable#scan method applies a filter expression, and the filter expression may be converted to SQL. I have not found a way to convert List<RexNode> to SQL. In particular, OR expressions may involve some complicated operations.Is there a better solution?

      Attachments

        Activity

          People

            Unassigned Unassigned
            jamie12221 jamie12221
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: