kdb+

Kdb DbMaint from symbol to symbol List


I have an existing symbol column in HDB and want to cast that to a symbol list, can anyone advise what is the best way of doing that? I know that adding a column is as follows:

.ds.hdb.addCol[`:.;`tab;`eventType;enlist`$()]

but how would we cast an existing one?


Solution

  • https://github.com/KxSystems/kdb/blob/master/utils/dbmaint.md#fncol

    fncol[`:.;`tab;`eventType;{enlist each x}]