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

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

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

能看看sql 莫

edited Jan 1, 1970
amory42
answered Jun 4, 2024
Related Questions
请教一下如果从commit成功的checkpoint恢复时任务时会发生啥
doris2 列查询性能问题
2 answers
时间分区字段str_to_date格式不正确后直接全表扫描导致CPU飙升
1 answers
查询doris外部表分区存在穿刺情况
Java 使用jdbc 驱动doris 数据库,进行批量压测插入操作,会显示有规律的突刺,怎么办,有3个FE 10个Be,各种参数调试已经调过了,还有没有其它方法处理
3 answers
2.1.9报错:Fail to do ZSTD compress due to exception std
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 中文技术论坛.