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

replace explode with explode_outer #404

Merged
merged 2 commits into from
Nov 5, 2024

Conversation

elliVM
Copy link
Contributor

@elliVM elliVM commented Nov 4, 2024

change bloom estimate to use explode_outer

  • explode() returns only non empty results so rows are lost
  • explode_outer() returns null that approxCountDistinct() can calculate to return 0

@elliVM elliVM self-assigned this Nov 4, 2024
@elliVM elliVM requested a review from 51-code November 4, 2024 10:45
Copy link
Contributor

@51-code 51-code left a comment

Choose a reason for hiding this comment

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

LGTM. Clarification maybe needed: does the test produce an empty tokenizer column because the _raw value is empty in index_Empty?

@kortemik kortemik merged commit 17f2ce6 into teragrep:main Nov 5, 2024
1 check passed
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