cube-js-chosen-as-semantic-layer-between-snowflake-and-query-engine

Cube.js is the semantic layer for R-Dash, sitting between the Snowflake query runner and the visualization layer. This enables row-level security enforcement at query-execution time (the v1 non-negotiable), metric definitions, and pre-aggregations without bespoke SQL. The alternative (raw SQL surfaced directly to users) was rejected because it cannot enforce RLS consistently across function heads and finance data.