doris-2.1.8 any函数不支持json

Viewed 34

mysql> select @@version_comment;
+----------------------------------------+
| @@version_comment                      |
+----------------------------------------+
| Doris version doris-2.1.8-1-834d802457 |
+----------------------------------------+
1 row in set (0.02 sec)

mysql> with t0 as (
  select cast(1 as bigint) id, cast('{}' as json) attr, '{}' str
)

select id, any(attr) from t0 group by id;

1105 - errCode = 2, detailMessage = ()[INTERNAL_ERROR]Agg Function any_value(json) is not implemented
mysql> 

1 Answers

我们内部追踪一下这个问题,会在未来版本中支持。