Void Initialization
Data type VOID initialization can only be applied to scalars. Creating a vector of VOID type is not supported.
$ x=NULL;
$ typestr x;
VOID
$ take(NULL, 4);
Not allowed to create void vector
Adding a NULL column to a table is not supported.
$ t = table(rand(10,10) as x)
$ addColumn(t, `col1, VOID)
Invalid data type: 0
$ t[`col1]=NULL
Not allowed to create void vector
You can use select
with NULL to generate a table with VOID column.
$ tmp=select *, NULL from t
$ typestr(tmp[`NULL])
$ VOID VECTOR