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

[Python] Table.from_arrays segfaults if lists and schema are passed

    XMLWordPrintableJSON

Details

    Description

          data = [
              list(range(5)),
              [-10, -5, 0, 5, 10]
          ]
      
          schema = pa.schema([
              pa.field('a', pa.uint16()),
              pa.field('b', pa.int64())
          ])
      
          pa.Table.from_arrays(data, schema=schema)
      

      Whereas it should raise a `TypeError`

      Attachments

        Issue Links

          Activity

            People

              kszucs Krisztian Szucs
              kszucs Krisztian Szucs
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 40m
                  40m