You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2022/06/21 17:58:42 UTC

[GitHub] [arrow] tielushko opened a new issue, #13410: [JS] No longer able to access columnar data in arrow v8.0

tielushko opened a new issue, #13410:
URL: https://github.com/apache/arrow/issues/13410

   Hi!
   
   I have been trying to transition to using the newest version of the apache-arrow-js library and noticed the entire API was re-written.
   
   I wanted to have the ability to still access values in a columnar way, instead of the row record representation, such as
   
   `arrowTable.getColumn('fieldName')`
   
   but I noticed that this functionality is no longer documented. Everything is accessed through batches of rows.
   
   Additionally, such useful methods as row.toJSON are now unavailable. 
   
   I would love to hear if such functionality is still available. The ability to get column vector data, and quickly transform table rows to JSON records was our primary use cases for the JS library.
   
   I appreciate your help!
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [arrow] tielushko closed issue #13410: [JS] No longer able to access columnar data in arrow v8.0

Posted by GitBox <gi...@apache.org>.
tielushko closed issue #13410: [JS] No longer able to access columnar data in arrow v8.0
URL: https://github.com/apache/arrow/issues/13410


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [arrow] tielushko commented on issue #13410: [JS] No longer able to access columnar data in arrow v8.0

Posted by GitBox <gi...@apache.org>.
tielushko commented on issue #13410:
URL: https://github.com/apache/arrow/issues/13410#issuecomment-1162151806

   I think I found the property called getChild. Was confused as to what it meant at first, but when tried calling it, I got Vector with the columnar values from the table!
   
   As far as table rows, I can now have an iterator for each row and make a .toJSON() call on that row to get the data.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org