DataX 使用官方示例同步到 Hologres 时报错失败
- Dominant language
- Java
- Stars
- 17.4k
- Forks
- 5.7k
- PR merge metrics
- No merged PRs in 30d
Description

报错信息:
ERROR HoloClient - fail when close
com.alibaba.hologres.client.exception.HoloClientException: [UNKNOW:XX000]ERROR: Query:[10191403310737190] Build desc failed: C urrently, Hologres can support just one set-returned function.
at com.alibaba.hologres.client.exception.HoloClientException.fromSqlException(HoloClientException.java:75) ~[holo-clie nt-2.1.0.jar:na]
at com.alibaba.hologres.client.impl.ConnectionHolder.doRetryExecute(ConnectionHolder.java:235) ~[holo-client-2.1.0.jar :na]
at com.alibaba.hologres.client.impl.ConnectionHolder.retryExecuteWithVersion(ConnectionHolder.java:199) ~[holo-client- 2.1.0.jar:na]
at com.alibaba.hologres.client.impl.handler.PutActionHandler.doHandlePutAction(PutActionHandler.java:163) ~[holo-clien t-2.1.0.jar:na]
at com.alibaba.hologres.client.impl.handler.PutActionHandler.handle(PutActionHandler.java:92) ~[holo-client-2.1.0.jar: na]
at com.alibaba.hologres.client.impl.handler.PutActionHandler.handle(PutActionHandler.java:32) ~[holo-client-2.1.0.jar: na]
at com.alibaba.hologres.client.impl.Worker.handle(Worker.java:90) ~[holo-client-2.1.0.jar:na]
at com.alibaba.hologres.client.impl.Worker.run(Worker.java:119) ~[holo-client-2.1.0.jar:na]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) ~[na:1.8.0_362]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) ~[na:1.8.0_362]
at java.lang.Thread.run(Thread.java:750) [na:1.8.0_362]
Caused by: com.alibaba.hologres.org.postgresql.util.PSQLException: ERROR: Query:[10191403310737190] Build desc failed: C
使用的示例:
https://github.com/alibaba/DataX/blob/master/hologresjdbcwriter/doc/hologresjdbcwriter.md
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with hologresjdbcwriter/doc/hologresjdbcwriter.md and reproduce the official example against Hologres using the reported configuration. Compare the resulting HoloClient 2.1.0 stack trace and set-returned-function error with the writer's SQL or schema handling. Done means identifying a reproducible cause and documenting or correcting the example so the synchronization succeeds.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, postgresql
- Domain
- databases
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100