Skip to content

[cpp] Move sorting and hashing down to C++#508

Merged
q10 merged 3 commits intomainfrom
bm-cpp-8
Feb 22, 2022
Merged

[cpp] Move sorting and hashing down to C++#508
q10 merged 3 commits intomainfrom
bm-cpp-8

Conversation

@q10
Copy link
Collaborator

@q10 q10 commented Feb 22, 2022

Summary:

  • Move generic tuple sort to the C++ level using variadic templates and template function recursion
  • Update the existing nullable_T_vector hash_at() functions to use int64_t
  • Implement hash_vec() for nullable_varchar_vector to get a vector of hash values for each value in the vector
  • Implement the new C++ code into the grouping routines

q10 added 3 commits February 21, 2022 21:26
- Move generic tuple sort to the C++ level using variadic templates and
template function recursion
- Update the existing nullable_T_vector hash_at() functions to use int64_t

- Implement hash_vec() for nullable_varchar_vector to get back a vector
of hash values for each value in the vector

- Integrate hash_vec() into the GroupingCodeGenerator
- Update the C++ sort_tuples() function to support DESC sort

- Harden the sort_tuples() function to account for 0-length tuples
@q10 q10 marked this pull request as ready for review February 22, 2022 05:39
@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@q10 q10 merged commit 088ea74 into main Feb 22, 2022
@q10 q10 deleted the bm-cpp-8 branch February 22, 2022 08:01
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.

1 participant