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

apply: add crc32 operation #2121

Merged
merged 4 commits into from
Sep 9, 2024
Merged

apply: add crc32 operation #2121

merged 4 commits into from
Sep 9, 2024

Conversation

jqnatividad
Copy link
Collaborator

implements #2119

@jqnatividad jqnatividad merged commit 0e0b8c8 into master Sep 9, 2024
10 of 12 checks passed
@jqnatividad jqnatividad deleted the 2119-apply-crc32-operation branch September 11, 2024 01:27
@tooptoop4
Copy link

tooptoop4 commented Sep 25, 2024

how to run this in sqlp? @jqnatividad i'm trying to get sum(crc32(a_coluumn)) ie single sum value that looks across rows. i don't want the other cols in the result either

below gives right result but slower than i thought and many commands, is there more efficient+simpler way?

/clis/qsv apply operations crc32 a_column --new-column bobb input.csv | /clis/qsv select bobb > cr.txt; /clis/qsv sqlp cr.txt 'select sum(bobb) from cr'

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.

2 participants