Skip to content

Native query engine support for system tables #20916

Open

Description

@FrankChen021

This is a track of adding native engine support to all system tables.

Background

sys.* tables are executed in the Calcite bindable path via the Calcite interpreter, not the Druid query engine. Typical problems for system tables include:

  • queries over system tables that uses native druid functions fail
  • COUNT DISTINCT does not work for system tables
  • queries over system tables with IN filter with more than 100 elements (controlled by inFunctionThreshold) fail because Druid plans it to SCALAR_IN_ARRAY that Calcite interpreter does not support.

To do list

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions