Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
E
embulk-parser-none-bin
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Klaus Wölfel
embulk-parser-none-bin
Commits
9c1d2b67
Commit
9c1d2b67
authored
Oct 27, 2015
by
sonots
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Using csv formatter looks enough
parent
8a1771b2
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
26 additions
and
9 deletions
+26
-9
.gitignore
.gitignore
+1
-0
README.md
README.md
+18
-8
example.yml
example.yml
+7
-1
No files found.
.gitignore
View file @
9c1d2b67
...
...
@@ -6,3 +6,4 @@
/classpath/
build/
.idea
example.txt.out
README.md
View file @
9c1d2b67
...
...
@@ -21,18 +21,19 @@ $ embulk gem install embulk-parser-none
```
yaml
in
:
type
:
any file input plugin type
type
:
file
path_prefix
:
example.txt
parser
:
type
:
parser
format
:
none
message_key
:
message
```
Assume
inputs are
as following:
Assume
the input file (example.txt) is
as following:
```
foo
,bar,
baz
foo
,bar,
baz
foo
bar
baz
foo
bar
baz
```
then this plugin treats as:
...
...
@@ -41,14 +42,23 @@ then this plugin treats as:
+----------------+
| message:string |
+----------------+
| foo
,bar,
baz |
| foo
,bar,
baz |
| foo
bar
baz |
| foo
bar
baz |
+----------------+
```
## See also
To resover a file, you may use csv formatter as:
You may use
[
embulk-formatter-single_value
](
https://github.com/sonots/embulk-formatter-single_value
)
to recover outputs
```
out:
type: file
path_prefix: example.txt
sequence_format: ""
file_ext: .out
formatter:
type: csv
quote_policy: NONE
```
## ChangeLOG
...
...
example.yml
View file @
9c1d2b67
...
...
@@ -5,4 +5,10 @@ in:
type
:
none
message_key
:
message
out
:
type
:
stdout
type
:
file
path_prefix
:
example.txt
sequence_format
:
"
"
file_ext
:
.out
formatter
:
type
:
csv
quote_policy
:
NONE
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment