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

[Python] pyarrow 3.0 issues with turbodbc

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.0.0
    • 3.0.0
    • Python
    • pyarrow 3.0.0
      fsspec 0.8.4
      adlfs v0.5.9
      pandas 1.2.1
      numpy 1.19.5
      turbodbc 4.1.1

    Description

      This is more of a turbodbc issue I think, but perhaps someone here would have some idea of what changed to cause potential issues. 

      cursor = connection.cursor()
      cursor.execute("select top 10 * from dbo.tickets")
      table = cursor.fetchallarrow()

      I am able to run table.num_rows and it will print out 10.

      If I run table.to_pandas() or table.schema or try to write the table to a dataset, my kernel dies with no explanation. I reverted back to pyarrow 2.0 and the same code works again.

      https://github.com/blue-yonder/turbodbc/issues/289

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            ldacey Lance Dacey
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: