-
Notifications
You must be signed in to change notification settings - Fork 4
Home
Zdenek Svoboda edited this page Jan 19, 2021
·
10 revisions
JDBC driver for accessing GoodData workspace data using the standard JDBC protocol.
You need just this JAR file on your CLASSPATH
The JDBC driver class is
com.gooddata.jdbc.driver.AfmDriver
and it expects the following JDBC URL format
jdbc:gd://<your-gooddata-domain-name>/gdc/projects/<your-gooddata-project-id>
- You don't use FROM clause. Just list of columns in the
SELECT <column-list>
andWHERE <conditions>
- Columns are quoted in double-quotes (
"
) - Textual values are quoted in single-quotes (
'
) - SELECT column list
- only supports plain list of attributes and metrics (no expressions or functions)
- supports datatype specification using
"Revenue::DECIMAL(13,2)"
- WHERE clause
- only supports
AND
logical operators - supports
=,<>, IN, NOT IN
operators for attributes - supports
=,<>, >, <, >=, <=, BETWEEN, NOT BETWEEN
operators for metrics - supports simple expressions like
(2+5)*3
- only supports
- DBeaver
- IntelliJ, DataGrip, and other JetBrains tools
- Squirrel SQL doesn't work. Let me know if you have any idea why.
Submit github issue.