I am validating the quick start guide of snowplow for GCP. I see the issue when I push new non-breaking schema version.
Let’s say, the current jsonschema on pg is 1-0-1. I added 1 more field “utm_c” then “igluctl static push” the 1-0-2 version to pg. But on pg, there is no the column “utm_c”, neither after I post 1-0-2 event by web tracker.
Is there anything I missed?
1-0-1
{
"$schema": "http://iglucentral.com/schemas/com.snowplowanalytics.self-desc/schema/jsonschema/1-0-0#",
"description": "Schema for a button click event",
"self": {
"vendor": "com.snowplowanalytics",
"name": "button_click_2",
"format": "jsonschema",
"version": "1-0-1"
},
"type": "object",
"properties": {
"id": {
"type": "string",
"minLength": 1
},
"target": {
"type": "string"
},
"content": {
"type": "string"
},
"utm_a": {
"type": "string"
},
"utm_b": {
"type": "string"
}
},
"required": ["id"],
"additionalProperties": false
}
1-0-2
{
"$schema": "http://iglucentral.com/schemas/com.snowplowanalytics.self-desc/schema/jsonschema/1-0-0#",
"description": "Schema for a button click event",
"self": {
"vendor": "com.snowplowanalytics",
"name": "button_click_2",
"format": "jsonschema",
"version": "1-0-2"
},
"type": "object",
"properties": {
"id": {
"type": "string",
"minLength": 1
},
"target": {
"type": "string"
},
"content": {
"type": "string"
},
"utm_a": {
"type": "string"
},
"utm_b": {
"type": "string"
},
"utm_c": {
"type": "string"
}
},
"required": ["id"],
"additionalProperties": false
}