Jimexist edited a comment on issue #1195:
URL: 
https://github.com/apache/arrow-datafusion/issues/1195#issuecomment-953949156


   I don't think order by can be followed by a string literal, no?
   
   [PostgreSQL won't allow it][1]
   
   ```
   [postgres] # select 1 as c order by 'foo';
   ERROR:  42601: non-integer constant in ORDER BY
   LINE 1: select 1 as c order by 'foo';
                                  ^
   LOCATION:  findTargetlistEntrySQL92, parse_clause.c:2012
   ```
   
   [1]: https://www.postgresql.org/docs/current/queries-order.html


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