Skip to content

Conversation

@tianchen92
Copy link
Contributor

Related to ARROW-6250.

Currently we already implemented RangeEqualsVisitor/VectorEqualsVisitor for comparing range/vector.
And ARROW-6211 is created to make ValueVector work with generic visitor.
We should also implement ApproxEqualsVisitor to compare floating point just like cpp does
https://github.com/apache/arrow/blob/master/cpp/src/arrow/compare.cc

@tianchen92
Copy link
Contributor Author

cc @pravindra

@codecov-io
Copy link

Codecov Report

❗ No coverage uploaded for pull request base (master@d59810b). Click here to learn what that means.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##             master    #5118   +/-   ##
=========================================
  Coverage          ?   89.73%           
=========================================
  Files             ?      674           
  Lines             ?   101447           
  Branches          ?        0           
=========================================
  Hits              ?    91035           
  Misses            ?    10412           
  Partials          ?        0

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d59810b...43ff57e. Read the comment docs.

@tianchen92
Copy link
Contributor Author

@pravindra I updated this PR, please help take a look when you have time, thanks!

@pravindra pravindra closed this in 3ddd5a1 Aug 21, 2019
pribor pushed a commit to GlobalWebIndex/arrow that referenced this pull request Oct 24, 2025
… floating point

Related to [ARROW-6250](https://issues.apache.org/jira/browse/ARROW-6250).

Currently we already implemented RangeEqualsVisitor/VectorEqualsVisitor for comparing range/vector.
And ARROW-6211 is created to make ValueVector work with generic visitor.
We should also implement ApproxEqualsVisitor to compare floating point just like cpp does
https://github.com/apache/arrow/blob/master/cpp/src/arrow/compare.cc

Closes apache#5118 from tianchen92/ARROW-6250 and squashes the following commits:

43ff57e <tianchen> approx equals support complex type
01c5c85 <tianchen> ARROW-6250:  Implement ApproxEqualsVisitor comparing approx for floating point

Authored-by: tianchen <niki.lj@alibaba-inc.com>
Signed-off-by: Pindikura Ravindra <ravindra@dremio.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants