Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-13861

[JS] Create Field with List type will throw error

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Cannot Reproduce
    • 5.0.0
    • 7.0.0
    • JavaScript

    Description

       
      const field_vector=new ApacheArrow.Field(
        "field_vector",
        new ApacheArrow.List(new ApacheArrow.Float32(), 4),
        false
      );
       
      Will throw error TypeError: Cannot read property 'children' of undefined
      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.
       

      Attachments

        Activity

          People

            Unassigned Unassigned
            curry zizhao.chen
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: