Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix snowflake loading error on duplicate column names #1347

Merged
merged 3 commits into from
Jun 12, 2024

Conversation

istreeter
Copy link
Contributor

We got a report of an error like:

Load failed and will not be retried: SQL compilation error: duplicate column name 'UNSTRUCT_EVENT_COM_REDACTED_REDACTED_1' = SqlState: 42S21

I think it happens when the batch contains two minor versions of the same major version of a schema.

@istreeter istreeter changed the base branch from master to develop June 8, 2024 11:44
@istreeter istreeter changed the title Fix snowflake loading error on dupliacate column names Fix snowflake loading error on duplicate column names Jun 10, 2024
@colmsnowplow colmsnowplow force-pushed the fix-snowflake-duplicate-column-names branch from 5f10986 to 88a464d Compare June 12, 2024 14:35
Copy link
Member

@oguzhanunlu oguzhanunlu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

nit: typo in first commit's message in dupliacate

@colmsnowplow
Copy link
Contributor

Ty @oguzhanunlu! I'll fix that typo before I merge. :)

istreeter and others added 3 commits June 12, 2024 17:40
We got a report of an error like:

> Load failed and will not be retried: SQL compilation error: duplicate column name 'UNSTRUCT_EVENT_COM_REDACTED_REDACTED_1' = SqlState: 42S21

I think it happens when the batch contains two minor versions of the
same major version of a schema.
An issue in Docker dependency of previous version of sbt-snowplow-release blocks builds - bumping to fix.
BaseProcessingSpec has a test that times out quite frequently.

The timeout period seems relatively arbitrary so simply extending it to avoid the need to keep re-running.
@colmsnowplow colmsnowplow force-pushed the fix-snowflake-duplicate-column-names branch from 88a464d to 8427c45 Compare June 12, 2024 16:41
@colmsnowplow colmsnowplow merged commit 47d2ada into develop Jun 12, 2024
3 checks passed
@colmsnowplow colmsnowplow deleted the fix-snowflake-duplicate-column-names branch June 12, 2024 16:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants