-
Notifications
You must be signed in to change notification settings - Fork 308
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
Added read and write TSV with headers. Closes #194 #627
Conversation
I think this PR needs a rebase. There are a lot of changes in the diff unrelated to read/write of TSV that are coming from other PRs. |
SPEC.md
Outdated
@@ -7951,18 +7951,26 @@ And `/local/fs/tmp/array.txt` would contain: | |||
### `read_tsv` | |||
|
|||
``` | |||
Array[Array[String]] read_tsv(File) | |||
Array[Array[String]] read_tsv(File), Array[Object] read_tsv(File, true), Array[Object] read_tsv(File, Boolean, Array[String]) |
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.
Please put each signature on a different line, like how we've done it for the other overloaded functions
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.
Fixed
SPEC.md
Outdated
@@ -8010,14 +8070,31 @@ Example output: | |||
### `write_tsv` | |||
|
|||
``` | |||
File write_tsv(Array[Array[String]]) | |||
File write_tsv(Array[Array[String]]|Array[Struct]), File write_tsv(Array[Array[String]], true, Array[String]), File write_tsv(Array[Struct], Boolean, Array[String]) |
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.
Same here
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.
Fixed
SPEC.md
Outdated
@@ -8405,6 +8511,19 @@ CODE | |||
|
|||
And `/local/fs/tmp/map.json` would contain: | |||
|
|||
`first\nsecond\nthird` | |||
|
|||
## File write_tsv(Array[Array[String]]|Array[Struct]), File write_tsv(Array[Array[String]], true, Array[String]), File write_tsv(Array[Struct], Boolean, Array[String]) |
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.
Looks like there might have been a merge issue here
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.
Fixed
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!
Checklist