Hi Snowplowers,
When using the storageloader (not superuser) I get an error and the job is not completed by lack of ANALYZE storageloader permissions.
root@ip-xxx:/snowplow/4-storage/storage-loader# bundle exec bin/snowplow-storage-loader -c config/redshift.yml
Loading Snowplow events into Redshift (Redshift cluster)...
INFO: Load into table 'events' completed, 76541 record(s) loaded successfully.
PG::Error error executing ANALYZE atomic.events;: ERROR: skipping "events" --- only table or database owner can analyze it
root@ip-xxxxxx:/snowplow/4-storage/storage-loader#
So to get this working I got to use the power_user because ANALYZE is not on the privileges list.
Amazon Redshift supports the following privileges: SELECT, INSERT, UPDATE, DELETE, REFERENCES, CREATE, TEMPORARY, EXECUTE, and USAGE. Different privileges are associated with different object types. For information on database object privileges supported by Amazon Redshift, see the GRANT command.
Is there any fix for this?
Just one thing that got my head spinning a bit ... on redshift.yml the in: is the out of the emr-etl-runner ... of course! :P
--
You received this message because you are subscribed to the Google Groups "Snowplow" group.
To unsubscribe from this group and stop receiving emails from it, send an email to snowplow-use...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
I cant seam to find that note on that page.The job seams to call ANALYZE every time the data is loaded. For the time being I just use power_user.
By the way do you know how to change the collector_timestamp?