I am trying to get metadata from AWS athena by running SQL query as:
SELECT table_catalog, table_schema, table_name FROM information_schema.tables
WHERE table_schema = 'information_schema'
when I am getting an error:
Database information_schema not found. Please check your query.
The query runs fine without the WHERE clause or some other condition there. Am I missing something?