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

sqlserver的binary无法通过catalogs读取。转换格式也没办法

Asked Dec 7, 2024 Modified Jan 1, 0001
Viewed 30
2.1

我用的是doris2.1.7.我想直接用JDBC Catalog读取sqlserver cdc的数据。但是因为cdc自己生成得字段是binary格式的。通过转格式也无法实现。这个有办法解决吗?

edited Jan 1, 0001
simple3
asked Dec 7, 2024
2 Answers

如果在doris 的binary类型显示是乱码的话,可以使用 TO_BASE64() 函数转换为 Base64 编码后,在进行下一步处理。

edited Jan 1, 1970
黄海军@SelectDB5138
answered Dec 9, 2024

目前doris的Catalog获取binary不是乱码的问题。是不支持获取binary的数据,最终的数据没有binary格式数据也无法支持图片.png

edited Jan 1, 1970
simple3
answered Dec 9, 2024
Related Questions
fe节点jvm gc频繁,偶尔出现fe节点be节点通讯报错
Apache Doris内存不够,为什么不像spark一样排队处理,Tablet排队一个个处理,而是报错,请问这个解释对吗
1 answers
为什么相同的内存,执行一样的任务,spark可以执行完,但是doris却报内存不足错误,doris已经调整了单个任务可以使用集权资源的80%
1 answers
Doris 多任务并发更新部分列,出现数据丢失情况如何处理
无法识别关键字 ROUTINE LOAD:no viable alternative at input 'CREATE ROUTINE'
1 answers
Doris查询超时,已在SQL语句设置/*+ query_timeout(3000) */ 仍然在900秒时中断
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 中文技术论坛.