Clickhouse 中的字符串类型转换
我在表中有一个名为“sessions”的列,看起来像这个
会话 |
---|
[ {"key": "hello", "value": {"string_value": null, "int_value": 1, "float_value": null, "double_value ": null}} ] |
[ {"key": "欢迎光临", "value": {"string_value": "venue", "int_value": null, "float_value": null, "double_value": null}} ] |
当我检查这些行值的类型时,它返回 Nullable(String) 而不是 Array
有没有办法将这些行值转换为有效数组?谢谢
I have a column named "sessions" in table which looks like this
session |
---|
[ {"key": "hello", "value": {"string_value": null, "int_value": 1, "float_value": null, "double_value": null}} ] |
[ {"key": "welocome", "value": {"string_value": "venue", "int_value": null, "float_value": null, "double_value": null}} ] |
when i checked the type of these row values it returns Nullable(String) instead of Array
is there a way to convert these row values to a valid array ? thank you
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论