yaooqinn edited a comment on issue #26520: [SPARK-29896][SQL] Extend typed literals support for all spark native types URL: https://github.com/apache/spark/pull/26520#issuecomment-553902368 # PostgreSQL ```sql postgres=# select bool 't'; bool ------ t (1 row) postgres=# select float4 '1.00000111'; float4 ----------- 1.0000011 (1 row) postgres=# select float8 '1.00000111'; float8 ------------ 1.00000111 (1 row) postgres=# select decimal(10,9) '1.00000111'; numeric ------------- 1.000001110 (1 row) ```
---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
