You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2020/08/25 12:35:00 UTC

[jira] [Updated] (FLINK-19050) Doc of MAX_DECIMAL_PRECISION should be DECIMAL

     [ https://issues.apache.org/jira/browse/FLINK-19050?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

ASF GitHub Bot updated FLINK-19050:
-----------------------------------
    Labels: pull-request-available  (was: )

> Doc of MAX_DECIMAL_PRECISION should be DECIMAL
> ----------------------------------------------
>
>                 Key: FLINK-19050
>                 URL: https://issues.apache.org/jira/browse/FLINK-19050
>             Project: Flink
>          Issue Type: Bug
>          Components: Documentation
>    Affects Versions: 1.11.1
>            Reporter: Pua
>            Priority: Trivial
>              Labels: pull-request-available
>
> {code:java}
> // Define MAX/MIN precision of TIMESTAMP type according to PostgreSQL docs:
> // https://www.postgresql.org/docs/12/datatype-numeric.html#DATATYPE-NUMERIC-DECIMAL
> private static final int MAX_DECIMAL_PRECISION = 1000;
> private static final int MIN_DECIMAL_PRECISION = 1;
> {code}
> [https://github.com/apache/flink/blob/master/flink-connectors/flink-connector-jdbc/src/main/java/org/apache/flink/connector/jdbc/dialect/PostgresDialect.java#L43]
> the doc of decimal precision constants should be DECIMAL not  TIMESTAMP



--
This message was sent by Atlassian Jira
(v8.3.4#803005)