Security News
Weekly Downloads Now Available in npm Package Search Results
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
embulk-parser-csv_with_default_value
Advanced tools
This plugin behaves as same as standard csv parser, but default values can be specified with this plugin.
Default values of each columns are used when parsing original data is failed.
immediate
(default) or 'null'
type
is immediate
)Default values can be specified to only long, double and timestamp.
(type: null
is not allowed for long and double)
in:
type: file
parser:
type: csv_with_default_value
delimiter: ','
header_line: false
columns:
- {name: stringCol, type: string}
- {name: longCol, type: long}
- {name: doubleCol, type: double}
- {name: timestampCol, type: timestamp, format: '%Y-%m-%d %H:%M:%S'}
default_values:
longCol: {type: 'null'}
doubleCol: {type: 'null'}
timestampCol: {default_value: '2000-12-01 12:00:00'}
$ embulk gem install embulk-parser-csv_with_default_value
$ ./gradlew gem # -t to watch change of files and rebuild continuously
FAQs
Unknown package
We found that embulk-parser-csv_with_default_value demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
Security News
A Stanford study reveals 9.5% of engineers contribute almost nothing, costing tech $90B annually, with remote work fueling the rise of "ghost engineers."
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.