Closed mitchwd closed 2 weeks ago
This is being thrown at the underlying connector level as it is not receiving a quoted value, and this must be a quoted identifier to contain a hyphen.
YAML allows you to specify quotes:
Or else:
select * from "mitch-api".my_table
Thanks Archie. I was able to resolve it by escaping the quotes. For anyone else's reference, this worked:
name: Mitch_Local
type: postgres
options:
host: localhost
port: 5432
database: postgres
schema: |
"mitch-api"
Steps To Reproduce
Environment
node -v
): v20.11.1npm -v
): 10.2.4Expected Behavior
Evidence should allow connecting to schemas with dashes in the name.
Actual Behaviour
Application attempts to run, then crashes:
Alternatively, this can be triggered via the browser: Settings > Edit data source > Click Test Connection > Application crashes in terminal:
Workarounds
I've attempted to wrap my schema name in single and double quotes, with no luck. :'(