Skip to content
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

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Sdc 11402 #24

wants to merge 3 commits into from

Conversation

shravantal
Copy link
Contributor

No description provided.

anubandhan and others added 2 commits April 24, 2019 16:19
Pulling latest code from Streamsets:master
…nfiguration

test_directory_origin_configuration_extra_column_prefix
Copy link
Member

@dimaspivak dimaspivak left a 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).
Copy link
Member

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)

Copy link
Contributor Author

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):
Copy link
Member

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.

Copy link
Contributor Author

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,
Copy link
Member

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

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

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.

3 participants