embulk-input-filesplit 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
File without changes
@@ -0,0 +1,5 @@
1
+ id,name,value
2
+ 1,aaaaa,12345
3
+ 2,bbb,67890
4
+ 3,ccccccccc,-1
5
+ 4,dd,555555
@@ -0,0 +1 @@
1
+ id,name,value
@@ -0,0 +1,4 @@
1
+ 1,aaaaa,12345
2
+ 2,bbb,67890
3
+ 3,ccccccccc,-1
4
+ 4,dd,555555
File without changes
@@ -0,0 +1,25 @@
1
+ in:
2
+ type: filesplit
3
+ path: 'data/test-header.csv'
4
+ header_line: true
5
+ parser:
6
+ charset: UTF-8
7
+ newline: CRLF
8
+ type: csv
9
+ header_line: true
10
+ delimiter: ','
11
+ quote: ''
12
+ columns:
13
+ - {name: id, type: long}
14
+ - {name: name, type: string}
15
+ - {name: value, type: long}
16
+ out:
17
+ type: file
18
+ path_prefix: 'temp/result'
19
+ file_ext: .csv
20
+ formatter:
21
+ type: csv
22
+ delimiter: ';'
23
+ header_line: false
24
+ charset: UTF-8
25
+ newline: CRLF
@@ -0,0 +1,25 @@
1
+ in:
2
+ type: filesplit
3
+ path: 'data/test-only-header.csv'
4
+ header_line: true
5
+ parser:
6
+ charset: UTF-8
7
+ newline: CRLF
8
+ type: csv
9
+ header_line: true
10
+ delimiter: ','
11
+ quote: ''
12
+ columns:
13
+ - {name: id, type: long}
14
+ - {name: name, type: string}
15
+ - {name: value, type: long}
16
+ out:
17
+ type: file
18
+ path_prefix: 'temp/result'
19
+ file_ext: .csv
20
+ formatter:
21
+ type: csv
22
+ delimiter: ';'
23
+ header_line: false
24
+ charset: UTF-8
25
+ newline: CRLF
@@ -0,0 +1,24 @@
1
+ in:
2
+ type: filesplit
3
+ path: 'data/test.csv'
4
+ tasks: 3
5
+ parser:
6
+ charset: UTF-8
7
+ newline: CRLF
8
+ type: csv
9
+ delimiter: ','
10
+ quote: ''
11
+ columns:
12
+ - {name: id, type: long}
13
+ - {name: name, type: string}
14
+ - {name: value, type: long}
15
+ out:
16
+ type: file
17
+ path_prefix: 'temp/result'
18
+ file_ext: .csv
19
+ formatter:
20
+ type: csv
21
+ delimiter: ';'
22
+ header_line: false
23
+ charset: UTF-8
24
+ newline: CRLF
@@ -0,0 +1,23 @@
1
+ in:
2
+ type: filesplit
3
+ path: 'data/test.csv'
4
+ parser:
5
+ charset: UTF-8
6
+ newline: CRLF
7
+ type: csv
8
+ delimiter: ','
9
+ quote: ''
10
+ columns:
11
+ - {name: id, type: long}
12
+ - {name: name, type: string}
13
+ - {name: value, type: long}
14
+ out:
15
+ type: file
16
+ path_prefix: 'temp/result'
17
+ file_ext: .csv
18
+ formatter:
19
+ type: csv
20
+ delimiter: ';'
21
+ header_line: false
22
+ charset: UTF-8
23
+ newline: CRLF
metadata ADDED
@@ -0,0 +1,64 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: embulk-input-filesplit
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.1
5
+ platform: ruby
6
+ authors:
7
+ - Hitoshi Tanaka
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2015-03-10 00:00:00.000000000 Z
12
+ dependencies: []
13
+ description:
14
+ email:
15
+ executables: []
16
+ extensions: []
17
+ extra_rdoc_files: []
18
+ files:
19
+ - README.md
20
+ - build.gradle
21
+ - lib/embulk/input/filesplit.rb
22
+ - src/main/java/org/embulk/input/filesplit/LocalFileSplitInputPlugin.java
23
+ - src/main/java/org/embulk/input/filesplit/PartialFile.java
24
+ - src/main/java/org/embulk/input/filesplit/PartialFileInputStream.java
25
+ - src/test/java/org/embulk/input/filesplit/EmbulkPluginTester.java
26
+ - src/test/java/org/embulk/input/filesplit/EmptyConfigSource.java
27
+ - src/test/java/org/embulk/input/filesplit/LocalFileSplitInputPluginTest.java
28
+ - src/test/java/org/embulk/input/filesplit/LocalFileSplitInputTest.java
29
+ - src/test/java/org/embulk/input/filesplit/PartialFileInputStreamTest.java
30
+ - src/test/resources/data/empty.csv
31
+ - src/test/resources/data/test-header.csv
32
+ - src/test/resources/data/test-only-header.csv
33
+ - src/test/resources/data/test.csv
34
+ - src/test/resources/resource.txt
35
+ - src/test/resources/yml/test-header.yml
36
+ - src/test/resources/yml/test-only-header.yml
37
+ - src/test/resources/yml/test-tasks.yml
38
+ - src/test/resources/yml/test.yml
39
+ - classpath/embulk-input-filesplit-0.1.1.jar
40
+ homepage: https://github.com/hito4t/embulk-input-filesplit
41
+ licenses:
42
+ - Apache 2.0
43
+ metadata: {}
44
+ post_install_message:
45
+ rdoc_options: []
46
+ require_paths:
47
+ - lib
48
+ required_ruby_version: !ruby/object:Gem::Requirement
49
+ requirements:
50
+ - - '>='
51
+ - !ruby/object:Gem::Version
52
+ version: '0'
53
+ required_rubygems_version: !ruby/object:Gem::Requirement
54
+ requirements:
55
+ - - '>='
56
+ - !ruby/object:Gem::Version
57
+ version: '0'
58
+ requirements: []
59
+ rubyforge_project:
60
+ rubygems_version: 2.1.9
61
+ signing_key:
62
+ specification_version: 4
63
+ summary: Embulk plugin for splitting input file
64
+ test_files: []