Opened 7 years ago

Closed 6 years ago

#1763 closed enhancement (fixed)

Attach null values to an mdd expression

Reported by: Dimitar Misev Owned by: Dimitar Misev
Priority: major Milestone: 9.7
Component: qlparser Version: development
Keywords: Cc: Peter Baumann, bbell, Vlad Merticariu
Complexity: Medium

Description (last modified by Dimitar Misev)

It should be possible to dynamically set null values to any mdd expression, e.g. marray constructor, decode, etc. The syntax is as follows:

mddExp NULL VALUES [...]

Example:

SELECT avg_cells(1 + (c NULL VALUES [0])) FROM coll AS c

Note: this replaces any previous null values of mddExp.

Change History (8)

comment:1 by Peter Baumann, 7 years ago

I'd prefer common SQL style "expr NULL VALUES", with low binding priority.
Hm…nothing like that in SQL/MDA?

comment:2 by Dimitar Misev, 7 years ago

No, null values as we have it is not in SQL/MDA.

comment:3 by Peter Baumann, 7 years ago

maybe you could start an enhancement list for an SQL/MDA v1.1 ?

comment:4 by Dimitar Misev, 6 years ago

Description: modified (diff)
Owner: set to Dimitar Misev
Status: newaccepted

comment:5 by Dimitar Misev, 6 years ago

Description: modified (diff)

comment:6 by Peter Baumann, 6 years ago

a good move! How could an existing null value set get updated?

comment:7 by Dimitar Misev, 6 years ago

The null values specified in place like this replace the existing null values.

comment:8 by Dimitar Misev, 6 years ago

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