【发布时间】:2022-06-21 17:54:24
【问题描述】:
我在 cassandra 中有一个巨大的 orderhistory 表,其中包含 2013 年的数据,但我只想卸载最后 12 个月的 orderhistory 数据,我使用下面的命令来卸载从 2013 年开始的所有数据并存储在路径 @987654321 @。如何修改以下语句,以便每次运行时它应该只选择最近 12 个月的数据?
dsbulk unload -k customer_data -t crawlsiteidentifiedpages -h '172.xx.xx.xxx' \
-c json -url data/json/customer_data/orderhistory/data
【问题讨论】: