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

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

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

能看看sql 莫

edited Jan 1, 1970
amory42
answered Jun 4, 2024
Related Questions
Doris Manager 无法连接到集群,这可能由网络断开或 root 密码错误导致,如果你修改了 root 密码,请更新集群 root 用户密码以启动管控
1 answers
Doirs 创建表超时导致无法创建成功问题
5 answers
关于VARCHAR(M)里将M长度配置从字节转为字符计数问题?
java17编译doris2.1版本,启动be段错误,帮忙看一下问题或者如何分析呢
插入数据遇到事务问题
Doris集成Ranger,配置权限时链接报错
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 中文技术论坛.