Doris查询复杂sql时报错,

完整错误如下:

1105 - RpcException, msg: java.util.concurrent.TimeoutException: Waited 5000 milliseconds (plus 837951 nanoseconds delay) for io.grpc.stub.ClientCalls$GrpcFuture@60f1b43[status=PENDING, info=[GrpcFuture{clientCall={delegate=ClientCallImpl{method=MethodDescriptor{fullMethodName=doris.PBackendService/exec_plan_fragment_prepare, type=UNARY, idempotent=false, safe=false, sampledToLocalTracing=true, requestMarshaller=io.grpc.protobuf.lite.ProtoLiteUtils$MessageMarshaller@77a3192c, responseMarshaller=io.grpc.protobuf.l

经分析,由于查询时间超时导致,解决方法, 增大超时时间:

set global query_timeout=36000

Logo

AtomGit 是由开放原子开源基金会联合 CSDN 等生态伙伴共同推出的新一代开源与人工智能协作平台。平台坚持“开放、中立、公益”的理念,把代码托管、模型共享、数据集托管、智能体开发体验和算力服务整合在一起,为开发者提供从开发、训练到部署的一站式体验。

更多推荐