wjones127 commented on issue #45862:
URL: https://github.com/apache/arrow/issues/45862#issuecomment-2737679125

   This can be used as a workaround:
   
   ```js
   function patchedVectorFromArray(
       data,
       type
   ) {
       // If FSL type with float
       if (arrow.DataType.isFixedSizeList(type) && 
arrow.DataType.isFloat(type.valueType)) {
           let extendedData = [...data, new Array(type.listSize).fill(0.0)];
           let array = arrow.vectorFromArray(extendedData, type);
           return array.slice(0, data.length);
       } else {
           return arrow.vectorFromArray(data, type);
       }
   }
   ```


-- 
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-unsubscr...@arrow.apache.org

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

Reply via email to