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

Testing scalar equality against None causes bus error in python

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.0.0
    • None
    • Python
    • None
    • OS X/ py 3.8.5 / pa 3.0.0

    Description

      When attempting to test equality of a pa.scalar to the value None in pyarrow, I receive a bus error and the process exits entirely. Carries for both string and numeric scalars, but otherwise no idea of the cause, solution, or scope, just reporting. Present on two different machines. Happy to give more details if the code below is not reproducible.  

       

      import pyarrow as pa
      g = pa.scalar("foo")
      g == None
      # WITH OUTPUT:
      
      Python 3.8.5 (default, Sep  4 2020, 02:22:02) 
      [Clang 10.0.0 ] :: Anaconda, Inc. on darwin
      Type "help", "copyright", "credits" or "license" for more information.
      >>> import pyarrow as pa
      >>> pa.__version__
      '3.0.0'
      >>> g = pa.scalar("foo")
      >>> g == None
      [1]    25176 bus error  python
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            bmschmidt Ben Schmidt
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: