apache / linkis

Apache Linkis builds a computation middleware layer to facilitate connection, governance and orchestration between the upper applications and the underlying data engines.
https://linkis.apache.org/
Apache License 2.0
3.3k stars 1.16k forks source link

[Bug] [EC][JDBC] JDBC connection does not support multi-tasking parameter passing #5006

Closed peacewong closed 10 months ago

peacewong commented 10 months ago

Search before asking

Linkis Component

linkis-computation-governance

Steps to reproduce

The hive sql submission is usually very long, and there may be dozens of entries in one file. The first few entries are set parameter commands, such as set today=current_date. After execution for dozens of minutes, the session may be interrupted, and the subsequent sql will be used again. If hiveconf:today is taken, it will be empty.

hive sql提交的时候一般都很长,可能一个文件有几十条,前面几条是set 设置参数命令,如set today=current_date,执行几十分钟后可能这个session会话中断了,后面的sql 再去取hiveconf:today就会为空

Expected behavior

support task connection cache

Your environment

Anything else

No response

Are you willing to submit a PR?

github-actions[bot] commented 10 months ago

:blush: Welcome to the Apache Linkis community!!

We are glad that you are contributing by opening this issue.

Please make sure to include all the relevant context. We will be here shortly.

If you are interested in contributing to our website project, please let us know! You can check out our contributing guide on :point_right: How to Participate in Project Contribution.

Community

WeChat Assistant WeChat Public Account

Mailing Lists

Name Description Subscribe Unsubscribe Archive
dev@linkis.apache.org community activity information subscribe unsubscribe archive