-
Notifications
You must be signed in to change notification settings - Fork 54
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
BigDiffy output with header #52
Conversation
idreeskhan
commented
Mar 21, 2018
•
edited
Loading
edited
Codecov Report
@@ Coverage Diff @@
## master #52 +/- ##
==========================================
- Coverage 71.58% 70.82% -0.77%
==========================================
Files 22 22
Lines 929 939 +10
Branches 124 123 -1
==========================================
Hits 665 665
- Misses 264 274 +10
Continue to review full report at Codecov.
|
def saveAsTextFileWithHeader(path: String, header: String): Future[Tap[String]] = { | ||
val transform = TextIO.write() | ||
.to(pathWithShards(path)) | ||
.withSuffix(".txt") |
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.
do we want this to be .tsv
since that's what it produces
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.
Theoretically it could be, but the existing code outputs .txt
and I'm moving this header to be optional. I'd rather keep the file format/naming consistent.
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.
Once you address that one comment