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 2018/05/02 20:19:00 UTC
[jira] [Resolved] (ASTERIXDB-2378) Add DIV, MOD, change handling of
integers operands in /
[ https://issues.apache.org/jira/browse/ASTERIXDB-2378?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dmitry Lychagin resolved ASTERIXDB-2378.
----------------------------------------
Resolution: Fixed
> Add DIV, MOD, change handling of integers operands in /
> -------------------------------------------------------
>
> Key: ASTERIXDB-2378
> URL: https://issues.apache.org/jira/browse/ASTERIXDB-2378
> Project: Apache AsterixDB
> Issue Type: Improvement
> Components: SQL - Translator SQL++
> Reporter: Dmitry Lychagin
> Assignee: Dmitry Lychagin
> Priority: Major
>
> 1) Change "/" operator to return double if both operands are integers
> 2) Add "DIV" operator which is the same as "/" except it returns integer if both operands are integers
> 3) Add "MOD" operator which is an alias for "%" operator
> 4) Remove "IDIV" operator from the grammar
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)