创建表格报错 Can't use duplicate policy LAST or FIRST when the number of sort keys is less than 2.

create table dfs://jq.trade_days(trade_day DATETIME [comment="交易日期"]), sortColumns=["trade_day"], keepDuplicates=LAST => Usage: createTable(dbHandle, table, tableName, [compressMethods], [sortColumns], [keepDuplicates=ALL]). Can't use duplicate policy LAST or FIRST when the number of sort keys is less than 2.

请问创建表格时,这个报错是什么意思呢

请先 登录 后评论

1 个回答

wfHuang

LAST模式下需要设置两个sortcolumn列

请先 登录 后评论
  • 1 关注
  • 0 收藏,285 浏览
  • hmWei 提出于 2023-12-15 15:31

相似问题