Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Backport 2.x] Integration with REPL Spark job #2337

Merged
merged 1 commit into from
Oct 20, 2023

Conversation

opensearch-trigger-bot[bot]
Copy link
Contributor

Backport 7b4156e from #2327.

* add InteractiveSession and SessionManager

Signed-off-by: Peng Huo <[email protected]>

* add statement

Signed-off-by: Peng Huo <[email protected]>

* add statement

Signed-off-by: Peng Huo <[email protected]>

* fix format

Signed-off-by: Peng Huo <[email protected]>

* snapshot

Signed-off-by: Peng Huo <[email protected]>

* address comments

Signed-off-by: Peng Huo <[email protected]>

* update

Signed-off-by: Peng Huo <[email protected]>

* Update REST and Transport interface

Signed-off-by: Peng Huo <[email protected]>

* Revert on transport layer

Signed-off-by: Peng Huo <[email protected]>

* format code

Signed-off-by: Peng Huo <[email protected]>

* add API doc

Signed-off-by: Peng Huo <[email protected]>

* modify api

Signed-off-by: Peng Huo <[email protected]>

* create query_execution_request index on demand

Signed-off-by: Peng Huo <[email protected]>

* add REPL spark parameters

Signed-off-by: Peng Huo <[email protected]>

* Add IT

Signed-off-by: Peng Huo <[email protected]>

* format code

Signed-off-by: Peng Huo <[email protected]>

* bind request index to datasource

Signed-off-by: Peng Huo <[email protected]>

* fix bug when fetch query result

Signed-off-by: Peng Huo <[email protected]>

* revert entrypoint class

Signed-off-by: Peng Huo <[email protected]>

* update mapping

Signed-off-by: Peng Huo <[email protected]>

---------

Signed-off-by: Peng Huo <[email protected]>
(cherry picked from commit 7b4156e)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
@codecov
Copy link

codecov bot commented Oct 20, 2023

Codecov Report

Merging #2337 (e7b78f5) into 2.x (e87e7a7) will decrease coverage by 0.02%.
The diff coverage is 88.12%.

@@             Coverage Diff              @@
##                2.x    #2337      +/-   ##
============================================
- Coverage     96.55%   96.54%   -0.02%     
- Complexity     4899     4921      +22     
============================================
  Files           458      459       +1     
  Lines         13473    13565      +92     
  Branches        906      912       +6     
============================================
+ Hits          13009    13096      +87     
- Misses          449      452       +3     
- Partials         15       17       +2     
Flag Coverage Δ
sql-engine 96.54% <88.12%> (-0.02%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Coverage Δ
.../spark/asyncquery/model/SparkSubmitParameters.java 100.00% <100.00%> (ø)
...earch/sql/spark/data/constants/SparkConstants.java 0.00% <ø> (ø)
...rch/sql/spark/dispatcher/SparkQueryDispatcher.java 100.00% <100.00%> (ø)
.../spark/execution/session/CreateSessionRequest.java 100.00% <100.00%> (ø)
...ql/spark/execution/session/InteractiveSession.java 100.00% <100.00%> (ø)
...nsearch/sql/spark/execution/session/SessionId.java 100.00% <100.00%> (ø)
...ch/sql/spark/execution/session/SessionManager.java 100.00% <100.00%> (ø)
...arch/sql/spark/execution/session/SessionState.java 100.00% <100.00%> (ø)
...earch/sql/spark/execution/session/SessionType.java 100.00% <100.00%> (ø)
...earch/sql/spark/execution/statement/Statement.java 100.00% <100.00%> (ø)
... and 4 more

... and 1 file with indirect coverage changes

@penghuo penghuo merged commit 69ea0a6 into 2.x Oct 20, 2023
25 of 28 checks passed
@github-actions github-actions bot deleted the backport/backport-2327-to-2.x branch October 20, 2023 23:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants