Skip to content

Commit

Permalink
Omit empty CSV options for s3 select api (#1086)
Browse files Browse the repository at this point in the history
  • Loading branch information
poornas authored and kannappanr committed Mar 8, 2019
1 parent f6ad55a commit b329768
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions api-select.go
Original file line number Diff line number Diff line change
Expand Up @@ -90,19 +90,19 @@ type ParquetInputOptions struct{}
type CSVInputOptions struct {
FileHeaderInfo CSVFileHeaderInfo
RecordDelimiter string
FieldDelimiter string
QuoteCharacter string
QuoteEscapeCharacter string
Comments string
FieldDelimiter string `xml:",omitempty"`
QuoteCharacter string `xml:",omitempty"`
QuoteEscapeCharacter string `xml:",omitempty"`
Comments string `xml:",omitempty"`
}

// CSVOutputOptions csv output specific options
type CSVOutputOptions struct {
QuoteFields CSVQuoteFields
QuoteFields CSVQuoteFields `xml:",omitempty"`
RecordDelimiter string
FieldDelimiter string
QuoteCharacter string
QuoteEscapeCharacter string
FieldDelimiter string `xml:",omitempty"`
QuoteCharacter string `xml:",omitempty"`
QuoteEscapeCharacter string `xml:",omitempty"`
}

// JSONInputOptions json input specific options
Expand Down

0 comments on commit b329768

Please sign in to comment.