apache / apache/doris

[Bug] TVF 持续导入报错:java.lang.NullPointerException: Cannot invoke "org.apache.doris.qe.StmtExecutor.getSummaryProfile()" because the return value of "org.apache.doris.qe.ConnectContext.getExecutor()" is null

Open
#61,897 2 comments 0 reactions 1 assignee Claimed by @Tech-Circle-48 View on GitHub
Dominant language
Java
Stars
15.9k
Forks
3.9k
Avg merge
2d 23h
Merged PRs (30d)
520

Description

### Search before asking

- [x] I had searched in the [issues](https://github.com/apache/doris/issues?q=is%3Aissue) and found no similar issues.

### Version

4.0.2 版本

### What's Wrong?

TVF 持续导入 , 跑了很久的任务 , 突然一直报错,猜测可能与文件很多很大有关:
Cannot invoke "org.apache.doris.qe.StmtExecutor.getSummaryProfile()" because the return value of "org.apache.doris.qe.ConnectContext.getExecutor()" is null

job sql:

CREATE JOB s3_fead_sp_traffic
ON STREAMING

DO
INSERT INTO amazong_pacvue.s3_fead_tc_all
SELECT
..
FROM
S3(
"uri" = "s3://**/letter_seq/dataset_id=sp-traffic/*/*/*.gz", "s3.endpoint" = "s3.us-west-2.amazonaws.com", "format" = "json"
)

### What You Expected?

task 不报错

### How to Reproduce?

_No response_

### Anything Else?

_No response_

### Are you willing to submit PR?

- [ ] Yes I am willing to submit a PR!

### Code of Conduct

- [x] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.