You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2022/10/28 20:05:08 UTC

[GitHub] [arrow-rs] tustvold opened a new pull request, #2971: Generalize filter byte array (#2969)

tustvold opened a new pull request, #2971:
URL: https://github.com/apache/arrow-rs/pull/2971

   # Which issue does this PR close?
   
   <!--
   We generally require a GitHub issue to be filed for all bug fixes and enhancements and this helps us generate change logs for our releases. You can link an issue to this PR using the GitHub syntax. For example `Closes #123` indicates that this PR will close issue #123.
   -->
   
   Part of #2969
   
   # Rationale for this change
    
   <!--
   Why are you proposing this change? If this is already explained clearly in the issue then this section is not needed.
   Explaining clearly why changes are proposed helps reviewers understand your changes and offer better suggestions for fixes.
   -->
   
   Should make filtering byte arrays significantly faster, we actually lacked a specialized implementation for them
   
   # What changes are included in this PR?
   
   <!--
   There is no need to duplicate the description in the issue here but it is sometimes worth providing a summary of the individual changes in this PR.
   -->
   
   # Are there any user-facing changes?
   
   
   <!--
   If there are user-facing changes then we may require documentation to be updated before approving the PR.
   -->
   
   <!---
   If there are any breaking changes to public APIs, please add the `breaking change` label.
   -->
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [arrow-rs] ursabot commented on pull request #2971: Specialize filter kernel for binary arrays (#2969)

Posted by GitBox <gi...@apache.org>.
ursabot commented on PR #2971:
URL: https://github.com/apache/arrow-rs/pull/2971#issuecomment-1298978691

   Benchmark runs are scheduled for baseline = c7f97c295fdddc8e3eb149ed86b7c0588528a6be and contender = 62e878e12229c7bc911e3096390fd72a8e20bda2. 62e878e12229c7bc911e3096390fd72a8e20bda2 is a master commit associated with this PR. Results will be available as each benchmark for each run completes.
   Conbench compare runs links:
   [Skipped :warning: Benchmarking of arrow-rs-commits is not supported on ec2-t3-xlarge-us-east-2] [ec2-t3-xlarge-us-east-2](https://conbench.ursa.dev/compare/runs/76701beecc0d4d10a4cd93b106d05f93...b9514d4d6de34b18994dd3b1d4967be5/)
   [Skipped :warning: Benchmarking of arrow-rs-commits is not supported on test-mac-arm] [test-mac-arm](https://conbench.ursa.dev/compare/runs/50d7d31f45574488a52469f827dfd353...c54eb96dfd26486cb0dd4f56b6d3054d/)
   [Skipped :warning: Benchmarking of arrow-rs-commits is not supported on ursa-i9-9960x] [ursa-i9-9960x](https://conbench.ursa.dev/compare/runs/0792a770bb5b4c77b2cd7f977076ca6f...75f6a5985a2041ecad5a18d15faf6610/)
   [Skipped :warning: Benchmarking of arrow-rs-commits is not supported on ursa-thinkcentre-m75q] [ursa-thinkcentre-m75q](https://conbench.ursa.dev/compare/runs/93f6554f46c547288b90c2fbb324ee70...df0282903998459d8a36c2d555e88932/)
   Buildkite builds:
   Supported benchmarks:
   ec2-t3-xlarge-us-east-2: Supported benchmark langs: Python, R. Runs only benchmarks with cloud = True
   test-mac-arm: Supported benchmark langs: C++, Python, R
   ursa-i9-9960x: Supported benchmark langs: Python, R, JavaScript
   ursa-thinkcentre-m75q: Supported benchmark langs: C++, Java
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [arrow-rs] viirya commented on a diff in pull request #2971: Specialize filter kernel for binary arrays (#2969)

Posted by GitBox <gi...@apache.org>.
viirya commented on code in PR #2971:
URL: https://github.com/apache/arrow-rs/pull/2971#discussion_r1010671271


##########
arrow-select/src/filter.rs:
##########
@@ -626,17 +626,17 @@ where
 ///

Review Comment:
   Not shown in the diff, but the comment is out-of-dated:
   
   ```
   /// `filter` implementation for string arrays
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [arrow-rs] alamb commented on a diff in pull request #2971: Specialize filter kernel for binary arrays (#2969)

Posted by GitBox <gi...@apache.org>.
alamb commented on code in PR #2971:
URL: https://github.com/apache/arrow-rs/pull/2971#discussion_r1010599750


##########
arrow-select/src/filter.rs:
##########
@@ -626,17 +626,17 @@ where
 ///
 /// Note: NULLs with a non-zero slot length in `array` will have the corresponding
 /// data copied across. This allows handling the null mask separately from the data
-fn filter_string<OffsetSize>(
-    array: &GenericStringArray<OffsetSize>,
+fn filter_bytes<T>(

Review Comment:
   The comment a few lines above is now out of date:
   
   > /// `filter` implementation for string arrays
   
   Should be:
   
   > /// `filter` implementation for byte arrays



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [arrow-rs] tustvold merged pull request #2971: Specialize filter kernel for binary arrays (#2969)

Posted by GitBox <gi...@apache.org>.
tustvold merged PR #2971:
URL: https://github.com/apache/arrow-rs/pull/2971


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org