bmschmidt commented on issue #37401:
URL: https://github.com/apache/arrow/issues/37401#issuecomment-1694555001

   Update: I realized that it's possible to grab the schema off the table 
generated using the `tableFromIPC` function even without passing an associated 
data.
   
   ```js
     import { tableFromIPC } from 'apache-arrow'
     const sch = 
`/////3AAAAAQAAAAAAAKAAwABgAFAAgACgAAAAABBAAMAAAACAAIAAAABAAIAAAABAAAAAEAAAAUAAAAEAAUAAgABgAHAAwAAAAQABAAAAAAAAEDEAAAABgAAAAEAAAAAAAAAAEAAAB4AAYACAAGAAYAAAAAAAEA`
     const decoded = atob(sch);
     const bytes = Uint8Array.from(decoded, c => c.charCodeAt(0))
     console.log(tableFromIPC(bytes).schema)
   ```


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to