Skip to content

Add javascript and regex parsers#36

Merged
xvrl merged 1 commit intometamx:masterfrom
implydata:master
Nov 9, 2015
Merged

Add javascript and regex parsers#36
xvrl merged 1 commit intometamx:masterfrom
implydata:master

Conversation

@fjy
Copy link
Copy Markdown
Contributor

@fjy fjy commented Nov 7, 2015

No description provided.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

pls use newer license header

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

can you either add another UT or update this so that field names are explicitly specified and resulting map has something else and not "column_1"?

@fjy
Copy link
Copy Markdown
Contributor Author

fjy commented Nov 8, 2015

@himanshug @gianm Addressed all comments

@fjy fjy force-pushed the master branch 3 times, most recently from fe706a4 to 8d6407c Compare November 8, 2015 18:08
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

"must be in"

@gianm
Copy link
Copy Markdown
Contributor

gianm commented Nov 8, 2015

👍

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

probably not a big issue, but if matching fails then user would get nested ParseException, one from line 92 then that will get wrapped inside another here, should we catch specific exceptions instead of Exception ? or may be add another catch for ParseException that simple throws that?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

the two levels of parseexceptions will tell you exactly what is wrong and where it is wrong. I tested this

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

ok

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.

6 participants