Opened 8 years ago

Closed 6 years ago

#1283 closed defect (fixed)

min/max on structs is incorrect

Reported by: Dimitar Misev Owned by: Peter Baumann
Priority: major Milestone: 10.0
Component: qlparser Version: development
Keywords: Cc: Peter Baumann
Complexity: Medium

Description

It considers each component of the tuple as an independent comparison:

$ rasql -q 'select {2,1} min {1,5} from mr as c' --out string
  Result element 1: { 1, 1 }

The correct result should be

{ 1, 5 }

Change History (6)

comment:1 by Peter Baumann, 8 years ago

Owner: changed from Dimitar Misev to Peter Baumann
Status: newassigned

doc to be updated

comment:2 by Dimitar Misev, 7 years ago

Milestone: 9.210.0

comment:3 by bbell, 7 years ago

Just checked this query today; the result should be correct.

Can someone verify?

comment:4 by Dimitar Misev, 7 years ago

you can see in comment:1 that this ticket is about updating the documentation (and is assigned to pbaumann).

in reply to:  4 comment:5 by bbell, 7 years ago

Replying to dmisev:

you can see in comment:1 that this ticket is about updating the documentation (and is assigned to pbaumann).

Thanks for the clarification!

comment:6 by Dimitar Misev, 6 years ago

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.