Opened 11 years ago
Closed 6 years ago
#542 closed enhancement (fixed)
Function calls in complex types constructors
Reported by: | Veranika Liaukevich | Owned by: | Dimitar Misev |
---|---|---|---|
Priority: | major | Milestone: | 9.7 |
Component: | qlparser | Version: | development |
Keywords: | Cc: | Peter Baumann, Veranika Liaukevich | |
Complexity: | Medium |
Description
Allow function calls inside complex types constructors (structures, complex numbers), right now only numerical constants are allowed. One of the possible usages is creating complex number constants:
select complex(cos(2),sin(2)) from data
The desired output:
Result element 1: (-0.416147,0.909297)
Also it could be useful to allow access to collection data as well:
select complex(data, data) from data
Change History (8)
comment:1 by , 11 years ago
Cc: | added |
---|---|
Owner: | changed from | to
Status: | new → assigned |
follow-up: 3 comment:2 by , 11 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
comment:3 by , 11 years ago
Resolution: | fixed |
---|---|
Status: | closed → reopened |
Replying to dmisev:
Wait, not so fast It's not fully done yet. It works now for complex numbers, but not for structures.
comment:4 by , 10 years ago
Milestone: | → 9.1 |
---|
comment:5 by , 10 years ago
Component: | undecided → qlparser |
---|
comment:6 by , 9 years ago
Milestone: | 9.1 → Future |
---|
comment:7 by , 9 years ago
Owner: | changed from | to
---|---|
Status: | reopened → assigned |
comment:8 by , 6 years ago
Milestone: | Future → 9.7 |
---|---|
Resolution: | → fixed |
Status: | assigned → closed |
Fixed for struct types as well now.
Note:
See TracTickets
for help on using tickets.
Closing, changeset:0ff494fad8cb484d4b2c00c7ec784b6b363a5ae2