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

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

Asked Apr 23, 2024 Modified Sep 26, 2024
Viewed 143
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
徐振超@SelectDB8201
answered Apr 23, 2024

能看看sql 莫

edited Jan 1, 1970
amory42
answered Jun 4, 2024
Related Questions
集群均衡过慢,大量tablet等待WAITING_DECOMMISSION
Q 威 2271728128 腾龙公司网投由戏棋牌娱乐平台?
Q【3160183478】新盛公司直属账号如何开户
doris 2.1 版本 fe 的堆内存比较高
求问如何导出20TB的数据
2 answers
三副本配置下高可用失败,导入和查询数据出现异常
1 answers

Terms of service Privacy policy

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