setColumnComment#

swordfish.function.setColumnComment()#

Add comments to columns of a DFS table or an MVCC table. Use function schema to view column comments.

参数:
  • table (Constant) -- A DFS table or MVCC table.

  • columnComments (Constant) -- A dictionary. Its keys are table columns and values are comments for each column.