dremio mongodb objectid 转换问题

dremio 默认将mongodb 的objectid 转换为varbinary,如果需要字符串格式的id,需要使用函数处理

参考函数

lower(to_hex("_id"))

参考效果

 

 

参考资料

https://docs.dremio.com/sql-reference/sql-functions/string.html

posted on 2021-02-06 23:01  荣锋亮  阅读(285)  评论(0编辑  收藏  举报

导航