table table_name ADD COLUMN IF NOT EXISTS chk_col jsonb not null
DEFAULT '{}'::jsonb; 在这个脚本中,我得到了“错误:已经存在:列已经存在”,但是表中没有列chk_col。如果我删除DB,然后再次创建,相同的脚本将成功执行。 如何在不删除数据库的情况下对其进行更正?
org.apache.cassandra.exceptions.AlreadyExistsException: Cannot add already existing column family "nameOfColumn" to keyspace我想要做的是检查表是否已经存在。我知道我可以像这样检查它(),但是只能在CQL3中查看。
使用命令创建新站点后...我收到像"XXXXX已经存在“这样的消息,这是不一致的,表明出了问题。.rake aborted!FATAL: database "boardio" does not exist
(See full trace by running task with--trace)
如果要尝试