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)