File tree 3 files changed +36
-3
lines changed
src/main/java/io/cdap/plugin/batch/source/ftp
3 files changed +36
-3
lines changed Original file line number Diff line number Diff line change 34
34
35
35
<properties >
36
36
<!-- properties for script build step that creates the config files for the artifacts -->
37
- <data .pipeline.parent>system:cdap-data-pipeline[6.8.0 -SNAPSHOT,7.0.0-SNAPSHOT)</data .pipeline.parent>
38
- <data .stream.parent>system:cdap-data-streams[6.8.0 -SNAPSHOT,7.0.0-SNAPSHOT)</data .stream.parent>
37
+ <data .pipeline.parent>system:cdap-data-pipeline[6.9.2 -SNAPSHOT,7.0.0-SNAPSHOT)</data .pipeline.parent>
38
+ <data .stream.parent>system:cdap-data-streams[6.9.2 -SNAPSHOT,7.0.0-SNAPSHOT)</data .stream.parent>
39
39
<cdap .version>6.8.0</cdap .version>
40
40
<hydrator .version>2.10.0</hydrator .version>
41
41
<hadoop .version>2.3.0</hadoop .version>
384
384
<version >2.14.1</version >
385
385
<configuration >
386
386
<argLine >-Xmx3g -Djava.awt.headless=true -XX:MaxPermSize=256m
387
- -XX:+UseConcMarkSweepGC -Djava.net.preferIPv4Stack=true</argLine >
387
+ -XX:+UseConcMarkSweepGC -Djava.net.preferIPv4Stack=true
388
+ </argLine >
388
389
<redirectTestOutputToFile >${surefire.redirectTestOutputToFile} </redirectTestOutputToFile >
389
390
<reuseForks >false</reuseForks >
390
391
<reportFormat >plain</reportFormat >
Original file line number Diff line number Diff line change @@ -181,6 +181,11 @@ public static class FTPBatchSourceConfig extends PluginConfig implements FileSou
181
181
"is 'csv', 'tsv' or 'delimited'. The default value is false." )
182
182
protected Boolean enableQuotedValues ;
183
183
184
+ @ Macro
185
+ @ Nullable
186
+ @ Description ("Enable the support for a single field, enclosed in quotes, to span over multiple lines. This " +
187
+ "value will only be used if the format is 'csv', 'tsv' or 'delimited'. The default value is false." )
188
+ protected Boolean enableMultilineSupport ;
184
189
185
190
@ VisibleForTesting
186
191
FTPBatchSourceConfig () {
Original file line number Diff line number Diff line change 81
81
}
82
82
}
83
83
},
84
+ {
85
+ "widget-type" : " toggle" ,
86
+ "name" : " enableMultilineSupport" ,
87
+ "label" : " Enable Multiline Support" ,
88
+ "widget-attributes" : {
89
+ "default" : " false" ,
90
+ "on" : {
91
+ "value" : " true" ,
92
+ "label" : " True"
93
+ },
94
+ "off" : {
95
+ "value" : " false" ,
96
+ "label" : " False"
97
+ }
98
+ }
99
+ },
84
100
{
85
101
"widget-type" : " toggle" ,
86
102
"name" : " skipHeader" ,
179
195
}
180
196
]
181
197
},
198
+ {
199
+ "name" : " enableMultilineSupport" ,
200
+ "condition" : {
201
+ "expression" : " enableQuotedValues == true"
202
+ },
203
+ "show" : [
204
+ {
205
+ "name" : " enableMultilineSupport"
206
+ }
207
+ ]
208
+ },
182
209
{
183
210
"name" : " skipHeader" ,
184
211
"condition" : {
You can’t perform that action at this time.
0 commit comments