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

sql UI change #5

Merged
merged 1 commit into from
Nov 10, 2023
Merged

sql UI change #5

merged 1 commit into from
Nov 10, 2023

Conversation

tongwl
Copy link
Collaborator

@tongwl tongwl commented Nov 10, 2023

Why are the changes needed?

How was this patch tested?

  • Add some test cases that check the changes thoroughly including negative and positive cases if possible

  • Add screenshots for manual tests if appropriate

  • Run test locally before make a pull request

Was this patch authored or co-authored using generative AI tooling?

@tongwl tongwl merged commit 265f02d into dev-1103 Nov 10, 2023
1 check passed
pan3793 pushed a commit that referenced this pull request Nov 21, 2023
### _Why are the changes needed?_

This PR is to introduce a submit SQL editor page to close apache#5366.  Users then can submit SQL in SQL editor page to retrieve, update or do other data manipulations by Spark engine with this feature.

Once users open up a new tab in SQL editor, a new connection(session) is established with the a Kyuubi server instance. After that, users can input their SQL statements in a text box provided on the page and select the desired number of data rows to be shown in result from a dropdown list located at the right side of the run button. When the statement is executed in one of  server instances, the execution status of the job is displayed to the user.  After the statement is executed successfully , the result is displayed in the bottom of page for users.

![03_53_07](https://github.com/apache/kyuubi/assets/32693629/33806d90-7db8-4137-b8bc-872c3c42e36f)
![03_31_26](https://github.com/apache/kyuubi/assets/32693629/dd6d4226-9ddc-443e-a976-6ddd47d08d8a)

### _How was this patch tested?_
- [ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible

- [ ] Add screenshots for manual tests if appropriate

- [ ] [Run test](https://kyuubi.readthedocs.io/en/master/contributing/code/testing.html#running-tests) locally before make a pull request

### _Was this patch authored or co-authored using generative AI tooling?_

No

Closes apache#5616 from zhaohehuhu/dev-1103.

Closes apache#5366

078d19e [William Tong] code optimize (#9)
1d839bc [William Tong] code change (#8)
ddffd19 [William Tong] fix code conflict in layout (#7)
f1fc9a2 [William Tong] UI change (#6)
265f02d [William Tong] sql UI change (#5)
4bb22f0 [William Tong] Merge branch 'master' into dev-1103
065a497 [William Tong] Merge master into branch (#4)
3438012 [William Tong] Merge pull request #3 from zhaohehuhu/dev-1103-3
a374028 [weitong] add error message for sql page
f04acf2 [William Tong] Merge branch 'master' into dev-1103
93fa6a2 [William Tong] Merge pull request #2 from zhaohehuhu/dev-1103-2
f0669ba [weitong] fix
ecdbe5c [hezhao2] fix
531761d [hezhao2] change TabPaneName to TabPanelName
466a5ba [hezhao2] remove api2
ab0661f [hezhao2] change format for table header
5f4bca5 [hezhao2] move logo picture to images folder
159c35a [hezhao2] change layout
7379c4e [weitong] code change
0ddc6d5 [weitong] sql lab page
dda47bd [hezhao2] add license
9f80e20 [weitong] sql page test

Lead-authored-by: He Zhao <[email protected]>
Co-authored-by: William Tong <[email protected]>
Co-authored-by: hezhao2 <[email protected]>
Co-authored-by: weitong <[email protected]>
Signed-off-by: Cheng Pan <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant