update column name in partitioned table

I have a partitioned table t with columns date, class, nan. I want to update the column “nan” to “name”.
I am trying this: dateclass`name xcol t

This is not working. 

Please help me out here guys:)

For operations on partitioned tables, please refer to dbmaint.q. In particular, the rename column should achieve what you’re looking for.

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