YoungRX opened a new issue, #34515:
URL: https://github.com/apache/arrow/issues/34515

   ### Describe the usage question you have. Please include as many useful 
details as  possible.
   
   
   I am using 8.0.0. When I set a predicate pushdown expression on some types, 
I get an error. 
   These types include `timestamp`, `date32`, `fixed_size_binary`, `string`, 
`binary`. 
   
   The error occurs in the following code:
   ```
   scanOptions->filter = 
           
arrow::compute::and_(predicate_filter_expressions).Bind(*scanOptions->dataset_schema).ValueOrDie();
   ```
   
   The error information about `date32` is as follows:
   
   > 0xffff4c1b7218 "Function 'greater' has no kernel matching input types 
(array[date32[day]], scalar[int32])
   > 
/shared/cx_obs_data/softwares/arrow/cpp/src/arrow/compute/exec/expression.cc:388
  call.function->DispatchBest("...
   
   The error information of other types is the same as the above. It seems that 
the related function is not implemented.
   
   Do versions later than 8.0.0 support predicate pushdown of these types? 
   Or do you have plans to add implementations of predicate pushdown of these 
types?
   
   In addition, how to build `Expression literal` for the decimal128 type?
   I use `arrow::compute::literal(arrow::Datum(std::forward<char*>(result)))` 
and it reports an error.
   Alternatively, the decimal128 type does not implement predicate pushdown 
either.
   
   
   
   ### Component(s)
   
   C++


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@arrow.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to