jackwener commented on issue #4575:
URL: 
https://github.com/apache/arrow-datafusion/issues/4575#issuecomment-1345151664

   Current this method is depend on the `Self::desc_expr(expr)`
   
   ```rust
   let desc = Self::desc_expr(expr);
   ```
   
   It will cause some strange expr.
   
   ```rust
   id_array:
   
   [
   (15, "(t2.t2_int < UInt32(10) OR t1.t1_int > UInt32(2)) AND (t2.t2_int < 
UInt32(10) OR t2.t2_name != Utf8(\"w\"))t2.t2_int < UInt32(10) OR t2.t2_name != 
Utf8(\"w\")t2.t2_name != Utf8(\"w\")Utf8(\"w\")t2.t2_namet2.t2_int < 
UInt32(10)UInt32(10)t2.t2_intt2.t2_int < UInt32(10) OR t1.t1_int > 
UInt32(2)t1.t1_int > UInt32(2)UInt32(2)t1.t1_intt2.t2_int < 
UInt32(10)UInt32(10)t2.t2_int")
   , (7, "t2.t2_int < UInt32(10) OR t1.t1_int > UInt32(2)t1.t1_int > 
UInt32(2)UInt32(2)t1.t1_intt2.t2_int < UInt32(10)UInt32(10)t2.t2_int")
   , (3, "t2.t2_int < UInt32(10)UInt32(10)t2.t2_int")
   , (1, "")
   , (2, "")
   , (6, "t1.t1_int > UInt32(2)UInt32(2)t1.t1_int")
   , (4, "")
   , (5, "")
   , (14, "t2.t2_int < UInt32(10) OR t2.t2_name != Utf8(\"w\")t2.t2_name != 
Utf8(\"w\")Utf8(\"w\")t2.t2_namet2.t2_int < UInt32(10)UInt32(10)t2.t2_int")
   , (10, "t2.t2_int < UInt32(10)UInt32(10)t2.t2_int")
   , (8, "")
   , (9, "")
   , (13, "t2.t2_name != Utf8(\"w\")Utf8(\"w\")t2.t2_name")
   , (11, "")
   , (12, "")
   ]
   ```
   
   `id_array/arrays_list` -> `affected_id` -> `project_exprs/predicate`
   
   it will cause strange column/expr


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to