Skip to content
This repository was archived by the owner on May 10, 2024. It is now read-only.

Conversation

@wesm
Copy link
Member

@wesm wesm commented Feb 6, 2017

See ARROW-33 patch apache/arrow#322

@xhochy this fails on Int96 timestamps. I'm not sure why yet

Copy link
Member

@xhochy xhochy left a comment

Choose a reason for hiding this comment

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

+1, LGTM.

One thing that is different between ColumnReader::Impl::ReadNonNullableBatch<INT96> and the general case is that in the general implementation we use out_ptr + valid_bits_idx_ and in ReadNonNullableBatch<INT96> only out_ptr_

@wesm
Copy link
Member Author

wesm commented Feb 6, 2017

per discussion in apache/arrow#322, I think the Int96 thing is a bug that was exposed by the refactoring. if you could take a look and let me know if you agree

@wesm
Copy link
Member Author

wesm commented Feb 6, 2017

here's the view from inside gdb (at arrow/compare.cc:348)

(gdb) p left_data
$1 = (const uint8_t *) 0xcd39c0 "/\263\256\243\201t"
(gdb) p right_data
$2 = (const uint8_t *) 0xcd2840 "/\263\375\064", <incomplete sequence \303>

The first byte is equal, and because of the bug that was the only byte being compared amazingly.

@wesm
Copy link
Member Author

wesm commented Feb 6, 2017

OK, fixed the off-by-one error, the build should pass now

@wesm
Copy link
Member Author

wesm commented Feb 6, 2017

build passed on my fork: https://travis-ci.org/wesm/parquet-cpp/builds/198973522. Merging

@asfgit asfgit closed this in 98c5dda Feb 6, 2017
@wesm wesm deleted the PARQUET-866 branch February 6, 2017 22:35
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants