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
DM-42257: Make the text type un-sized so length is not required #53
Conversation
97e12b1
to
a79d3c7
Compare
@gpdf proposes changing this line to "char" instead of "unicodeChar" on this PR.
|
a79d3c7
to
fefed32
Compare
@andy-slac I incorporated a number of your unrelated changes (though not all) from #51 in this. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great! And I mentioned it already - we need unit tests for everything to cover all type-related quirks.
I'll keep this in mind and add more on another ticket/branch. There are a decent number of tests for the type system now but maybe not covering all corner cases. |
2e910e0
to
390b5b7
Compare
The actual change you made was on the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, looks good.
My mistake on this comment - I actually changed the line with |
The length should not be required when defining a text column, since it represents an unbounded string. The
is_sized
flag in Felis forces a column with that type to require a length, which we do not want for this datatype.