doc-exports/docs/dataartsstudio/api-ref/dataartsstudio_02_0297.html
Xiong, Chen Xiao 14a6d65e8c DataArts API 20240130 version
Reviewed-by: Pruthi, Vineet <vineet.pruthi@t-systems.com>
Co-authored-by: Xiong, Chen Xiao <chenxiaoxiong@huawei.com>
Co-committed-by: Xiong, Chen Xiao <chenxiaoxiong@huawei.com>
2024-03-01 11:46:15 +00:00

298 lines
29 KiB
HTML

<a name="dataartsstudio_02_0297"></a><a name="dataartsstudio_02_0297"></a>
<h1 class="topictitle1">To OBS</h1>
<div id="body8662426"><div class="section" id="dataartsstudio_02_0297__en-us_topic_0108272820_section33401108172339"><h4 class="sectiontitle">Sample JSON File</h4><pre class="screen" id="dataartsstudio_02_0297__en-us_topic_0108272820_screen8420958101454">"to-config-values": {
"configs": [
{
"inputs": [
{
"name": "toJobConfig.bucketName",
"value": "cdm"
},
{
"name": "toJobConfig.outputDirectory",
"value": "/obsfrom/advance/"
},
{
"name": "toJobConfig.outputFormat",
"value": "CSV_FILE"
},
{
"name": "toJobConfig.fieldSeparator",
"value": ","
},
{
"name": "toJobConfig.writeToTempFile",
"value": "false"
},
{
"name": "toJobConfig.validateMD5",
"value": "false"
},
{
"name": "toJobConfig.recordMD5Result",
"value": "false"
},
{
"name": "toJobConfig.encodeType",
"value": "UTF-8"
},
{
"name": "toJobConfig.markerFile",
"value": "finish.txt"
},
{
"name": "toJobConfig.duplicateFileOpType",
"value": "REPLACE"
},
{
"name": "toJobConfig.columnList",
"value": "1&amp;2"
},
{
"name": "toJobConfig.quoteChar",
"value": "false"
},
{
"name": "toJobConfig.encryption",
"value": "NONE"
},
{
"name": "toJobConfig.copyContentType",
"value": "false"
}
],
"name": "toJobConfig"
}
]
}</pre>
</div>
<div class="section" id="dataartsstudio_02_0297__en-us_topic_0108272820_section4696198610432"><h4 class="sectiontitle">Parameter Description</h4>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="dataartsstudio_02_0297__en-us_topic_0108272820_table13922888141527" frame="border" border="1" rules="all"><thead align="left"><tr id="dataartsstudio_02_0297__en-us_topic_0108272820_row229143141527"><th align="left" class="cellrowborder" valign="top" width="22.66%" id="mcps1.3.2.2.1.5.1.1"><p id="dataartsstudio_02_0297__en-us_topic_0108272820_p66756185141527">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="19.78%" id="mcps1.3.2.2.1.5.1.2"><p id="dataartsstudio_02_0297__en-us_topic_0108272820_p38541938141527">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="19.49%" id="mcps1.3.2.2.1.5.1.3"><p id="dataartsstudio_02_0297__en-us_topic_0108272820_p34889279141527">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="38.07%" id="mcps1.3.2.2.1.5.1.4"><p id="dataartsstudio_02_0297__en-us_topic_0108272820_p7459369141527">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="dataartsstudio_02_0297__en-us_topic_0108272820_row200694164748"><td class="cellrowborder" valign="top" width="22.66%" headers="mcps1.3.2.2.1.5.1.1 "><p id="dataartsstudio_02_0297__en-us_topic_0108272820_p3511073516484">toJobConfig.bucketName</p>
</td>
<td class="cellrowborder" valign="top" width="19.78%" headers="mcps1.3.2.2.1.5.1.2 "><p id="dataartsstudio_02_0297__en-us_topic_0108272820_p2539731116484">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="19.49%" headers="mcps1.3.2.2.1.5.1.3 "><p id="dataartsstudio_02_0297__en-us_topic_0108272820_p4391632816484">String</p>
</td>
<td class="cellrowborder" valign="top" width="38.07%" headers="mcps1.3.2.2.1.5.1.4 "><p id="dataartsstudio_02_0297__en-us_topic_0108272820_p45278516484">OBS bucket name. For example, <span class="parmvalue" id="dataartsstudio_02_0297__en-us_topic_0108272820_parmvalue453570703114310"><b>cdm</b></span>.</p>
</td>
</tr>
<tr id="dataartsstudio_02_0297__en-us_topic_0108272820_row62628929141527"><td class="cellrowborder" valign="top" width="22.66%" headers="mcps1.3.2.2.1.5.1.1 "><p id="dataartsstudio_02_0297__en-us_topic_0108272820_p18560626141527">toJobConfig.outputDirectory</p>
</td>
<td class="cellrowborder" valign="top" width="19.78%" headers="mcps1.3.2.2.1.5.1.2 "><p id="dataartsstudio_02_0297__en-us_topic_0108272820_p27015713141527">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="19.49%" headers="mcps1.3.2.2.1.5.1.3 "><p id="dataartsstudio_02_0297__en-us_topic_0108272820_p50167516142856">String</p>
</td>
<td class="cellrowborder" valign="top" width="38.07%" headers="mcps1.3.2.2.1.5.1.4 "><p id="dataartsstudio_02_0297__en-us_topic_0108272820_p2430205141527">Path to which data is written. For example, <span class="parmvalue" id="dataartsstudio_02_0297__en-us_topic_0108272820_parmvalue1907513110141"><b>data_dir</b></span>.</p>
</td>
</tr>
<tr id="dataartsstudio_02_0297__en-us_topic_0108272820_row42094113141527"><td class="cellrowborder" valign="top" width="22.66%" headers="mcps1.3.2.2.1.5.1.1 "><p id="dataartsstudio_02_0297__en-us_topic_0108272820_p26789449141527">toJobConfig.outputFormat</p>
</td>
<td class="cellrowborder" valign="top" width="19.78%" headers="mcps1.3.2.2.1.5.1.2 "><p id="dataartsstudio_02_0297__en-us_topic_0108272820_p22461756141527">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="19.49%" headers="mcps1.3.2.2.1.5.1.3 "><p id="dataartsstudio_02_0297__en-us_topic_0108272820_p7462956141527">Enumeration</p>
</td>
<td class="cellrowborder" valign="top" width="38.07%" headers="mcps1.3.2.2.1.5.1.4 "><div class="p" id="dataartsstudio_02_0297__en-us_topic_0108272820_p519680141527">File format required for data writes (except the binary format). Currently, the following file formats are supported:<ul id="dataartsstudio_02_0297__en-us_topic_0108272820_ul6294852210148"><li id="dataartsstudio_02_0297__en-us_topic_0108272820_li5932618510148"><strong id="dataartsstudio_02_0297__en-us_topic_0108272820_b3100712193118">CSV_FILE</strong>: Write data in CSV format.</li><li id="dataartsstudio_02_0297__en-us_topic_0108272820_li23398872101411"><strong id="dataartsstudio_02_0297__en-us_topic_0108272820_b623610203312">BINARY_FILE</strong>: Files are directly transferred without resolving the content. CDM writes the file without changing the file format.</li></ul>
</div>
<p id="dataartsstudio_02_0297__en-us_topic_0108272820_p3415682014487">If you select <span class="parmvalue" id="dataartsstudio_02_0297__en-us_topic_0108272820_parmvalue875914221240"><b>BINARY_FILE</b></span>, the migration source must also be a file system.</p>
</td>
</tr>
<tr id="dataartsstudio_02_0297__en-us_topic_0108272820_row3307208110232"><td class="cellrowborder" valign="top" width="22.66%" headers="mcps1.3.2.2.1.5.1.1 "><p id="dataartsstudio_02_0297__en-us_topic_0108272820_p33465993102324">toJobConfig.fieldSeparator</p>
</td>
<td class="cellrowborder" valign="top" width="19.78%" headers="mcps1.3.2.2.1.5.1.2 "><p id="dataartsstudio_02_0297__en-us_topic_0108272820_p26390928102324">No</p>
</td>
<td class="cellrowborder" valign="top" width="19.49%" headers="mcps1.3.2.2.1.5.1.3 "><p id="dataartsstudio_02_0297__en-us_topic_0108272820_p57290452102324">String</p>
</td>
<td class="cellrowborder" valign="top" width="38.07%" headers="mcps1.3.2.2.1.5.1.4 "><p id="dataartsstudio_02_0297__en-us_topic_0108272820_p10015036102324">Column delimiter. This parameter is valid only when <span class="parmname" id="dataartsstudio_02_0297__en-us_topic_0108272820_parmname11724115615167"><b>toJobConfig.outputFormat</b></span> is <span class="parmvalue" id="dataartsstudio_02_0297__en-us_topic_0108272820_parmvalue911113917141932"><b>CSV_FILE</b></span>. The default value is <span class="parmvalue" id="dataartsstudio_02_0297__en-us_topic_0108272820_parmvalue1798040172141020_1"><b>,</b></span>.</p>
</td>
</tr>
<tr id="dataartsstudio_02_0297__en-us_topic_0108272820_row59961698111250"><td class="cellrowborder" valign="top" width="22.66%" headers="mcps1.3.2.2.1.5.1.1 "><p id="dataartsstudio_02_0297__en-us_topic_0108272820_p25633059111255">toJobConfig.lineSeparator</p>
</td>
<td class="cellrowborder" valign="top" width="19.78%" headers="mcps1.3.2.2.1.5.1.2 "><p id="dataartsstudio_02_0297__en-us_topic_0108272820_p63011862111255">No</p>
</td>
<td class="cellrowborder" valign="top" width="19.49%" headers="mcps1.3.2.2.1.5.1.3 "><p id="dataartsstudio_02_0297__en-us_topic_0108272820_p3687235111255">String</p>
</td>
<td class="cellrowborder" valign="top" width="38.07%" headers="mcps1.3.2.2.1.5.1.4 "><p id="dataartsstudio_02_0297__en-us_topic_0108272820_p30230608111255">Line feed character. This parameter is valid only when <span class="parmname" id="dataartsstudio_02_0297__en-us_topic_0108272820_parmname16832101781710"><b>toJobConfig.outputFormat</b></span> is <span class="parmvalue" id="dataartsstudio_02_0297__en-us_topic_0108272820_parmvalue161635236514106"><b>CSV_FILE</b></span>. The default value is <span class="parmvalue" id="dataartsstudio_02_0297__en-us_topic_0108272820_parmvalue1798040172141020_3"><b>\r\n</b></span>.</p>
</td>
</tr>
<tr id="dataartsstudio_02_0297__en-us_topic_0108272820_row45671424144916"><td class="cellrowborder" valign="top" width="22.66%" headers="mcps1.3.2.2.1.5.1.1 "><p id="dataartsstudio_02_0297__en-us_topic_0108272820_p1856762494910">toJobConfig.writeFileSize</p>
</td>
<td class="cellrowborder" valign="top" width="19.78%" headers="mcps1.3.2.2.1.5.1.2 "><p id="dataartsstudio_02_0297__en-us_topic_0108272820_p1567122434919">No</p>
</td>
<td class="cellrowborder" valign="top" width="19.49%" headers="mcps1.3.2.2.1.5.1.3 "><p id="dataartsstudio_02_0297__en-us_topic_0108272820_p83091218170">String</p>
</td>
<td class="cellrowborder" valign="top" width="38.07%" headers="mcps1.3.2.2.1.5.1.4 "><p id="dataartsstudio_02_0297__en-us_topic_0108272820_p34895339587">Whether to fragment multiple files by size so that the files are exported in proper size. The unit is MB. This parameter is valid when the migration source is a database.</p>
</td>
</tr>
<tr id="dataartsstudio_02_0297__en-us_topic_0108272820_row14439759155521"><td class="cellrowborder" valign="top" width="22.66%" headers="mcps1.3.2.2.1.5.1.1 "><p id="dataartsstudio_02_0297__en-us_topic_0108272820_p32407119155527">toJobConfig.duplicateFileOpType</p>
</td>
<td class="cellrowborder" valign="top" width="19.78%" headers="mcps1.3.2.2.1.5.1.2 "><p id="dataartsstudio_02_0297__en-us_topic_0108272820_p7730996155527">No</p>
</td>
<td class="cellrowborder" valign="top" width="19.49%" headers="mcps1.3.2.2.1.5.1.3 "><p id="dataartsstudio_02_0297__en-us_topic_0108272820_p22230925155527">Enumeration</p>
</td>
<td class="cellrowborder" valign="top" width="38.07%" headers="mcps1.3.2.2.1.5.1.4 "><div class="p" id="dataartsstudio_02_0297__en-us_topic_0108272820_p55874499155527">Method for processing duplicate files. If the name and size of a file are the same as those of another file, the file is regarded as a duplicate file. Duplicate files can be processed in the following ways:<ul id="dataartsstudio_02_0297__en-us_topic_0108272820_ul33108444155527"><li id="dataartsstudio_02_0297__en-us_topic_0108272820_li29540541155527"><strong id="dataartsstudio_02_0297__en-us_topic_0108272820_b842352706151043">REPLACE</strong>: Replace duplicate files.</li><li id="dataartsstudio_02_0297__en-us_topic_0108272820_li64538279155527"><strong id="dataartsstudio_02_0297__en-us_topic_0108272820_b842352706151050">SKIP</strong>: Skip duplicate files.</li><li id="dataartsstudio_02_0297__en-us_topic_0108272820_li43973603155527"><strong id="dataartsstudio_02_0297__en-us_topic_0108272820_b84235270615111">ABANDON</strong>: Stop the job when any duplicate file is found.</li></ul>
</div>
</td>
</tr>
<tr id="dataartsstudio_02_0297__en-us_topic_0108272820_row1238965418316"><td class="cellrowborder" valign="top" width="22.66%" headers="mcps1.3.2.2.1.5.1.1 "><p id="dataartsstudio_02_0297__en-us_topic_0108272820_p34470963162721">toJobConfig.columnList</p>
</td>
<td class="cellrowborder" valign="top" width="19.78%" headers="mcps1.3.2.2.1.5.1.2 "><p id="dataartsstudio_02_0297__en-us_topic_0108272820_p40684644162721">No</p>
</td>
<td class="cellrowborder" valign="top" width="19.49%" headers="mcps1.3.2.2.1.5.1.3 "><p id="dataartsstudio_02_0297__en-us_topic_0108272820_p7121906162721">String</p>
</td>
<td class="cellrowborder" valign="top" width="38.07%" headers="mcps1.3.2.2.1.5.1.4 "><p id="dataartsstudio_02_0297__en-us_topic_0108272820_p40003524162721">List of fields to be extracted. Use <span class="parmvalue" id="dataartsstudio_02_0297__en-us_topic_0108272820_parmvalue2874133414252"><b>&amp;</b></span> to separate field names. For example, <span class="parmvalue" id="dataartsstudio_02_0297__en-us_topic_0108272820_parmvalue1787473411251"><b>id&amp;gid&amp;name</b></span>.</p>
</td>
</tr>
<tr id="dataartsstudio_02_0297__en-us_topic_0108272820_row1362135920116"><td class="cellrowborder" valign="top" width="22.66%" headers="mcps1.3.2.2.1.5.1.1 "><p id="dataartsstudio_02_0297__en-us_topic_0108272820_p5622115931110">toJobConfig.encryption</p>
</td>
<td class="cellrowborder" valign="top" width="19.78%" headers="mcps1.3.2.2.1.5.1.2 "><p id="dataartsstudio_02_0297__en-us_topic_0108272820_p10622125919118">No</p>
</td>
<td class="cellrowborder" valign="top" width="19.49%" headers="mcps1.3.2.2.1.5.1.3 "><p id="dataartsstudio_02_0297__en-us_topic_0108272820_p1762214595111">Enumeration</p>
</td>
<td class="cellrowborder" valign="top" width="38.07%" headers="mcps1.3.2.2.1.5.1.4 "><div class="p" id="dataartsstudio_02_0297__en-us_topic_0108272820_p268631112373">Whether to encrypt the uploaded data and the encryption method. The options are as follows:<ul id="dataartsstudio_02_0297__en-us_topic_0108272820_ul193603764111"><li id="dataartsstudio_02_0297__en-us_topic_0108272820_li443953725020"><strong id="dataartsstudio_02_0297__en-us_topic_0108272820_b13723162111617">NONE</strong>: Directly write data without encryption.</li><li id="dataartsstudio_02_0297__en-us_topic_0108272820_li139764011444"><strong id="dataartsstudio_02_0297__en-us_topic_0108272820_b456818891619">KMS</strong>: Use KMS in Data Encryption Workshop (DEW) for encryption. If KMS encryption is enabled, MD5 verification for data cannot be performed.</li></ul>
</div>
</td>
</tr>
<tr id="dataartsstudio_02_0297__en-us_topic_0108272820_row121169414496"><td class="cellrowborder" valign="top" width="22.66%" headers="mcps1.3.2.2.1.5.1.1 "><p id="dataartsstudio_02_0297__en-us_topic_0108272820_p61161042495">toJobConfig.kmsID</p>
</td>
<td class="cellrowborder" valign="top" width="19.78%" headers="mcps1.3.2.2.1.5.1.2 "><p id="dataartsstudio_02_0297__en-us_topic_0108272820_p8747283512">No</p>
</td>
<td class="cellrowborder" valign="top" width="19.49%" headers="mcps1.3.2.2.1.5.1.3 "><p id="dataartsstudio_02_0297__en-us_topic_0108272820_p19495182285110">String</p>
</td>
<td class="cellrowborder" valign="top" width="38.07%" headers="mcps1.3.2.2.1.5.1.4 "><p id="dataartsstudio_02_0297__en-us_topic_0108272820_p1298713015611">Key used for encryption during data upload. You must create a key in KMS before data upload.</p>
</td>
</tr>
<tr id="dataartsstudio_02_0297__en-us_topic_0108272820_row18291314135"><td class="cellrowborder" valign="top" width="22.66%" headers="mcps1.3.2.2.1.5.1.1 "><p id="dataartsstudio_02_0297__en-us_topic_0108272820_p42919318131">toJobConfig.projectID</p>
</td>
<td class="cellrowborder" valign="top" width="19.78%" headers="mcps1.3.2.2.1.5.1.2 "><p id="dataartsstudio_02_0297__en-us_topic_0108272820_p92917315133">No</p>
</td>
<td class="cellrowborder" valign="top" width="19.49%" headers="mcps1.3.2.2.1.5.1.3 "><p id="dataartsstudio_02_0297__en-us_topic_0108272820_p167262385207">String</p>
</td>
<td class="cellrowborder" valign="top" width="38.07%" headers="mcps1.3.2.2.1.5.1.4 "><p id="dataartsstudio_02_0297__en-us_topic_0108272820_p18101134914317">ID of the project to which the KMS key belongs.</p>
</td>
</tr>
<tr id="dataartsstudio_02_0297__en-us_topic_0108272820_row11364102324716"><td class="cellrowborder" valign="top" width="22.66%" headers="mcps1.3.2.2.1.5.1.1 "><p id="dataartsstudio_02_0297__en-us_topic_0108272820_p13661423204717">toJobConfig.writeToTempFile</p>
</td>
<td class="cellrowborder" valign="top" width="19.78%" headers="mcps1.3.2.2.1.5.1.2 "><p id="dataartsstudio_02_0297__en-us_topic_0108272820_p536612312470">No</p>
</td>
<td class="cellrowborder" valign="top" width="19.49%" headers="mcps1.3.2.2.1.5.1.3 "><p id="dataartsstudio_02_0297__en-us_topic_0108272820_p183661423104713">Boolean</p>
</td>
<td class="cellrowborder" valign="top" width="38.07%" headers="mcps1.3.2.2.1.5.1.4 "><p id="dataartsstudio_02_0297__en-us_topic_0108272820_p169603823818">The binary file is written to a <span class="uicontrol" id="dataartsstudio_02_0297__en-us_topic_0108272820_en-us_topic_0108272836_uicontrol575920575265"><b>.tmp</b></span> file first. After the migration is successful, run the <strong id="dataartsstudio_02_0297__en-us_topic_0108272820_en-us_topic_0108272836_b1675975719261">rename</strong> or <strong id="dataartsstudio_02_0297__en-us_topic_0108272820_en-us_topic_0108272836_b12759145722617">move</strong> command at the migration destination to restore the file.</p>
</td>
</tr>
<tr id="dataartsstudio_02_0297__en-us_topic_0108272820_row156027298502"><td class="cellrowborder" valign="top" width="22.66%" headers="mcps1.3.2.2.1.5.1.1 "><p id="dataartsstudio_02_0297__en-us_topic_0108272820_p560222965013">toJobConfig.validateMD5</p>
</td>
<td class="cellrowborder" valign="top" width="19.78%" headers="mcps1.3.2.2.1.5.1.2 "><p id="dataartsstudio_02_0297__en-us_topic_0108272820_p148814283513">No</p>
</td>
<td class="cellrowborder" valign="top" width="19.49%" headers="mcps1.3.2.2.1.5.1.3 "><p id="dataartsstudio_02_0297__en-us_topic_0108272820_p128700182517">Boolean</p>
</td>
<td class="cellrowborder" valign="top" width="38.07%" headers="mcps1.3.2.2.1.5.1.4 "><p id="dataartsstudio_02_0297__en-us_topic_0108272820_p315803203318">Whether to verify the MD5 value. MD5 verification cannot be used together with KMS encryption. MD5 values can be verified only when files are transferred in binary format.</p>
<p id="dataartsstudio_02_0297__en-us_topic_0108272820_p187921432029">Calculate the MD5 value of the source file and verify it with the MD5 value returned by OBS. If an MD5 file exists on the source end, directly read the MD5 file and verify the MD5 file with the MD5 value returned by OBS.</p>
</td>
</tr>
<tr id="dataartsstudio_02_0297__en-us_topic_0108272820_row414713389207"><td class="cellrowborder" valign="top" width="22.66%" headers="mcps1.3.2.2.1.5.1.1 "><p id="dataartsstudio_02_0297__en-us_topic_0108272820_p17147193812200">toJobConfig.recordMD5Result</p>
</td>
<td class="cellrowborder" valign="top" width="19.78%" headers="mcps1.3.2.2.1.5.1.2 "><p id="dataartsstudio_02_0297__en-us_topic_0108272820_p82561650162012">No</p>
</td>
<td class="cellrowborder" valign="top" width="19.49%" headers="mcps1.3.2.2.1.5.1.3 "><p id="dataartsstudio_02_0297__en-us_topic_0108272820_p152561350172015">Boolean</p>
</td>
<td class="cellrowborder" valign="top" width="38.07%" headers="mcps1.3.2.2.1.5.1.4 "><p id="dataartsstudio_02_0297__en-us_topic_0108272820_p1327165017202">Whether to record the verification result when the MD5 value is verified</p>
</td>
</tr>
<tr id="dataartsstudio_02_0297__en-us_topic_0108272820_row14648125612210"><td class="cellrowborder" valign="top" width="22.66%" headers="mcps1.3.2.2.1.5.1.1 "><p id="dataartsstudio_02_0297__en-us_topic_0108272820_p1664817567212">toJobConfig.recordMD5Link</p>
</td>
<td class="cellrowborder" valign="top" width="19.78%" headers="mcps1.3.2.2.1.5.1.2 "><p id="dataartsstudio_02_0297__en-us_topic_0108272820_p0648185612114">No</p>
</td>
<td class="cellrowborder" valign="top" width="19.49%" headers="mcps1.3.2.2.1.5.1.3 "><p id="dataartsstudio_02_0297__en-us_topic_0108272820_p106484567219">String</p>
</td>
<td class="cellrowborder" valign="top" width="38.07%" headers="mcps1.3.2.2.1.5.1.4 "><p id="dataartsstudio_02_0297__en-us_topic_0108272820_p24225018412">OBS link where the bucket to which the MD5 verification result is written resides</p>
</td>
</tr>
<tr id="dataartsstudio_02_0297__en-us_topic_0108272820_row192884109279"><td class="cellrowborder" valign="top" width="22.66%" headers="mcps1.3.2.2.1.5.1.1 "><p id="dataartsstudio_02_0297__en-us_topic_0108272820_p1128813105274">toJobConfig.recordMD5Bucket</p>
</td>
<td class="cellrowborder" valign="top" width="19.78%" headers="mcps1.3.2.2.1.5.1.2 "><p id="dataartsstudio_02_0297__en-us_topic_0108272820_p17288151072718">No</p>
</td>
<td class="cellrowborder" valign="top" width="19.49%" headers="mcps1.3.2.2.1.5.1.3 "><p id="dataartsstudio_02_0297__en-us_topic_0108272820_p1288010152719">String</p>
</td>
<td class="cellrowborder" valign="top" width="38.07%" headers="mcps1.3.2.2.1.5.1.4 "><p id="dataartsstudio_02_0297__en-us_topic_0108272820_p10288910142717">OBS bucket to which the MD5 verification result is written</p>
</td>
</tr>
<tr id="dataartsstudio_02_0297__en-us_topic_0108272820_row1246233152812"><td class="cellrowborder" valign="top" width="22.66%" headers="mcps1.3.2.2.1.5.1.1 "><p id="dataartsstudio_02_0297__en-us_topic_0108272820_p1546218312281">toJobConfig.recordMD5Directory</p>
</td>
<td class="cellrowborder" valign="top" width="19.78%" headers="mcps1.3.2.2.1.5.1.2 "><p id="dataartsstudio_02_0297__en-us_topic_0108272820_p346214316289">No</p>
</td>
<td class="cellrowborder" valign="top" width="19.49%" headers="mcps1.3.2.2.1.5.1.3 "><p id="dataartsstudio_02_0297__en-us_topic_0108272820_p0462153111289">String</p>
</td>
<td class="cellrowborder" valign="top" width="38.07%" headers="mcps1.3.2.2.1.5.1.4 "><p id="dataartsstudio_02_0297__en-us_topic_0108272820_p1346233192813">Directory to which the MD5 verification result is written</p>
</td>
</tr>
<tr id="dataartsstudio_02_0297__en-us_topic_0108272820_row1740959314598"><td class="cellrowborder" valign="top" width="22.66%" headers="mcps1.3.2.2.1.5.1.1 "><p id="dataartsstudio_02_0297__en-us_topic_0108272820_p54503533164925">toJobConfig.encodeType</p>
</td>
<td class="cellrowborder" valign="top" width="19.78%" headers="mcps1.3.2.2.1.5.1.2 "><p id="dataartsstudio_02_0297__en-us_topic_0108272820_p52710080164925">No</p>
</td>
<td class="cellrowborder" valign="top" width="19.49%" headers="mcps1.3.2.2.1.5.1.3 "><p id="dataartsstudio_02_0297__en-us_topic_0108272820_p41658067164925">String</p>
</td>
<td class="cellrowborder" valign="top" width="38.07%" headers="mcps1.3.2.2.1.5.1.4 "><p id="dataartsstudio_02_0297__en-us_topic_0108272820_p18860238164925">Encoding type. For example, <span class="parmvalue" id="dataartsstudio_02_0297__en-us_topic_0108272820_parmvalue830270147115123"><b>UTF_8</b></span> or <span class="parmvalue" id="dataartsstudio_02_0297__en-us_topic_0108272820_parmvalue354317202115128"><b>GBK</b></span>.</p>
</td>
</tr>
<tr id="dataartsstudio_02_0297__en-us_topic_0108272820_row7509313442"><td class="cellrowborder" valign="top" width="22.66%" headers="mcps1.3.2.2.1.5.1.1 "><p id="dataartsstudio_02_0297__en-us_topic_0108272820_p18508310443">toJobConfig.markerFile</p>
</td>
<td class="cellrowborder" valign="top" width="19.78%" headers="mcps1.3.2.2.1.5.1.2 "><p id="dataartsstudio_02_0297__en-us_topic_0108272820_p85012364412">No</p>
</td>
<td class="cellrowborder" valign="top" width="19.49%" headers="mcps1.3.2.2.1.5.1.3 "><p id="dataartsstudio_02_0297__en-us_topic_0108272820_p1750103124416">String</p>
</td>
<td class="cellrowborder" valign="top" width="38.07%" headers="mcps1.3.2.2.1.5.1.4 "><p id="dataartsstudio_02_0297__en-us_topic_0108272820_p195014313441">Whether to generate a marker file with a custom name in the destination directory after a job is executed successfully. If you do not specify a file name, this function is disabled by default.</p>
</td>
</tr>
<tr id="dataartsstudio_02_0297__en-us_topic_0108272820_row1287913316408"><td class="cellrowborder" valign="top" width="22.66%" headers="mcps1.3.2.2.1.5.1.1 "><p id="dataartsstudio_02_0297__en-us_topic_0108272820_p9879163174014">toJobConfig.copyContentType</p>
</td>
<td class="cellrowborder" valign="top" width="19.78%" headers="mcps1.3.2.2.1.5.1.2 "><p id="dataartsstudio_02_0297__en-us_topic_0108272820_p1582111414403">No</p>
</td>
<td class="cellrowborder" valign="top" width="19.49%" headers="mcps1.3.2.2.1.5.1.3 "><p id="dataartsstudio_02_0297__en-us_topic_0108272820_p658281416403">Boolean</p>
</td>
<td class="cellrowborder" valign="top" width="38.07%" headers="mcps1.3.2.2.1.5.1.4 "><p id="dataartsstudio_02_0297__en-us_topic_0108272820_p18177191318566">This parameter is displayed only when <span class="parmname" id="dataartsstudio_02_0297__en-us_topic_0108272820_parmname18613330161819"><b>toJobConfig.outputFormat</b></span> is <span class="parmvalue" id="dataartsstudio_02_0297__en-us_topic_0108272820_parmvalue81869371931"><b>BINARY_FILE</b></span> and both the migration source and destination are object storage.</p>
<p id="dataartsstudio_02_0297__en-us_topic_0108272820_p014919221606">If you set this parameter to <span class="parmvalue" id="dataartsstudio_02_0297__en-us_topic_0108272820_parmvalue47971754369"><b>Yes</b></span>, the Content-Type attribute of the source file is copied during object file migration. This function is mainly used for static website migration</p>
<p id="dataartsstudio_02_0297__en-us_topic_0108272820_p9540193215413">The Content-Type attribute cannot be written to Archive buckets. Therefore, if you set this parameter to <strong id="dataartsstudio_02_0297__en-us_topic_0108272820_b1659519147713">Yes</strong>, the migration destination must be a non-Archive bucket.</p>
</td>
</tr>
<tr id="dataartsstudio_02_0297__en-us_topic_0108272820_row1051412310366"><td class="cellrowborder" valign="top" width="22.66%" headers="mcps1.3.2.2.1.5.1.1 "><p id="dataartsstudio_02_0297__en-us_topic_0108272820_p20514235364">toJobConfig.quoteChar</p>
</td>
<td class="cellrowborder" valign="top" width="19.78%" headers="mcps1.3.2.2.1.5.1.2 "><p id="dataartsstudio_02_0297__en-us_topic_0108272820_p751473133620">No</p>
</td>
<td class="cellrowborder" valign="top" width="19.49%" headers="mcps1.3.2.2.1.5.1.3 "><p id="dataartsstudio_02_0297__en-us_topic_0108272820_p1651463123618">Boolean</p>
</td>
<td class="cellrowborder" valign="top" width="38.07%" headers="mcps1.3.2.2.1.5.1.4 "><p id="dataartsstudio_02_0297__en-us_topic_0108272820_p1210241263316">This parameter is available only when <span class="parmname" id="dataartsstudio_02_0297__en-us_topic_0108272820_parmname1974874181810"><b>toJobConfig.outputFormat</b></span> is <span class="parmvalue" id="dataartsstudio_02_0297__en-us_topic_0108272820_parmvalue1245632794"><b>CSV_FILE</b></span>. It is used when database tables are migrated to file systems.</p>
<p id="dataartsstudio_02_0297__en-us_topic_0108272820_p19249144319">If you set this parameter to <span class="parmvalue" id="dataartsstudio_02_0297__en-us_topic_0108272820_parmvalue1030510505128"><b>Yes</b></span> and a field in the source data table contains a field delimiter or line separator, CDM uses double quotation marks (") as the quote character to quote the field content as a whole to prevent a field delimiter from dividing a field into two fields, or a line separator from dividing a field into different lines. For example, if the <strong id="dataartsstudio_02_0297__en-us_topic_0108272820_b51489613138">hello,world</strong> field in the database is quoted, it will be exported to the CSV file as a whole.</p>
</td>
</tr>
<tr id="dataartsstudio_02_0297__en-us_topic_0108272820_row1744476115415"><td class="cellrowborder" valign="top" width="22.66%" headers="mcps1.3.2.2.1.5.1.1 "><p id="dataartsstudio_02_0297__en-us_topic_0108272820_p344406195416">toJobConfig.firstRowAsHeader</p>
</td>
<td class="cellrowborder" valign="top" width="19.78%" headers="mcps1.3.2.2.1.5.1.2 "><p id="dataartsstudio_02_0297__en-us_topic_0108272820_p1244417635410">No</p>
</td>
<td class="cellrowborder" valign="top" width="19.49%" headers="mcps1.3.2.2.1.5.1.3 "><p id="dataartsstudio_02_0297__en-us_topic_0108272820_p124445615545">Boolean</p>
</td>
<td class="cellrowborder" valign="top" width="38.07%" headers="mcps1.3.2.2.1.5.1.4 "><p id="dataartsstudio_02_0297__en-us_topic_0108272820_p54449616542">This parameter is available only when <span class="parmname" id="dataartsstudio_02_0297__en-us_topic_0108272820_parmname1742242213195"><b>toJobConfig.outputFormat</b></span> is <span class="parmvalue" id="dataartsstudio_02_0297__en-us_topic_0108272820_parmvalue1715145111420"><b>CSV_FILE</b></span>. When a table is migrated to a CSV file, CDM does not migrate the heading line of the table by default. If this parameter is set to <span class="parmvalue" id="dataartsstudio_02_0297__en-us_topic_0108272820_parmvalue12387028051"><b>Yes</b></span>, CDM writes the heading line of the table to the file.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="destination_job_parameters.html">Destination Job Parameters</a></div>
</div>
</div>