Skip to content

[ZEPPELIN-4870][hotfix] fix edge case, and remove duplicate parser#3800

Closed
alexott wants to merge 1 commit intoapache:masterfrom
alexott:ZEPPELIN-4870-hotfix
Closed

[ZEPPELIN-4870][hotfix] fix edge case, and remove duplicate parser#3800
alexott wants to merge 1 commit intoapache:masterfrom
alexott:ZEPPELIN-4870-hotfix

Conversation

@alexott
Copy link
Contributor

@alexott alexott commented Jun 12, 2020

What is this PR for?

Tests didn't cover all of the edge cases, that lead to error when parsing specific message.

Also, was found that parsing is also duplicated in the Paragraph class - it was replaced with call to ParagraphTextParser.

The most visible change is that %interpreter(some text will know fail as there is no matching ) character. But it's works the same if we change it to %interpreter (some text...

What type of PR is it?

Hot Fix

What is the Jira issue?

How should this be tested?

@alexott alexott force-pushed the ZEPPELIN-4870-hotfix branch from d49e765 to d4b2e03 Compare June 12, 2020 14:11
@alexott alexott changed the title [ZEPPELIN-4870][hotfix] fix edge case, and remove duplicate parser don't merge yet... [ZEPPELIN-4870][hotfix] fix edge case, and remove duplicate parser Jun 12, 2020
Tests didn't cover all of the edge cases, that lead to error when parsing specific
message.

Also, was found that parsing is also duplicated in the `Paragraph` class - it was replaced
with call to `ParagraphTextParser`
@alexott alexott force-pushed the ZEPPELIN-4870-hotfix branch from d4b2e03 to 5942c5d Compare June 13, 2020 11:40
@alexott alexott changed the title don't merge yet... [ZEPPELIN-4870][hotfix] fix edge case, and remove duplicate parser [ZEPPELIN-4870][hotfix] fix edge case, and remove duplicate parser Jun 13, 2020
@alexott
Copy link
Contributor Author

alexott commented Jun 13, 2020

@zjffdu can you look when you have a time...

@zjffdu
Copy link
Contributor

zjffdu commented Jun 14, 2020

LGTM

@asfgit asfgit closed this in d679bb1 Jun 14, 2020
asfgit pushed a commit that referenced this pull request Jun 14, 2020
### What is this PR for?

Tests didn't cover all of the edge cases, that lead to error when parsing specific message.

Also, was found that parsing is also duplicated in the `Paragraph` class - it was replaced with call to `ParagraphTextParser`.

The most visible change is that `%interpreter(some text` will know fail as there is no matching `)` character. But it's works the same if we change it to `%interpreter (some text`...

### What type of PR is it?
Hot Fix

### What is the Jira issue?
* ZEPPELIN-4870

### How should this be tested?
* Added one more test
* https://travis-ci.org/github/alexott/zeppelin/builds/697944179

Author: Alex Ott <alexott@gmail.com>

Closes #3800 from alexott/ZEPPELIN-4870-hotfix and squashes the following commits:

5942c5d [Alex Ott] [ZEPPELIN-4870][hotfix] fix edge case, and remove duplicate parser

(cherry picked from commit d679bb1)
Signed-off-by: Alex Ott <alexott@apache.org>
@alexott alexott deleted the ZEPPELIN-4870-hotfix branch June 18, 2020 09:43
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

Comments