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

通过thrift-service模式读取数据,对于date、datetime字段类型返回结果为1970年

Asked Nov 8, 2024 Modified Jan 1, 0001
Viewed 17
2.1

通过jdbc模式读取datetime、date字段返回结果均正确,
通过thrift-servcie读取dateime、date字段返回结果均不正确,datetime返回值为1970-01-01T00:28:50.862371、数据中保存的值为:2024-11-06 11:06:11;date字段返回值为20031,数据库中保存的值为:2024-11-04

edited Jan 1, 0001
sunny8006291
asked Nov 8, 2024
1 Answers

为什么要通过thrift-servcie读取doris的数据呢,建议走jdbc和arrow flight。
文档

edited Jan 1, 1970
黄海军@SelectDB5218
answered Nov 11, 2024
Related Questions
streamloaderd成功执行,但是没有导入数据到表里。
1 answers
AUTO LIST PARTITION 分区名长度为何限制 50?能否配置放宽/取消?
doris2.1.11重复建表报错内容异常,不会提示表已经存在
1 answers
我们通过hive catalog外表同步数据,有时候hive表会很大导致内存占满了会杀掉其他任务,限制内存又会导致同步任务失败,有什么方法可以稳定一下呢,同步效率慢一点什么的也没问题
1 answers
doris be启动报错
2 answers
Doris的json解析问题
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 中文技术论坛.