标签: cassandra cql dml
我正在尝试更新要从Cassandra中的同一个表中的column2复制的表column1值。
我试过这些:但是抛出错误 没有可行的选择在输入'where'(... emp set col1_name = [shape] where ...)
UPDATE emp SETcol1_name = col2_name WHERE id IN (1,2,3); UPDATE emp SET col1_name = select(col2_name) WHERE id IN (1,2,3);