Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
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
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.