gaoxinge commented on issue #2027:
URL: 
https://github.com/apache/arrow-datafusion/issues/2027#issuecomment-1415535574

   @alamb Is there any specifications for cast expression as column name? 
   
   I raise a [pr](https://github.com/apache/arrow-datafusion/pull/5170) for 
cast expression, but it not pass all the tests, and I find my solution is ugly 
is some cases:
   
   ```sql
   > select cast('1969-01-01T00:00:00.1Z' as timestamp);
   "+---------------------------------------------------------------------+",
   "| CAST(Utf8(\"1969-01-01T00:00:00.1Z\") AS Timestamp(Nanosecond, None)) |",
   "+---------------------------------------------------------------------+",
   "| 1969-01-01T00:00:00.100                                             |",
   "+---------------------------------------------------------------------+",
   ```
   


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