Thanks Ryan,
I should of probably put the error here lol
If I change the config to look like this:
"event_names": ["generic_error"],
"self_describing_event_schemas": [
"iglu:com.omedastudios/generic_error/jsonschema/1-0-0",
"iglu:com.omedastudios/generic_error/jsonschema/1-0-1"
]
}, ```
It correctly generates most of the resulting SQL correctly,
```{%- set event_names = ['generic_error'] -%}
{%- set flat_cols = [] -%}
{%- set sde_cols = ['UNSTRUCT_EVENT_COM_OMEDASTUDIOS_GENERIC_ERROR_1_0_0', 'UNSTRUCT_EVENT_COM_OMEDASTUDIOS_GENERIC_ERROR_1_0_1'] -%}
{%- set sde_keys = [['errorType', 'errorMessage', 'errorSeverity', 'errorCode', 'scope', 'errorContext', 'timestamp', 'sessionId', 'namespace', 'platform', 'playerId', 'changeList', 'inputType'], ['errorType', 'errorMessage', 'errorSeverity', 'errorCode', 'scope', 'errorContext', 'timestamp', 'sessionId', 'namespace', 'platform', 'playerId', 'changeList', 'inputType']] -%}
{%- set sde_types = [['string', 'string', 'string', 'string', 'string', 'array', 'string', 'string', 'string', 'string', 'string', 'string', 'string'], ['string', 'string', 'string', 'string', 'string', 'array', 'string', 'string', 'string', 'string', 'string', 'string', 'string']] -%}
{%- set sde_aliases = ['generic_error', 'generic_error'] -%}```
But it complains about the aliases being the same, I know there is the
{
"event_names": ["generic_error"],
"self_describing_event_schemas": [
"iglu:com.omedastudios/generic_error/jsonschema/1-0-0",
"iglu:com.omedastudios/generic_error/jsonschema/1-0-1"
],
"sde_aliases": ["generic_error1"]
},
But I always get an error about an invalid file format when trying to generate the config.