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/01 20:31:00 UTC

[jira] [Created] (ASTERIXDB-2378) Add DIV, MOD, change handling of integers operands in /

Dmitry Lychagin created ASTERIXDB-2378:
------------------------------------------

             Summary: 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


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)