Skip to main content

rewrite_show_databases

Function rewrite_show_databases 

Source
pub fn rewrite_show_databases(query: &str) -> Option<String>
Expand description

If query is SHOW DATABASES/SHOW SCHEMAS (optionally LIKE 'pat'), return an equivalent information_schema.schemata SELECT; otherwise None. The result column is namespace, matching Spark’s SHOW DATABASES.