Skip to content

[ZEPPELIN-5472] Disable dynamic form for shell interpreter by default#4218

Closed
zjffdu wants to merge 1 commit into
apache:masterfrom
zjffdu:ZEPPELIN-5472
Closed

[ZEPPELIN-5472] Disable dynamic form for shell interpreter by default#4218
zjffdu wants to merge 1 commit into
apache:masterfrom
zjffdu:ZEPPELIN-5472

Conversation

@zjffdu
Copy link
Copy Markdown
Contributor

@zjffdu zjffdu commented Sep 13, 2021

What is this PR for?

This PR change the form type of shell interpreter from SIMPLE to NATIVE, so that ${var} won't be translated into dynamic form. Because ${var} is often used as variable reference, so we should not confuse user in Zeppelin. If user do want to use dynamic form, they can still use local property to override that. e.g.

%sh(form=simple)

echo ${name}

What type of PR is it?

[ Improvement ]

Todos

  • - Task

What is the Jira issue?

How should this be tested?

  • Unit test is added.

Screenshots (if appropriate)

Questions:

  • Does the licenses files need update? No
  • Is there breaking changes for older versions? No
  • Does this needs documentation? No

@zjffdu zjffdu force-pushed the ZEPPELIN-5472 branch 2 times, most recently from f695a85 to 7ea7544 Compare September 13, 2021 15:06
@zjffdu
Copy link
Copy Markdown
Contributor Author

zjffdu commented Sep 20, 2021

Will merge if no more comment

Copy link
Copy Markdown
Contributor

@Reamer Reamer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@jongyoul jongyoul closed this in 368341c Sep 21, 2021
zlosim pushed a commit to zlosim/zeppelin that referenced this pull request Oct 22, 2021
### What is this PR for?

This PR change the form type of shell interpreter from SIMPLE to NATIVE, so that ${var} won't be translated into dynamic form. Because ${var} is often used as variable reference, so we should not confuse user in Zeppelin. If user do want to use dynamic form, they can still use local property to override that. e.g.

```
%sh(form=simple)

echo ${name}

```

### What type of PR is it?
[ Improvement ]

### Todos
* [ ] - Task

### What is the Jira issue?
* https://issues.apache.org/jira/browse/ZEPPELIN-5472

### How should this be tested?
* Unit test is added.

### Screenshots (if appropriate)

### Questions:
* Does the licenses files need update? No
* Is there breaking changes for older versions? No
* Does this needs documentation? No

Author: Jeff Zhang <zjffdu@apache.org>

Closes apache#4218 from zjffdu/ZEPPELIN-5472 and squashes the following commits:

d4f17fb [Jeff Zhang] [ZEPPELIN-5472] Disable dynamic form for shell interpreter by default
zlosim pushed a commit to zlosim/zeppelin that referenced this pull request Oct 22, 2021
### What is this PR for?

This PR change the form type of shell interpreter from SIMPLE to NATIVE, so that ${var} won't be translated into dynamic form. Because ${var} is often used as variable reference, so we should not confuse user in Zeppelin. If user do want to use dynamic form, they can still use local property to override that. e.g.

```
%sh(form=simple)

echo ${name}

```

### What type of PR is it?
[ Improvement ]

### Todos
* [ ] - Task

### What is the Jira issue?
* https://issues.apache.org/jira/browse/ZEPPELIN-5472

### How should this be tested?
* Unit test is added.

### Screenshots (if appropriate)

### Questions:
* Does the licenses files need update? No
* Is there breaking changes for older versions? No
* Does this needs documentation? No

Author: Jeff Zhang <zjffdu@apache.org>

Closes apache#4218 from zjffdu/ZEPPELIN-5472 and squashes the following commits:

d4f17fb [Jeff Zhang] [ZEPPELIN-5472] Disable dynamic form for shell interpreter by default
JasonLeeCoding pushed a commit to JasonLeeCoding/zeppelin that referenced this pull request Jan 5, 2022
### What is this PR for?

This PR change the form type of shell interpreter from SIMPLE to NATIVE, so that ${var} won't be translated into dynamic form. Because ${var} is often used as variable reference, so we should not confuse user in Zeppelin. If user do want to use dynamic form, they can still use local property to override that. e.g.

```
%sh(form=simple)

echo ${name}

```

### What type of PR is it?
[ Improvement ]

### Todos
* [ ] - Task

### What is the Jira issue?
* https://issues.apache.org/jira/browse/ZEPPELIN-5472

### How should this be tested?
* Unit test is added.

### Screenshots (if appropriate)

### Questions:
* Does the licenses files need update? No
* Is there breaking changes for older versions? No
* Does this needs documentation? No

Author: Jeff Zhang <zjffdu@apache.org>

Closes apache#4218 from zjffdu/ZEPPELIN-5472 and squashes the following commits:

d4f17fb [Jeff Zhang] [ZEPPELIN-5472] Disable dynamic form for shell interpreter by default
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