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/12/02 01:10:00 UTC
[jira] [Resolved] (ASTERIXDB-2992) Fix integer types constructors handling of floating-point string
[ https://issues.apache.org/jira/browse/ASTERIXDB-2992?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dmitry Lychagin resolved ASTERIXDB-2992.
----------------------------------------
Resolution: Fixed
> 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
> Assignee: Dmitry Lychagin
> Priority: Major
> 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)