You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Native query engine support for system tables #20916
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.
Activity