You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@asterixdb.apache.org by "Dmitry Lychagin (Jira)" <ji...@apache.org> on 2021/11/30 21:50:00 UTC

[jira] [Created] (ASTERIXDB-2992) Fix integer types constructors handling of floating-point string

Dmitry Lychagin created ASTERIXDB-2992:
------------------------------------------

             Summary: Fix integer types constructors handling of floating-point string
                 Key: ASTERIXDB-2992
                 URL: https://issues.apache.org/jira/browse/ASTERIXDB-2992
             Project: Apache AsterixDB
          Issue Type: Bug
          Components: FUN - Functions
    Affects Versions: 0.9.7
            Reporter: Dmitry Lychagin
             Fix For: 0.9.7


The integer type constructors need to handle a floating-point string expression similar to a floating-point number expression instead of returning NULL.
{noformat}tinyint(expr), smallint(expr), int(expr), and bigint(expr)
e.g tinyint(4.1) and tinyint("4.1"){noformat}



--
This message was sent by Atlassian Jira
(v8.20.1#820001)