You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
OPL / query-engine virtual values column for NumberDataPoint #4521
However in OTAP, this is represented by two arrays, one called value_double and the other value_in t and the convention is that if value_double is null for some row then it must be an int value.
| int_value | Int64 | - | No | - | - | Integer value |
| double_value | Float64 | - | No | - | - | Double value |
In #4500 we added the capability to assign the value of these fields, but it's a bit awkward for users who want to assign the integer value because they need to do:
set int_value = 5, double_value = null
It would be nice if we provided a virtual value column on this type that could, based on the result of the expression, determine which column is supposed to be assigned (and assign the other column to null, e.g. dropping it).
Activity