Opened 7 years ago

Last modified 6 years ago

#1763 closed enhancement

Attach null values to an mdd expression — at Version 5

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 (5)

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)
Note: See TracTickets for help on using tickets.