Uh oh!
There was an error while loading. Please reload this page.
ARROW-6152: [C++][Parquet] Add parquet::ColumnWriter::WriteArrow method, refactor - #5036
ARROW-6152: [C++][Parquet] Add parquet::ColumnWriter::WriteArrow method, refactor #5036wesm wants to merge 10 commits into
Conversation
wesm
commented
Aug 8, 2019
hatemhelal
left a comment
There was a problem hiding this comment.
Overall, looks good to me.
There was a problem hiding this comment.
I can't tell without compiling but I wondered if this could be done in the member initializer list:
ArrowWriteContext(MemoryPool* memory_pool, ArrowWriterProperties* properties)
: memory_pool(memory_pool), properties(properties), data_buffer(AllocateBuffer(memory_pool)),
def_levels_buffer(AllocateBuffer(memory_pool)) { }
This might fall in the category of a micro (or even nano) optimization.
wesm
commented
Aug 8, 2019
@romainfrancois@nealrichardson I've noted that when I run |
nealrichardson
commented
Aug 8, 2019
@wesm can you provide a traceback/console output of what the failure looks like/where it happens? |
wesm
commented
Aug 8, 2019
|
wesm
commented
Aug 8, 2019
And of course So outside of the context of |
wesm
commented
Aug 8, 2019
+1, will merge this PR once Travis CI runs... |
nealrichardson
commented
Aug 8, 2019
One thing you can check out is what is in |
wesm
commented
Aug 8, 2019
Ugh |
wesm
commented
Aug 8, 2019
IMHO this is a bug in R. If you have $LD_LIBRARY_PATH set it should respect that |
nealrichardson
commented
Aug 8, 2019
OIC, it puts its path before the one you provide. That's odd. If you reverse the order of the paths in that next to last line, does it work as expected? |
wesm
commented
Aug 8, 2019
This works fine I'll do that as a workaround. We should document it for developers |
I guess I can kind of understand the point of view of wanting to isolate R from being contaminated by the user's environment, including modifications of LD_LIBRARY_PATH. Since if you build a package when LD_LIBRARY_PATH set and then unset it, that package could be broken |
codecov-io
commented
Aug 9, 2019
Codecov Report
@@ Coverage Diff @@## master #5036 +/- ##
==========================================
+ Coverage 87.57% 89.17% +1.59%
==========================================
Files 1008 727 -281 Lines 143814 102958 -40856 Branches 1418 0 -1418 ==========================================
- Hits 125952 91814 -34138 + Misses 17500 11144 -6356 + Partials 362 0 -362
Continue to review full report at Codecov.
|
nealrichardson
commented
Aug 9, 2019
If it's a bug, it's been around a while. I traced it back to a commit from the end of the Clinton presidency: wch/r-source@b4f9299 |
Functionally the library is unchanged