Skip to content

Remove null handling check for CSV Parser#8960

Merged
fjy merged 1 commit intoapache:masterfrom
a2l007:csv_parser
Nov 27, 2019
Merged

Remove null handling check for CSV Parser#8960
fjy merged 1 commit intoapache:masterfrom
a2l007:csv_parser

Conversation

@a2l007
Copy link
Copy Markdown
Contributor

@a2l007 a2l007 commented Nov 27, 2019

Fixes #8779 (comment)

This PR sets the default CSV parser mode to use CSVReaderNullFieldIndicator.EMPTY_SEPARATORS . Since empty and nulls are the same when NullHandling is disabled, it is safe to use this mode as the default one.


This PR has:

  • [x ] been self-reviewed.
  • [x ] been tested in a test Druid cluster.

FYI: @clintropolis @jihoonson

@a2l007 a2l007 changed the title Remove null handling check Remove null handling check for CSV Parser Nov 27, 2019
Copy link
Copy Markdown
Contributor

@jihoonson jihoonson left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks!

@fjy fjy merged commit a5b40a6 into apache:master Nov 27, 2019
@jon-wei jon-wei added this to the 0.17.0 milestone Dec 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants