alamb commented on issue #935:
URL: 
https://github.com/apache/arrow-datafusion/issues/935#issuecomment-906327322


   I ran the same query in MYSQL and POSTGRES and they do produce different 
results (!!): 
   
   mysql
   ```
   mysql> SELECT TRIM(BOTH 'leadtrail' FROM 'leadtrailtextleadtrail');
   +------------------------------------------------------+
   | TRIM(BOTH 'leadtrail' FROM 'leadtrailtextleadtrail') |
   +------------------------------------------------------+
   | text                                                 |
   +------------------------------------------------------+
   1 row in set (0.00 sec)
   ```
   
   postgres
   ```
   alamb=# SELECT TRIM(BOTH 'leadtrail' FROM 'leadtrailtextleadtrail');
    btrim 
   -------
    x
   (1 row)
   ```
   
   So as @seddonm1  points out DF is consistent with postgres which is the 
current target


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