You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Pavel Tupitsyn (Jira)" <ji...@apache.org> on 2023/01/23 10:32:00 UTC

[jira] [Created] (IGNITE-18602) ColumnMetadata.scale does not conform to Javadoc

Pavel Tupitsyn created IGNITE-18602:
---------------------------------------

             Summary: ColumnMetadata.scale does not conform to Javadoc
                 Key: IGNITE-18602
                 URL: https://issues.apache.org/jira/browse/IGNITE-18602
             Project: Ignite
          Issue Type: Bug
          Components: sql
    Affects Versions: 3.0.0-beta1
            Reporter: Pavel Tupitsyn
             Fix For: 3.0.0-beta2


Javadoc says "Returns SQL column scale or {@code -1} if scale is not applicable for this type" (https://github.com/apache/ignite-3/blob/316545c3a15135a6441bbcfa6725f960152408a5/modules/api/src/main/java/org/apache/ignite/sql/ColumnMetadata.java#L66), 

but implementation returns "UNDEFINED_SCALE = Integer.MIN_VALUE" (https://github.com/apache/ignite-3/blob/316545c3a15135a6441bbcfa6725f960152408a5/modules/api/src/main/java/org/apache/ignite/sql/ColumnMetadata.java#L30)



--
This message was sent by Atlassian Jira
(v8.20.10#820010)