Hi,
I am new for sqlrunner. When I try run sql-runner with playbook web-model.yml for PostgreSQLDB, I get this error:
snowplow#./sql-runner -playbook web-model.yml -softLock /locks/soft/1
2017/01/12 01:10:28 Checking and setting the lockfile at this key '/locks/soft/1'
2017/01/12 01:10:28 EXECUTING 00-web-page-context (in step 00-web-page-context @ PostgreSQLDB): /web-model/01-page-views/00-web-page-context.sql
2017/01/12 01:10:28 FAILURE: 00-web-page-context (step 00-web-page-context @ target PostgreSQLDB), ERROR: ERROR #42601 syntax error at or near "DISTKEY" (addr="127.0.0.1:5432")
2017/01/12 01:10:28 Deleting lockfile at this key '/locks/soft/1'
2017/01/12 01:10:28
TARGET INITIALIZATION FAILURES:
QUERY FAILURES:
* Query 00-web-page-context /web-model/01-page-views/00-web-page-context.sql (in step 00-web-page-context @ target PostgreSQLDB), ERROR:
- ERROR #42601 syntax error at or near "DISTKEY" (addr="127.0.0.1:5432")
Anything wrong with this 00-web-page-context.sql script? Shoud I remove the DISTKEY line? Or where I can find script for PostgreSQLDB?
Thanks for any help.