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/11/19 09:02:55 UTC

[GitHub] [arrow-datafusion] liukun4515 opened a new pull request, #4290: replace the comparison op for decimal array op using the arrow-rs kernel

liukun4515 opened a new pull request, #4290:
URL: https://github.com/apache/arrow-datafusion/pull/4290

   # 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 https://github.com/apache/arrow-datafusion/issues/4289
   
   We will replace the arithmetic op later in the follow-up pr.
   
   # 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.  
   -->
   
   # 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 these changes tested?
   
   <!--
   We typically require tests for all PRs in order to:
   1. Prevent the code from being accidentally broken by subsequent changes
   2. Serve as another way to document the expected behavior of the code
   
   If tests are not included in your PR, please explain why (for example, are they covered by existing tests)?
   -->
   
   # 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 `api 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-datafusion] liukun4515 commented on a diff in pull request #4290: replace the comparison op for decimal array op using the arrow-rs kernel

Posted by GitBox <gi...@apache.org>.
liukun4515 commented on code in PR #4290:
URL: https://github.com/apache/arrow-datafusion/pull/4290#discussion_r1027171523


##########
datafusion/physical-expr/src/expressions/binary.rs:
##########
@@ -2384,25 +2382,90 @@ mod tests {
         )
         .unwrap();
 
-        // compare decimal array with other array type
+        let value: i128 = 123;

Review Comment:
   migrate the test in `kernels_arrow.rs` to here



-- 
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-datafusion] alamb commented on pull request #4290: replace the comparison op for decimal array op using the arrow-rs kernel

Posted by GitBox <gi...@apache.org>.
alamb commented on PR #4290:
URL: https://github.com/apache/arrow-datafusion/pull/4290#issuecomment-1321111987

   CI failure due to https://github.com/apache/arrow-datafusion/issues/4294 (not this PR)


-- 
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-datafusion] liukun4515 commented on a diff in pull request #4290: replace the comparison op for decimal array op using the arrow-rs kernel

Posted by GitBox <gi...@apache.org>.
liukun4515 commented on code in PR #4290:
URL: https://github.com/apache/arrow-datafusion/pull/4290#discussion_r1027096113


##########
datafusion/physical-expr/src/expressions/binary/kernels_arrow.rs:
##########
@@ -516,42 +451,7 @@ mod tests {
             25,
             3,
         );
-        // eq: left == right

Review Comment:
   move these test to the test of `binary.rs` file. cc @alamb 



-- 
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-datafusion] ursabot commented on pull request #4290: replace the comparison op for decimal array op using the arrow-rs kernel

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

   Benchmark runs are scheduled for baseline = 71e345fcc9c7aa529089230a867e74f151ba0c7a and contender = 60d9bbe87a4e38e7b01229cf0690e7689ff321f4. 60d9bbe87a4e38e7b01229cf0690e7689ff321f4 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-datafusion-commits is not supported on ec2-t3-xlarge-us-east-2] [ec2-t3-xlarge-us-east-2](https://conbench.ursa.dev/compare/runs/fb2d1e3413264291a41451139ee04aa6...cedccfd1153e43b384baf0c0321ccce9/)
   [Skipped :warning: Benchmarking of arrow-datafusion-commits is not supported on test-mac-arm] [test-mac-arm](https://conbench.ursa.dev/compare/runs/64587a16e7744b3cb8d2235d0ebc478b...9c3269831548480ca9da7bda4054e55c/)
   [Skipped :warning: Benchmarking of arrow-datafusion-commits is not supported on ursa-i9-9960x] [ursa-i9-9960x](https://conbench.ursa.dev/compare/runs/38a53ab1a46144b49070be4f5dc2d971...ce8fc459455e4b15bdac221afa097490/)
   [Skipped :warning: Benchmarking of arrow-datafusion-commits is not supported on ursa-thinkcentre-m75q] [ursa-thinkcentre-m75q](https://conbench.ursa.dev/compare/runs/dad464370b0c4ccc8c4f175d593db894...a14d7f35da744620b10fff10c5233c7a/)
   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-datafusion] alamb merged pull request #4290: replace the comparison op for decimal array op using the arrow-rs kernel

Posted by GitBox <gi...@apache.org>.
alamb merged PR #4290:
URL: https://github.com/apache/arrow-datafusion/pull/4290


-- 
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