Home › Forums › kdb+ › Q chk cannot work › Re: Q chk cannot work
-
.Q.chk
adds missing tables, not missing columns.https://code.kx.com/q/ref/dotq/#chk-fill-hdb
Use
addcol
in kdb/utils/dbmaint.md to add columns.Note: this will write to all partitions so ensure you do not overwrite valid data.
https://github.com/KxSystems/kdb/blob/f06c97784b0859517a8461d76607c07a47458ae5/utils/dbmaint.q#L11
add1col
can be used instead to choose which partitions to write to.