Skip to content

Fix: Type suffixes/shorthands are not necissarily canonicalized#144

Merged
AlexanderMann merged 1 commit intodatamill-co:masterfrom
AlexanderMann:fix/canonicalize-type-suffixes
Aug 28, 2019
Merged

Fix: Type suffixes/shorthands are not necissarily canonicalized#144
AlexanderMann merged 1 commit intodatamill-co:masterfrom
AlexanderMann:fix/canonicalize-type-suffixes

Conversation

@AlexanderMann
Copy link
Copy Markdown
Collaborator

Motivation

Presently we generate type suffixes for columns on type splits/name collisions. These suffixes are not necessarily canonicalized appropriately for a given target.

To handle this, we should only ever create or use a canonicalized identifier IFF we have called self.canonicalize_identifier.

Notes

This issue was not encountered with Postgres or Redshift. This is purely a problem for https://github.com/datamill-co/target-snowflake which is still solidly in beta.

Suggested Musical Pairing

Economist Radio

@AlexanderMann AlexanderMann merged commit 75a28c1 into datamill-co:master Aug 28, 2019
@AlexanderMann AlexanderMann deleted the fix/canonicalize-type-suffixes branch August 28, 2019 17:14
@AlexanderMann AlexanderMann restored the fix/canonicalize-type-suffixes branch April 10, 2022 13:41
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.

1 participant