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

Push join down to Druid, using Druid's query-time lookups

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • druid-adapter
    • None

    Description

      Push Join down to Druid, using Druid's query-time lookup feature. As of Druid 0.10 this feature is marked experimental.

      Very small lookups (count of keys on the order of a few dozen to a few hundred) can be passed at query time as a "map" lookup

      We could use map lookups for joins to a Values operator.

      Globally cached lookups from local files, remote URIs, or JDBC through lookups-cached-global.

      If Calcite sees a Join between Druid and a table in a JDBC data source, and it knows that that table is registered as a lookup in Druid's schema, and it knows the name of that lookup, then it could translate to a JDBC lookup in Druid.

      Attachments

        Activity

          People

            Unassigned Unassigned
            julianhyde Julian Hyde
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: