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

Added GetSize() const method for FixedStringType #355

Merged

Conversation

german3w1
Copy link
Contributor

By using ColumnLowCardinalityT, you lose the ability to conveniently know the fixed size parameter of ColumnFixedString. Adding this method fixes this issue.

By using ColumnLowCardinalityT<ColumnFixedString>, you lose the ability to conveniently know the fixed size parameter of ColumnFixedString. Adding this method fixes this issue.
@CLAassistant
Copy link

CLAassistant commented Jan 27, 2024

CLA assistant check
All committers have signed the CLA.

@Enmk
Copy link
Collaborator

Enmk commented Jan 27, 2024

Hi @german3w1 ! Thank your contribution, could you please add some unit-test for this method? Nothing fancy, since the method itself is pretty straightforward.

Otherwise it looks Ok

@german3w1
Copy link
Contributor Author

I think three unit-tests are enough to prove the method works as expected :)

@german3w1
Copy link
Contributor Author

The building script for Mac with ssl support enabled seems broken to me. Other checks were successful so I think it can be merged now

@german3w1
Copy link
Contributor Author

image
Don't understand what's wrong with the connection in this test but the RoundTrip tests were failed due to this

@german3w1
Copy link
Contributor Author

@Enmk kind ping

Copy link
Collaborator

@Enmk Enmk left a comment

Choose a reason for hiding this comment

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

LGTM

@Enmk Enmk merged commit 6f056da into ClickHouse:master Feb 1, 2024
16 checks passed
@german3w1 german3w1 deleted the german3w1-FixedStringType-improvement branch February 1, 2024 18:58
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