You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "zizhao.chen (Jira)" <ji...@apache.org> on 2021/09/02 10:09:00 UTC

[jira] [Created] (ARROW-13861) [JS] Create Field with List type will throw error

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)