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

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

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

能看看sql 莫

edited Jan 1, 1970
amory42
answered Jun 4, 2024
Related Questions
fe节点加入集群时报错
1 answers
大佬们求助,授予角色可以创建catalog的权限报错
1 answers
关于catalog_paimon环境下如何启用paimonNativeReadSplits?
1 answers
不同doris集群如何同步数据?
1 answers
bitmap类型设置默认值后,数据导入报错can not cast from origin type bitmap to target type=varchar(65533)
1 answers
doris2.1.8,相同的sql,不同账期但数据量差异,大小表join,有时候会自动join reorder导致OOM
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 中文技术论坛.