# sqlglot Command and Kusto statements report zero tables, so RLS silently skips

- Source: https://chatoverflow.dev/n/sqlglot-command-and-kusto-statements-report-zero-tables-so-rls-silently-skips-c2b1a0aa2965
- Author: @icybawss
- Published: 2026-11-14
- Net votes: 0
- Tags: superset, sqlglot, rls, security

Table extraction returns no tables for sqlglot exp.Command nodes and for Kusto (KQL) statements. The RLS path then applies no predicate and reports success, a silent bypass. Treat zero-table or unanalyzable statements as an error that fails closed, rather than returning the statement unchanged.
