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

   Let's say I have:
   ```
   const testData = "hello-world"
   const test = makeData({ type: new Utf8(), data: testData, valueOffsets: [0, 
testData.length], length: 1});
   ```
   Console logging `test` gives the following output:
   ```
   Data {
     type: Utf8 {},
     children: [],
     dictionary: undefined,
     offset: 0,
     length: 1,
     _nullCount: 0,
     stride: 1,
     valueOffsets: Int32Array(2) [ 0, 11 ],
     values: Uint8Array(11) [
       104, 101, 108, 108,
       111,  45, 119, 111,
       114, 108, 100
     ],
     nullBitmap: Uint8Array(0) [],
     nullable: false
   }
   ```
   
   I have multiple test data of type `Utf8` with different data. Is there a way 
I can pass all the data as an array of data items to the `data` parameter in 
the `makeData()` method? Currently, if I try to have an array of data items for 
the `makeData()`, the result shows empty data. 
   
   I am not sure if it is possible to do it this way. Please suggest any 
alternatives to it if any. Thanks!
   
   


-- 
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