This repository has been archived by the owner on Aug 13, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 20
Replace schema URI comment in Redshift DDL generation with Redshift COMMENT ON #105
Milestone
Comments
How to retrieve a comment using SQL: db00002=# SELECT c.oid FROM pg_catalog.pg_class c WHERE c.relname = 'events';
oid
--------
108624
162711
(2 rows)
db00002=# select pg_catalog.obj_description(108624);
obj_description
-----------------
version 0.6.0
(1 row) |
Should we add something in raw mode? Source file? |
I think given that we are adding the COMMENT ON we can remove the |
chuwy
added a commit
to snowplow-archive/schema-ddl
that referenced
this issue
Sep 11, 2015
camshaft
pushed a commit
to camshaft/schema-guru
that referenced
this issue
Nov 10, 2015
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Currently we produce Redshift DDL which looks like this:
We want to move the iglu: Schema URI from a discarded syntax comment to a retained metadata comment like so:
This will retain the metadata in Redshift so that Snowplow can find out which version of a table has been deployed.
The text was updated successfully, but these errors were encountered: