[jira] [Created] (FLINK-4621) Improve decimal literals of SQL API

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (FLINK-4621) Improve decimal literals of SQL API

Shang Yuanchun (Jira)
Timo Walther created FLINK-4621:
-----------------------------------

             Summary: Improve decimal literals of SQL API
                 Key: FLINK-4621
                 URL: https://issues.apache.org/jira/browse/FLINK-4621
             Project: Flink
          Issue Type: Improvement
          Components: Table API & SQL
            Reporter: Timo Walther


Currently, all SQL {{DECIMAL}} types are converted to BigDecimals internally. By default, the SQL parsers creates {{DECIMAL}} literals of any number e.g. {{SELECT 1.0, 12, -0.5 FROM x}}. I think it would be better if these simple numbers would be represented as Java primitives instead of objects.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)