Apache Doris 中文技术论坛
Questions Tags Users Badges

【已解决】ip类型怎么转为字符串?

Asked Apr 23, 2024 Modified Sep 26, 2024
Viewed 117
2.1 faq

IPV4_NUM_TO_STRING或IPV4_NTOA不接受ipv4类型

edited Sep 26, 2024
abjfh17
asked Apr 23, 2024
3 Answers

问题已经修复,详细见GitHub链接

edited Sep 25, 2024
abjfh17
answered Sep 25, 2024

你说的 ipv4 类型是这种吗?255.255.255.255

目前支持的是将接受一个类型为Int16、Int32、Int64 且大端表示的 IPv4 的地址,返回相应 IPv4 的字符串表现形式,格式为A.B.C.D(以点分割的十进制数字)。

参考文档:https://doris.apache.org/zh-CN/docs/2.0/sql-manual/sql-functions/ip-functions/inet-ntoa

edited Apr 28, 2024
徐振超@SelectDB7686
answered Apr 23, 2024

能看看sql 莫

edited Jan 1, 1970
amory42
answered Jun 4, 2024
Related Questions
有针对数据库运行异常时段生成一份类似于oracle AWR报告的方案吗
int类型写入数据超过范围不报错
什么时候doris出一个物化视图编排的管理工具
unique 表类型, 不分区的情况下, 如果给数据设置ttl
Doris 2.1.11 一个BE节点负载高
3 answers
单表创建物化视图失败
1 answers

Terms of service Privacy policy

Powered by Answer - the open-source software that powers Q&A communities.
Made with love © 2025 Apache Doris 中文技术论坛.