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

Generic constructor of ColumnVector from initializer list #9393

Merged

Conversation

alexey-milovidov
Copy link
Member

Changelog category (leave one):

  • Non-significant (changelog entry is not required)

Continuation of #9367

@alexey-milovidov alexey-milovidov merged commit 6691302 into master Feb 28, 2020
@alexey-milovidov alexey-milovidov deleted the better-column-vector-initializer-list-constructor branch February 28, 2020 12:57
@alexey-milovidov
Copy link
Member Author

This is wrong.

@ghost
Copy link

ghost commented Feb 28, 2020

what's wrong?

@alexey-milovidov
Copy link
Member Author

alexey-milovidov commented Feb 28, 2020

Specializations of insert method in PODArray with type U that is different than T (and also probably, not trivially copyable) require a loop with element by element assignment instead of memcpy.

kudos @Akazz @KochetovNicolai

@alexey-milovidov
Copy link
Member Author

This can be improved... We just need more specializations.
Do you want to make another pull request on top of my changes?

@ghost
Copy link

ghost commented Feb 29, 2020

@alexey-milovidov if it's not urgent, i'm willing to make another pull request. it may take me some time.

@alexey-milovidov
Copy link
Member Author

Not urgent at all. Yes, it will be appreciated!

@robot-clickhouse robot-clickhouse added the pr-not-for-changelog This PR should not be mentioned in the changelog label Mar 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
no-docs-needed pr-not-for-changelog This PR should not be mentioned in the changelog
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants