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

[Python] Dataset expression != returns bool instead of expression for invalid value

    XMLWordPrintableJSON

Details

    Description

      It's a bit a strange case, but eg when doing != {3} you get a boolean result instead of an expression:

      In [8]: ds.field('col') != 3                                                                                                                                                                                       
      Out[8]: <pyarrow.dataset.ComparisonExpression (col != 3:int64)>
      
      In [9]: ds.field('col') != {3}                                                                                                                                                                                     
      Out[9]: True
      

      Attachments

        Issue Links

          Activity

            People

              jorisvandenbossche Joris Van den Bossche
              jorisvandenbossche Joris Van den Bossche
              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 - 0.5h
                  0.5h