Opened 3 years ago

Closed 23 months ago

#877 closed defect (fixed)

Modulo operation does not respect null values

Reported by: vliaukevich Owned by: dmisev
Priority: major Milestone: 9.1.x
Component: catalogmgr Version: development
Keywords: Cc: dmisev
Complexity: Medium


Modulo division interprets nulls as regular values.
Definition of the collection:

typedef marray <char, 2> NullValueArrayTest;
typedef set <NullValueArrayTest> null values [5:7] NullValueSetTest;

Values (the third value is null):

$ rasql  -q 'select csv(x) from values as x' --out string --quiet

Modulo operation:

$ rasql  -q 'select csv( mod(x, 2) ) from values as x' --out string --quiet

The correct output should be:

{1}, {0}, {5} 

Change History (3)

comment:1 Changed 2 years ago by dmisev

  • Milestone set to 9.2

comment:2 Changed 23 months ago by dmisev

  • Milestone changed from 9.2 to 9.1.x

Patch submitted.

comment:3 Changed 23 months ago by dmisev

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.