-
Notifications
You must be signed in to change notification settings - Fork 161
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
Feat: increase default type precision in redshift/mssql view workaround #2791
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
treysp
changed the title
Feat: increase default type precision in redshift/mssql view workaround
WIP Feat: increase default type precision in redshift/mssql view workaround
Jun 18, 2024
treysp
force-pushed
the
trey/schema-diff-precision
branch
2 times, most recently
from
June 20, 2024 19:36
8138a6a
to
71d76af
Compare
treysp
force-pushed
the
trey/varchar-workaround-max
branch
from
June 20, 2024 20:44
9fcc19f
to
074c1a9
Compare
treysp
changed the title
WIP Feat: increase default type precision in redshift/mssql view workaround
Feat: increase default type precision in redshift/mssql view workaround
Jun 20, 2024
treysp
force-pushed
the
trey/varchar-workaround-max
branch
from
June 21, 2024 14:12
45a20f2
to
658ed8b
Compare
izeigerman
reviewed
Jun 21, 2024
izeigerman
reviewed
Jun 21, 2024
treysp
force-pushed
the
trey/varchar-workaround-max
branch
from
June 24, 2024 14:52
658ed8b
to
b719b06
Compare
treysp
force-pushed
the
trey/varchar-workaround-max
branch
from
July 2, 2024 14:15
b719b06
to
26baf63
Compare
izeigerman
reviewed
Jul 2, 2024
izeigerman
approved these changes
Jul 2, 2024
treysp
force-pushed
the
trey/varchar-workaround-max
branch
from
July 2, 2024 22:07
26baf63
to
b941952
Compare
treysp
force-pushed
the
trey/varchar-workaround-max
branch
from
July 2, 2024 22:08
b941952
to
8724e73
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Redshift and MSSQL use the
VarcharSizeWorkaroundMixin
to infer the size of a varchar or other "max" column when it cannot be resolved from model code.Data may be truncated if it is inferred to the default length (256 in Redshift, 1 in MSSQL) and that was not intended by the user, so this PR increases the length to "max" if a column with the default length is detected.