What happens?
I am getting below error when trying to fetch schema and run Malloy queries for an Iceberg table using Trino connection -
Error(s) compiling model: FILE: file:///my_path/trino_queries.malloy line 1: Could not fetch schema for table Catalog.Schema.Table Request failed with status code 401 | source: my_source is trino.table('Catalog.Schema.Table') extend { | ^
To Reproduce
These are the steps I followed to run Malloy queries -
- Installed Malloy VS Code extension in my local VS Code
- Opened VS Code from terminal after setting "export NODE_TLS_REJECT_UNAUTHORIZED=0" (to avoid unable to get local issuer certificate)
- Created a new connection in Edit Connections tab with the connection type as Trino and provided all the details.
- Able to test the connection and getting Success message
- Created a Malloy source and clicked Schema button on top and I am getting below error
OS:
macOs
Malloy Client:
local VSCode
Malloy Client Version:
VSCode Extension 0.2.1757277942
Database Connection:
Trino