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

[Redshift] Addressing KindDetails TODO #779

Merged
merged 6 commits into from
Jul 8, 2024

Conversation

Tang8330
Copy link
Contributor

@Tang8330 Tang8330 commented Jun 27, 2024

Changes

  1. Hard fail if string precision fails to parse
  2. Hard fail if the data type is not recognized

@Tang8330 Tang8330 marked this pull request as ready for review June 27, 2024 23:21
}

return typing.KindDetails{
Kind: typing.String.Kind,
OptionalStringPrecision: strPrecision,
OptionalStringPrecision: &precision,
Copy link
Contributor

@nathan-artie nathan-artie Jun 28, 2024

Choose a reason for hiding this comment

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

It would be nice to make OptionalStringPrecision an int32 and use ParseInt instead of Atoi.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'll leave a TODO there. OptionalStringPrecision touches a lot of different parts of our code

@Tang8330
Copy link
Contributor Author

Pushed a new image v1.25.33-exp, will deploy this and let it run in Production for a couple of days before I merge.

@Tang8330 Tang8330 merged commit 4c37ef2 into master Jul 8, 2024
3 checks passed
@Tang8330 Tang8330 deleted the address-redshift-data-type-todo branch July 8, 2024 15:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants