Metadata view_hierarchy_column_introspection
Metadata benchmark · all Metadata queries
Representative SQL
Rendered in the benchmark’s native SQL with default parameters (no dialect translation available).
SELECT v.table_name AS view_name, c.column_name, c.data_typeFROM information_schema.views AS vJOIN information_schema.columns AS c ON v.table_name = c.table_name AND v.table_schema = c.table_schemaWHERE v.table_name LIKE 'benchbox_view_%'ORDER BY v.table_name, c.ordinal_positionRepresentative DataFrame
No DataFrame implementation is registered for this query.
Get the exact query for your run
The blocks above are representative. To get the precise statement a specific platform runs at a specific scale, substitute your own values:
from benchbox import MetadataPrimitives
bench = MetadataPrimitives(scale_factor=1.0) # your scale factorprint(bench.get_queries()['view_hierarchy_column_introspection'])Source
Query text: benchbox/core/metadata_primitives/queries.py