Skip to content

Fix a bug of CSV/TSV parsers when extracting columns from header#4443

Merged
fjy merged 3 commits intoapache:masterfrom
jihoonson:csv-header-bug
Jun 23, 2017
Merged

Fix a bug of CSV/TSV parsers when extracting columns from header#4443
fjy merged 3 commits intoapache:masterfrom
jihoonson:csv-header-bug

Conversation

@jihoonson
Copy link
Copy Markdown
Contributor

@jihoonson jihoonson commented Jun 22, 2017

Since each file can have different columns, fieldNames of CSV/TSV parsers should be reset when a new file begins.


This change is Reviewable

Copy link
Copy Markdown
Contributor

@gianm gianm left a comment

Choose a reason for hiding this comment

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

👍 after travis

@gianm gianm added the Bug label Jun 22, 2017
@gianm gianm added this to the 0.10.1 milestone Jun 22, 2017
@jihoonson jihoonson closed this Jun 22, 2017
@jihoonson jihoonson reopened this Jun 22, 2017
@jihoonson jihoonson closed this Jun 22, 2017
@jihoonson jihoonson reopened this Jun 22, 2017
@jihoonson jihoonson closed this Jun 22, 2017
@jihoonson jihoonson reopened this Jun 22, 2017
@jihoonson jihoonson closed this Jun 22, 2017
@jihoonson jihoonson reopened this Jun 22, 2017
@jihoonson jihoonson closed this Jun 23, 2017
@jihoonson jihoonson reopened this Jun 23, 2017
@jihoonson jihoonson closed this Jun 23, 2017
@jihoonson jihoonson reopened this Jun 23, 2017
@jihoonson
Copy link
Copy Markdown
Contributor Author

Hmm, travis is getting weird more. I ran unit tests and integration tests in my local machine 5 times, and every test was passed.

@jihoonson jihoonson closed this Jun 23, 2017
@jihoonson jihoonson reopened this Jun 23, 2017
@fjy fjy merged commit b37c9b5 into apache:master Jun 23, 2017
gianm pushed a commit to gianm/druid that referenced this pull request Jun 23, 2017
…che#4443)

* Reset fieldNames whenever a new file begins

* Fix test failure

* Fix test failure
leventov pushed a commit that referenced this pull request Jun 26, 2017
…) (#4459)

* Reset fieldNames whenever a new file begins

* Fix test failure

* Fix test failure
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants