-
Notifications
You must be signed in to change notification settings - Fork 29
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
Sdc 11402 #24
base: master
Are you sure you want to change the base?
Sdc 11402 #24
Conversation
Pulling latest code from Streamsets:master
…nfiguration test_directory_origin_configuration_extra_column_prefix
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.
Just minor style things, but otherwise another really solid test, Shravan!
pass | ||
data_format, allow_extra_columns, header_line, file_writer, shell_executor): | ||
""" | ||
In this test case 3 lines are taken with delimited of ',' of 3 columns(header). |
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.
Follow docstring style convention used in rest of file, please (i.e. first line of text is immediately after """ without line break)
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.
done
def test_directory_origin_configuration_extra_column_prefix(sdc_builder, sdc_executor, | ||
data_format, allow_extra_columns, header_line): | ||
pass | ||
data_format, allow_extra_columns, header_line, file_writer, shell_executor): |
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.
As described in other review, follow spacing convention of rest of file.
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.
done
pipeline_builder = sdc_builder.get_pipeline_builder() | ||
directory = pipeline_builder.add_stage('Directory') | ||
directory.set_attributes(extra_column_prefix="_extra_", | ||
allow_extra_columns=allow_extra_columns, |
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 a space is needed to line this up
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.
done
No description provided.