
Security News
TC39 Advances 11 Proposals for Math Precision, Binary APIs, and More
TC39 advances 11 JavaScript proposals, with two moving to Stage 4, bringing better math, binary APIs, and more features one step closer to the ECMAScript spec.
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
TC39 advances 11 JavaScript proposals, with two moving to Stage 4, bringing better math, binary APIs, and more features one step closer to the ECMAScript spec.
Research
/Security News
A flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
Product
Customize license detection with Socket’s new license overlays: gain control, reduce noise, and handle edge cases with precision.