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

Allow RelBuilder scan to take multiple arguments

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.8.0
    • None
    • None

    Description

      Currently Relbuilder.scan takes a single tableName string argument, however we'd like to use this to specify a sub-schema so we can use the Relbuilder to construct our queries across datasources.
      The idea would be to change "scan(String tableName)" to "scan(String… tableNames)", and add "scan(Iterable<String> tableNames)".

      This is as discussed here: http://mail-archives.apache.org/mod_mbox/calcite-dev/201605.mbox/%3CE4C0C38B-EDC2-4016-99C1-E7465AAC0C20%40apache.org%3E

      Opened this ticket so that we can submit a PR with the change.

      Attachments

        Activity

          People

            julianhyde Julian Hyde
            chris-baynes Chris Baynes
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: