Skip to content

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_type
FROM information_schema.views AS v
JOIN information_schema.columns AS c
ON v.table_name = c.table_name AND v.table_schema = c.table_schema
WHERE
v.table_name LIKE 'benchbox_view_%'
ORDER BY
v.table_name,
c.ordinal_position

Representative 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 factor
print(bench.get_queries()['view_hierarchy_column_introspection'])

Source

Query text: benchbox/core/metadata_primitives/queries.py