-
Notifications
You must be signed in to change notification settings - Fork 373
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
[notebook] fix notebook saving type #3373
Conversation
@sumtumn Thanks for the PR! We will review it shortly. |
@sumtumn Can you please describe the issue in more detail? What value are you seeing without this fix vs what is expected. This helps in verifying the fix. Thanks. Also, please shorten the title of you commit to avoid it getting cutoff. |
@amitsrivastava
Because the notebook type changed to be the first snippet's dialect while saveing notebook, e.g. the first snippet of the saved notebook was hive, then the saved notebook type was chaged to query-hive. This makes we can't add more snippets to the saved notebook. And it's also inappropriate because there are many different types of snippets in the same notebook, like hive, spark. |
30ff67f
to
2f60217
Compare
* [notebook] use notebook type instead of the first snippet's type
2f60217
to
abd4ce6
Compare
@amitsrivastava @Harshg999 @agl29 can we get som eyes on this PR? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Thanks @sumtumn
This PR is stale because it has been open 45 days with no activity and is not labeled "Prevent stale". Remove "stale" label or comment or this will be closed in 10 days. |
@Harshg999 Can you have a quick look and maybe we can merge this one? |
This PR is stale because it has been open 45 days with no activity and is not labeled "Prevent stale". Remove "stale" label or comment or this will be closed in 10 days. |
I had the same issue on CDP 7.2.17's hue. resolved it with this PR. |
…ppet's type
What changes were proposed in this pull request?
As described in Saved Notebooks no longer allow user to add snippets, also show Hive Editor history #3367 , I think it's wrong to save notebook type according the first snippet's type, because there are multi different types of snippets.
How was this patch tested?
manual tests
Please review Hue Contributing Guide before opening a pull request.