(value string)
| 908 | func buildSessionInformationSchemaTablesViewSQL(access *MetadataAccessPolicy) string { |
| 909 | sql := ` |
| 910 | CREATE OR REPLACE VIEW main.information_schema_tables_compat AS |
| 911 | SELECT |
| 912 | CASE WHEN t.table_catalog IN ('ducklake', 'memory') THEN current_database() ELSE t.table_catalog END AS table_catalog, |
| 913 | CASE WHEN t.table_schema = 'main' THEN 'public' ELSE t.table_schema END AS table_schema, |
| 914 | t.table_name, |
| 915 | t.table_type, |
no outgoing calls
no test coverage detected