Skip to content

Conversation

@tianchen92
Copy link
Contributor

Related to ARROW-6211.

This is a follow-up from #4933

public interface VectorVisitor<OUT, IN, EX extends Exception> {..}
n ValueVector :

public <OUT, IN, EX extends Exception> OUT accept(VectorVisitor<OUT, IN, EX> visitor, IN value) throws EX;

@tianchen92
Copy link
Contributor Author

cc @pravindra
I removed Ex from the generic visitor since we have too many places to try-catch exception, and currently RangeEqualsVisitor dosen't need throw exception explicitly.

@tianchen92 tianchen92 force-pushed the ARROW-6211 branch 2 times, most recently from e8af793 to bcf8a01 Compare August 17, 2019 04:13
@codecov-io
Copy link

Codecov Report

Merging #5091 into master will increase coverage by 2.08%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #5091      +/-   ##
==========================================
+ Coverage   87.64%   89.72%   +2.08%     
==========================================
  Files        1014      674     -340     
  Lines      145922   101357   -44565     
  Branches     1437        0    -1437     
==========================================
- Hits       127887    90942   -36945     
+ Misses      17673    10415    -7258     
+ Partials      362        0     -362
Impacted Files Coverage Δ
cpp/src/arrow/csv/column-builder.cc 95.54% <0%> (-1.49%) ⬇️
python/pyarrow/tests/test_parquet.py 96.38% <0%> (-0.07%) ⬇️
r/src/recordbatch.cpp
r/R/Table.R
js/src/util/fn.ts
go/arrow/array/bufferbuilder.go
r/src/symbols.cpp
rust/datafusion/src/execution/projection.rs
rust/datafusion/src/execution/filter.rs
rust/arrow/src/csv/writer.rs
... and 332 more

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 2ba0566...bcf8a01. Read the comment docs.

Copy link
Contributor

@pravindra pravindra left a comment

Choose a reason for hiding this comment

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

@tianchen92 - i'll merge after the tests complete.

@tianchen92 tianchen92 closed this Aug 19, 2019
@tianchen92 tianchen92 reopened this Aug 19, 2019
@tianchen92 tianchen92 closed this Aug 19, 2019
@tianchen92 tianchen92 reopened this Aug 19, 2019
@pravindra pravindra closed this in d59810b Aug 19, 2019
@pravindra
Copy link
Contributor

thanks for the change, @tianchen92

pribor pushed a commit to GlobalWebIndex/arrow that referenced this pull request Oct 24, 2025
…Vector interface

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

This is a follow-up from apache#4933

public interface VectorVisitor<OUT, IN, EX extends Exception> {..}
n ValueVector :

public <OUT, IN, EX extends Exception> OUT accept(VectorVisitor<OUT, IN, EX> visitor, IN value) throws EX;

Closes apache#5091 from tianchen92/ARROW-6211 and squashes the following commits:

15a5231 <tianchen> fix
bce258e <tianchen> add equals in RangeEqualsVisitor
dbaa81f <tianchen> ARROW-6211:  Remove dependency on RangeEqualsVisitor from ValueVector interface

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