parthchandra commented on PR #21508:
URL: https://github.com/apache/datafusion/pull/21508#issuecomment-4239762029

   There are some tricky cases that will likely not get parsed correctly -  
opening/closing parens inside a quoted string, `]` inside an array element, 
nested cast.
   ```
     arrow_cast(regexp_replace(x, ')', ''), 'Utf8')                             
                                                                                
                                                           
     SELECT ['a]b', 'c']                                                        
                                                                                
                                                           
     SELECT [['a]b', 'c'], ['d', 'e']]                                          
                                                                                
                                                           
     SELECT coalesce(x, ')')::TEXT                                              
                                                                                
                                                           
     SELECT coalesce('(', x)::TEXT                                              
                                                                                
                                                           
     SELECT CAST(CAST(x AS FLOAT8) AS FLOAT8)                                   
                                                                                
                                                           
   ```
   We could document these if they turn out to be hard to address.


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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to