[GitHub] [spark] wangyum commented on pull request #29022: [SPARK-32207][SQL] Support 'F'-suffixed Float Literals

2020-07-08 Thread GitBox
wangyum commented on pull request #29022: URL: https://github.com/apache/spark/pull/29022#issuecomment-655321571 Is there a system support `F`-suffixed as float Literal? This is an automated message from the Apache Git

[GitHub] [spark] wangyum commented on pull request #29022: [SPARK-32207][SQL] Support 'F'-suffixed Float Literals

2020-07-08 Thread GitBox
wangyum commented on pull request #29022: URL: https://github.com/apache/spark/pull/29022#issuecomment-655312115 Maybe we should convert suffix to alias. Please see these examples for more details: Presto:

[GitHub] [spark] wangyum commented on pull request #29022: [SPARK-32207][SQL] Support 'F'-suffixed Float Literals

2020-07-07 Thread GitBox
wangyum commented on pull request #29022: URL: https://github.com/apache/spark/pull/29022#issuecomment-654874240 ```sql postgres=# CREATE TABLE test_float2 as SELECT 1.0F, 2.0D, 1.0e2, 1.0e; SELECT 1 postgres=# \d test_float2; Table "public.test_float2" Column