Skip to content

Provide ability to identify Strata CSV format#1559

Merged
jodastephen merged 2 commits into
masterfrom
topic/is-known-format
Sep 13, 2017
Merged

Provide ability to identify Strata CSV format#1559
jodastephen merged 2 commits into
masterfrom
topic/is-known-format

Conversation

@jodastephen
Copy link
Copy Markdown
Contributor

Change column name to be sufficiently unique

Change column name to be sufficiently unique
if (!csv.headers().contains(TYPE_FIELD)) {
return ValueWithFailures.of(ImmutableList.of(),
FailureItem.of(FailureReason.PARSING, "CSV file does not contain 'Type' header: {}", charSource));
FailureItem.of(FailureReason.PARSING, "CSV file does not contain '" + TYPE_FIELD + "' header: {}", charSource));
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Shouldn't this be:

FailureItem.of(FailureReason.PARSING, "CSV file does not contain '{}' header: {}", TYPE_FIELD, charSource));

Change column name to be sufficiently unique
@jodastephen jodastephen merged commit 5d2063f into master Sep 13, 2017
@jodastephen jodastephen deleted the topic/is-known-format branch September 13, 2017 15:43
@jodastephen jodastephen added this to the v1.4 milestone Sep 18, 2017
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.

2 participants