-
Notifications
You must be signed in to change notification settings - Fork 53
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
Add Append Transformation #592
Conversation
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.
This is not far off. I think it should be able to handle the missing starting new line character, see comment.
src/main/java/com/conveyal/datatools/manager/models/transform/AppendToFileTransformation.java
Outdated
Show resolved
Hide resolved
src/test/java/com/conveyal/datatools/manager/jobs/ArbitraryTransformJobTest.java
Outdated
Show resolved
Hide resolved
src/main/java/com/conveyal/datatools/manager/models/transform/AppendToFileTransformation.java
Show resolved
Hide resolved
src/main/java/com/conveyal/datatools/manager/models/transform/AppendToFileTransformation.java
Show resolved
Hide resolved
src/test/java/com/conveyal/datatools/manager/jobs/ArbitraryTransformJobTest.java
Show resolved
Hide resolved
Thanks all changes are addressed! |
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.
Thanks for updating, just one item left to consider then I'll approve.
src/main/java/com/conveyal/datatools/manager/models/transform/AppendToFileTransformation.java
Show resolved
Hide resolved
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.
All good following feedback to comments.
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.
👍 This looks good to me.
Checklist
dev
before they can be merged tomaster
)Description
Adds new transformation type similar to replace transformation that appends to file instead of replaces. Appending is done in temporary dir. Unit test is included