zizhao.chen created ARROW-13861:
-----------------------------------

             Summary: [JS] Create Field with List type will throw error
                 Key: ARROW-13861
                 URL: https://issues.apache.org/jira/browse/ARROW-13861
             Project: Apache Arrow
          Issue Type: Bug
    Affects Versions: 5.0.0
            Reporter: zizhao.chen


 
const field_vector=new ApacheArrow.Field(
  "field_vector",
  new ApacheArrow.List(new ApacheArrow.Float32(), 4),
  false
);
 
Will throw error{color:#FF0000} TypeError: Cannot read property 'children' of 
undefined{color}
Source code: [https://github.com/apache/arrow/blob/master/js/src/schema.ts#L137]
 
If it's a bug, i'd like to fix this.
 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to