Blajda opened a new issue, #7165:
URL: https://github.com/apache/arrow-datafusion/issues/7165

   ### Is your feature request related to a problem or challenge?
   
   In the delta-rs project we support operations such as delete, update, and 
merge where users can supply predicate as either a string or a DataFusion 
`Expr`. String  predicates go through sql-parser to obtain an `Expr` and are 
evaluated. At the end of each operation the  expression must be converted back 
to a string to store in the transaction log for conflict resolution. 
   
   The implementations for `create_name` and `canonical_name` almost fit this 
need but scalar values are surrounded by their type which cannot be parsed by 
sql-parser.
   
   E.G `col1 = 1` becomes `col1 = Int32(1)` 
   
   
   
   ### Describe the solution you'd like
   
   Given an `Expr` one should be able to obtain it's string representation that 
can be parsed by sql parser.
   
   
   ### Describe alternatives you've considered
   
   _No response_
   
   ### Additional context
   
   _No response_


-- 
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