Amazon redshift 红移JSON查询陌生度

Amazon redshift 红移JSON查询陌生度,amazon-redshift,Amazon Redshift,我试图查询包含JSON的红移表字段 此查询运行良好: select * from daily_process.staging where source_id is null and json_extract_path_text( misc , 'sourceidlist' ) is not null and request_date >= '2015-11-10' 但是添加第二个json_extract_path_text子句会导致json解析错误 有人看到我做错了什么吗?sour

我试图查询包含JSON的红移表字段

此查询运行良好:

select *
from daily_process.staging 
where source_id is null 
and json_extract_path_text( misc , 'sourceidlist' ) is not null 
and request_date >= '2015-11-10'
但是添加第二个json_extract_path_text子句会导致json解析错误


有人看到我做错了什么吗?

sourceidlist字段的JSON类型是什么?misc是否为每日流程的一列?一些示例JSON数据也会受到欢迎。问题似乎是JSON字段中的数据被截断,导致JSON无效。
select *
from daily_process.staging 
where source_id is null 
and json_extract_path_text( misc , 'sourceidlist' ) is not null 
and json_extract_path_text( misc , 'sourceidlist' ) <> ''  <-- adding causes error
and request_date >= '2015-11-10'