select preference.id from preference where
--array(select id from date_etl where local_date >= '02/01/2011' and local_date <= '02/25/2011') && date_etl_array --option 3 gives error, do not know why? and how to fix it?
--array(select id from date_etl where local_date >= '02/01/2011' and local_date <= '02/25/2011') && '{1342715,1342739}' --option 2 runs with no error
--date_etl_array && '{1342715,1342739}' --option 1 runs with no error
=#\d preference
date_etl_array | integer[] |
选项1和选项2正在运行,但选项3没有,我不知道为什么以及如何解决它。 我正在尝试与选项3进行数组比较
答案 0 :(得分:1)
无效,因为它将bigint[]
与integer[]
进行了比较。