-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[WIP]: update to [email protected] #55
Conversation
Ah after reviewing, it seems only the tests that use the |
- implements Arrow column reflection as an Arrow TypeVisitor - updates main.cpp to reflect Arrow 0.3.0's internal API changes
3831e65
to
2458efa
Compare
@trxcllnt This is great, thanks! I'm currently traveling but will take a look at where it's failing within the webasm. Unfortunately the sourcemap support for webasm is lacking in Chrome, so I've had to revert to printf style debugging when there are issues in the integration wrapper. |
@trxcllnt OK, found the issue. It looks like DictionaryVectors aren't accessing their nullBitmaps from the indices array - so this line is failing: https://github.com/jpmorganchase/perspective/pull/55/files#diff-2a6d0602bc7b53fd50c4a37a3f1ec83aR461. Looking at the arrowjs code, it looks like the nullBitmap attribute on Vector is automatically proxied onto the data attribute (https://github.com/apache/arrow/blob/master/js/src/vector.ts#L61), while for DictionaryVectors this should be pointing to the indices object. The nullCount, however, seems to be correct. I'm having a little trouble debugging getters in chrome, so I'm not able to see where that attribute is being accessed from. Edit - it looks like the nullCount is being proxied from indices array on the DictionaryData object - https://github.com/apache/arrow/blob/master/js/src/data.ts#L160, so probably just need to do the same for the nullBitmap. |
@nmichaud ah nice catch! We should add a |
@trxcllnt There's no rush to get this merged. I'd rather not add special casing to get around a bug in an upstream library, unless you think it will be a while before there is a new arrowjs release with the fix. |
@nmichaud sounds good. I opened https://issues.apache.org/jira/browse/ARROW-2214 and apache/arrow#1659. We should be able to get a 0.3.1 release out in the next few days. |
Update d3fc with fixed seriesSvgGrouped
Continuing from #38, this PR includes the following changes:
TypeVisitor
main.cpp
to reflect Arrow 0.3.0's internal API changesI marked this PR as WIP until I can get all the arrow tests passing. Compiling with
PSP_DEBUG=1
, this is the stack trace of the failures:My wasm-foo is not strong, but I'm happy to continue work here with some guidance (@nmichaud?) from your team. Thanks!
p.s. I apologize on behalf of VSCode for all the white-space edits.