【发布时间】:2021-04-27 04:50:30
【问题描述】:
以下是 Cassandra 中条目的外观:
id | address | age | family | name | siblings
-----------------------------------------------------------------
1 | {'city': 'c1', 'rue': 'r1'} | 23 | si | si | {'b', 'd'}
我想select 基于address 列中 JSON 的子城市:
我不确定以下陈述是否正确:
select address from Persons address.city='f';
select address.city from Persons ;
【问题讨论】: