Files
doc-exports/docs/dataartsstudio/umn/dataartsstudio_01_0062.html
chenxiaoxiong f9e2808b7c DataArts UMN 20250810 version
Reviewed-by: Pruthi, Vineet <vineet.pruthi@t-systems.com>
Co-authored-by: chenxiaoxiong <chenxiaoxiong@huawei.com>
Co-committed-by: chenxiaoxiong <chenxiaoxiong@huawei.com>
2025-09-02 10:44:13 +00:00

228 lines
33 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<a name="dataartsstudio_01_0062"></a><a name="dataartsstudio_01_0062"></a>
<h1 class="topictitle1">To OBS</h1>
<div id="body8662426"><p id="dataartsstudio_01_0062__en-us_topic_0108275301_p32842430161426">If the destination link of a job is an <a href="dataartsstudio_01_0045.html">OBS link</a>, that is, data is to be imported to OBS, configure the destination job parameters based on <a href="#dataartsstudio_01_0062__en-us_topic_0108275301_table31823995163953">Table 1</a>.</p>
<p id="dataartsstudio_01_0062__en-us_topic_0108275301_p6441782115165">Advanced attributes are optional and not displayed by default. You can click <span class="uicontrol" id="dataartsstudio_01_0062__en-us_topic_0108275301_en-us_topic_0108275319_uicontrol212596276811411"><b>Show Advanced Attributes</b></span> to display them.</p>
<div class="tablenoborder"><a name="dataartsstudio_01_0062__en-us_topic_0108275301_table31823995163953"></a><a name="en-us_topic_0108275301_table31823995163953"></a><table cellpadding="4" cellspacing="0" summary="" id="dataartsstudio_01_0062__en-us_topic_0108275301_table31823995163953" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Parameter description</caption><thead align="left"><tr id="dataartsstudio_01_0062__en-us_topic_0108275301_row18653487163953"><th align="left" class="cellrowborder" valign="top" width="11.59%" id="mcps1.3.3.2.5.1.1"><p id="dataartsstudio_01_0062__en-us_topic_0108275301_p2993976910371">Category</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="16.39%" id="mcps1.3.3.2.5.1.2"><p id="dataartsstudio_01_0062__en-us_topic_0108275301_p15314298163953">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="54.85%" id="mcps1.3.3.2.5.1.3"><p id="dataartsstudio_01_0062__en-us_topic_0108275301_p32498630163953">Description</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="17.169999999999998%" id="mcps1.3.3.2.5.1.4"><p id="dataartsstudio_01_0062__en-us_topic_0108275301_p15143370163953">Example Value</p>
</th>
</tr>
</thead>
<tbody><tr id="dataartsstudio_01_0062__en-us_topic_0108275301_row34313000163953"><td class="cellrowborder" rowspan="4" valign="top" width="11.59%" headers="mcps1.3.3.2.5.1.1 "><p id="dataartsstudio_01_0062__en-us_topic_0108275301_p52608321103750">Basic parameters</p>
</td>
<td class="cellrowborder" valign="top" width="16.39%" headers="mcps1.3.3.2.5.1.2 "><p id="dataartsstudio_01_0062__en-us_topic_0108275301_p46804376161524">Bucket Name</p>
</td>
<td class="cellrowborder" valign="top" width="54.85%" headers="mcps1.3.3.2.5.1.3 "><p id="dataartsstudio_01_0062__en-us_topic_0108275301_p46074171163953">Name of the OBS bucket that data will be written to</p>
</td>
<td class="cellrowborder" valign="top" width="17.169999999999998%" headers="mcps1.3.3.2.5.1.4 "><p id="dataartsstudio_01_0062__en-us_topic_0108275301_p41020337163953">bucket_2</p>
</td>
</tr>
<tr id="dataartsstudio_01_0062__en-us_topic_0108275301_row1928353163953"><td class="cellrowborder" valign="top" headers="mcps1.3.3.2.5.1.1 "><p id="dataartsstudio_01_0062__en-us_topic_0108275301_p28108739161524">Write Directory</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.2.5.1.2 "><p id="dataartsstudio_01_0062__en-us_topic_0108275301_p49679878163953">OBS directory to which data will be written. Do not add <span class="parmvalue" id="dataartsstudio_01_0062__en-us_topic_0108275301_parmvalue2054555605143135"><b>/</b></span> in front of the directory name.</p>
<p id="dataartsstudio_01_0062__en-us_topic_0108275301_p1210244910548">This parameter can be configured as a macro variable of date and time and a path name can contain multiple macro variables. When the macro variable of date and time works with a scheduled job, the incremental data can be synchronized periodically. </p>
<div class="note" id="dataartsstudio_01_0062__en-us_topic_0108275301_note45791757134910"><span class="notetitle"> NOTE: </span><div class="notebody"><p id="dataartsstudio_01_0062__en-us_topic_0108275301_en-us_topic_0108275319_p52974484409">If you have configured a macro variable of date and time and schedule a CDM job through <span id="dataartsstudio_01_0062__en-us_topic_0108275301_en-us_topic_0108275319_text9997118203">DataArts Studio DataArts Factory</span>, the system replaces the macro variable of date and time with (<em id="dataartsstudio_01_0062__en-us_topic_0108275301_en-us_topic_0108275319_i799871152012">Planned start time of the data development job</em> <em id="dataartsstudio_01_0062__en-us_topic_0108275301_en-us_topic_0108275319_i0998101192020">Offset</em>) rather than (<em id="dataartsstudio_01_0062__en-us_topic_0108275301_en-us_topic_0108275319_i299821132018">Actual start time of the CDM job</em> <em id="dataartsstudio_01_0062__en-us_topic_0108275301_en-us_topic_0108275319_i129981917200">Offset</em>).</p>
</div></div>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.2.5.1.3 "><p id="dataartsstudio_01_0062__en-us_topic_0108275301_p64647157163953">directory/</p>
</td>
</tr>
<tr id="dataartsstudio_01_0062__en-us_topic_0108275301_row11687830163953"><td class="cellrowborder" valign="top" headers="mcps1.3.3.2.5.1.1 "><p id="dataartsstudio_01_0062__en-us_topic_0108275301_p23518636161524">File Format</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.2.5.1.2 "><div class="p" id="dataartsstudio_01_0062__en-us_topic_0108275301_p58390965143945">Format in which data is written. The options are as follows:<ul id="dataartsstudio_01_0062__en-us_topic_0108275301_ul55756641143945"><li id="dataartsstudio_01_0062__en-us_topic_0108275301_li32047723143945"><strong id="dataartsstudio_01_0062__en-us_topic_0108275301_b6478164633220">CSV</strong>: Data is written in CSV format, which is used for migrating data tables to files.</li><li id="dataartsstudio_01_0062__en-us_topic_0108275301_li19994052143945"><strong id="dataartsstudio_01_0062__en-us_topic_0108275301_b14167115013712">Binary</strong>: Files will be transferred directly. CDM writes the files without changing their format. This setting is suitable for file migration.</li></ul>
</div>
<p id="dataartsstudio_01_0062__en-us_topic_0108275301_p5736095154452">If data is migrated between file-related data sources, such as FTP, SFTP, OBS, and HDFS, the value of <span class="parmname" id="dataartsstudio_01_0062__en-us_topic_0108275301_parmname1624713593719"><b>File Format</b></span> must the same as the source file format.</p>
<div class="note" id="dataartsstudio_01_0062__en-us_topic_0108275301_note4788193911445"><span class="notetitle"> NOTE: </span><div class="notebody"><ul id="dataartsstudio_01_0062__en-us_topic_0108275301_ul8810917183810"><li id="dataartsstudio_01_0062__en-us_topic_0108275301_li108101217153818">The format can only be CSV when the source link is an MRS Hive link.</li><li id="dataartsstudio_01_0062__en-us_topic_0108275301_li4811617143819">If the source is an FTP/SFTP server, only the binary format is supported.</li></ul>
</div></div>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.2.5.1.3 "><p id="dataartsstudio_01_0062__en-us_topic_0108275301_p50683068163953">CSV</p>
</td>
</tr>
<tr id="dataartsstudio_01_0062__en-us_topic_0108275301_row33602446102911"><td class="cellrowborder" valign="top" headers="mcps1.3.3.2.5.1.1 "><p id="dataartsstudio_01_0062__en-us_topic_0108275301_p13031414102911">Duplicate File Processing Method</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.2.5.1.2 "><p id="dataartsstudio_01_0062__en-us_topic_0108275301_p216161443117">This parameter is available when the migration source is HDFS.</p>
<div class="p" id="dataartsstudio_01_0062__en-us_topic_0108275301_p48911576102911">Files with the same name and size are identified as duplicate files. If there are duplicate files during data writing, the following methods are available:<ul id="dataartsstudio_01_0062__en-us_topic_0108275301_ul38524806103122"><li id="dataartsstudio_01_0062__en-us_topic_0108275301_li49827241103122">Replace</li><li id="dataartsstudio_01_0062__en-us_topic_0108275301_li29254232103122">Skip</li><li id="dataartsstudio_01_0062__en-us_topic_0108275301_li51027642103122">Stop job</li></ul>
</div>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.2.5.1.3 "><p id="dataartsstudio_01_0062__en-us_topic_0108275301_p2414735102911">Skip</p>
</td>
</tr>
<tr id="dataartsstudio_01_0062__en-us_topic_0108275301_row168768506410"><td class="cellrowborder" rowspan="21" valign="top" width="11.59%" headers="mcps1.3.3.2.5.1.1 "><p id="dataartsstudio_01_0062__en-us_topic_0108275301_p5876650545">Advanced attributes</p>
</td>
<td class="cellrowborder" valign="top" width="16.39%" headers="mcps1.3.3.2.5.1.2 "><p id="dataartsstudio_01_0062__en-us_topic_0108275301_p118762050344">Encryption</p>
</td>
<td class="cellrowborder" valign="top" width="54.85%" headers="mcps1.3.3.2.5.1.3 "><div class="p" id="dataartsstudio_01_0062__en-us_topic_0108275301_p268631112373">Whether to encrypt the uploaded data and the encryption mode. The options are as follows:<ul id="dataartsstudio_01_0062__en-us_topic_0108275301_ul193603764111"><li id="dataartsstudio_01_0062__en-us_topic_0108275301_li443953725020"><strong id="dataartsstudio_01_0062__en-us_topic_0108275301_b154888134258">None</strong>: Data is written without encryption.</li><li id="dataartsstudio_01_0062__en-us_topic_0108275301_li139764011444"><strong id="dataartsstudio_01_0062__en-us_topic_0108275301_b1196105418295">KMS</strong>: KMS in Data Encryption Workshop (DEW) is used for encryption. If KMS encryption is enabled, MD5 verification for data cannot be performed.</li></ul>
</div>
</td>
<td class="cellrowborder" valign="top" width="17.169999999999998%" headers="mcps1.3.3.2.5.1.4 "><p id="dataartsstudio_01_0062__en-us_topic_0108275301_p168764505413">KMS</p>
</td>
</tr>
<tr id="dataartsstudio_01_0062__en-us_topic_0108275301_row169871402061"><td class="cellrowborder" valign="top" headers="mcps1.3.3.2.5.1.1 "><p id="dataartsstudio_01_0062__en-us_topic_0108275301_p189871808614">KMS ID</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.2.5.1.2 "><p id="dataartsstudio_01_0062__en-us_topic_0108275301_p124381309114">Data encryption key. This parameter is displayed when <span class="parmname" id="dataartsstudio_01_0062__en-us_topic_0108275301_parmname204378018111"><b>Encryption</b></span> is set to <span class="parmvalue" id="dataartsstudio_01_0062__en-us_topic_0108275301_parmvalue1188091863410"><b>KMS</b></span>. Click <span><img id="dataartsstudio_01_0062__en-us_topic_0108275301_image514169183517" src="en-us_image_0000002234082412.png"></span> next to the text box to select the KMS key that was created in DEW.</p>
<ul id="dataartsstudio_01_0062__en-us_topic_0108275301_ul1564184121119"><li id="dataartsstudio_01_0062__en-us_topic_0108275301_li165641451110">If the KMS key of the same project as that of the CDM cluster is used, you do not need to modify <span class="parmname" id="dataartsstudio_01_0062__en-us_topic_0108275301_parmname52363183237"><b>Project ID</b></span>.</li><li id="dataartsstudio_01_0062__en-us_topic_0108275301_li115055621112">If the KMS key of another project is used, you need to modify <span class="parmname" id="dataartsstudio_01_0062__en-us_topic_0108275301_parmname113211536363"><b>Project ID</b></span>.</li></ul>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.2.5.1.3 "><p id="dataartsstudio_01_0062__en-us_topic_0108275301_p990948669">53440ccb-3e73-4700-98b5-71ff5476e621</p>
</td>
</tr>
<tr id="dataartsstudio_01_0062__en-us_topic_0108275301_row21403316717"><td class="cellrowborder" valign="top" headers="mcps1.3.3.2.5.1.1 "><p id="dataartsstudio_01_0062__en-us_topic_0108275301_p41715339717">Project ID</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.2.5.1.2 "><p id="dataartsstudio_01_0062__en-us_topic_0108275301_p18101134914317">ID of the project to which KMS ID belongs. The default value is the ID of the project to which the current CDM cluster belongs.</p>
<ul id="dataartsstudio_01_0062__en-us_topic_0108275301_ul11109174919434"><li id="dataartsstudio_01_0062__en-us_topic_0108275301_li121091049134312">If KMS and the CDM cluster are in the same project, retain the default value of <span class="parmname" id="dataartsstudio_01_0062__en-us_topic_0108275301_parmname810994914318"><b>Project ID</b></span>.</li><li id="dataartsstudio_01_0062__en-us_topic_0108275301_li191090491435">If KMS of another project is used, set this parameter to the ID of the project to which KMS belongs.</li></ul>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.2.5.1.3 "><p id="dataartsstudio_01_0062__en-us_topic_0108275301_p91715337717">9bd7c4bd54e5417198f9591bef07ae67</p>
</td>
</tr>
<tr id="dataartsstudio_01_0062__en-us_topic_0108275301_row654017329411"><td class="cellrowborder" valign="top" headers="mcps1.3.3.2.5.1.1 "><p id="dataartsstudio_01_0062__en-us_topic_0108275301_p1754014324418">Copy Content-Type</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.2.5.1.2 "><p id="dataartsstudio_01_0062__en-us_topic_0108275301_p18177191318566">This parameter is displayed only when <span class="parmname" id="dataartsstudio_01_0062__en-us_topic_0108275301_parmname385317365213"><b>File Format</b></span> is <span class="parmvalue" id="dataartsstudio_01_0062__en-us_topic_0108275301_parmvalue421258175219"><b>Binary</b></span>, and both the migration source and destination are object storage.</p>
<p id="dataartsstudio_01_0062__en-us_topic_0108275301_p014919221606">If you set this parameter to <span class="parmvalue" id="dataartsstudio_01_0062__en-us_topic_0108275301_parmvalue2915182915213"><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_01_0062__en-us_topic_0108275301_p9540193215413">The Content-Type attribute cannot be written to Archive buckets. Therefore, if you set this parameter to <strong id="dataartsstudio_01_0062__en-us_topic_0108275301_b148161231082">Yes</strong>, the migration destination must be a non-Archive bucket.</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.2.5.1.3 "><p id="dataartsstudio_01_0062__en-us_topic_0108275301_p25401432204120">No</p>
</td>
</tr>
<tr id="dataartsstudio_01_0062__en-us_topic_0108275301_row4164236716479"><td class="cellrowborder" valign="top" headers="mcps1.3.3.2.5.1.1 "><p id="dataartsstudio_01_0062__en-us_topic_0108275301_p5746360161524">Line Separator</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.2.5.1.2 "><p id="dataartsstudio_01_0062__en-us_topic_0108275301_p1538732316479">Lind feed character in a file. By default, the system automatically identifies <span class="parmvalue" id="dataartsstudio_01_0062__en-us_topic_0108275301_parmvalue1628141519144315"><b>\n</b></span>, <span class="parmvalue" id="dataartsstudio_01_0062__en-us_topic_0108275301_parmvalue946796237144315"><b>\r</b></span>, and <span class="parmvalue" id="dataartsstudio_01_0062__en-us_topic_0108275301_parmvalue936618015144315"><b>\r\n</b></span>. This parameter is not used when <span class="parmname" id="dataartsstudio_01_0062__en-us_topic_0108275301_parmname1072284662144348"><b>File Format</b></span> is set to <span class="parmvalue" id="dataartsstudio_01_0062__en-us_topic_0108275301_parmvalue484610954144354"><b>Binary</b></span>.</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.2.5.1.3 "><p id="dataartsstudio_01_0062__en-us_topic_0108275301_p3841367016479">\n</p>
</td>
</tr>
<tr id="dataartsstudio_01_0062__en-us_topic_0108275301_row52292662164713"><td class="cellrowborder" valign="top" headers="mcps1.3.3.2.5.1.1 "><p id="dataartsstudio_01_0062__en-us_topic_0108275301_p3584363161524">Field Delimiter</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.2.5.1.2 "><p id="dataartsstudio_01_0062__en-us_topic_0108275301_p31647034164713">Field delimiter in the file. This parameter is not used when <span class="parmname" id="dataartsstudio_01_0062__en-us_topic_0108275301_parmname3855270114580"><b>File Format</b></span> is set to <span class="parmvalue" id="dataartsstudio_01_0062__en-us_topic_0108275301_parmvalue27349529145857"><b>Binary</b></span>.</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.2.5.1.3 "><p id="dataartsstudio_01_0062__en-us_topic_0108275301_p13273001164713">,</p>
</td>
</tr>
<tr id="dataartsstudio_01_0062__en-us_topic_0108275301_row679211194911"><td class="cellrowborder" valign="top" headers="mcps1.3.3.2.5.1.1 "><p id="dataartsstudio_01_0062__en-us_topic_0108275301_p1848919333580">File Size</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.2.5.1.2 "><p id="dataartsstudio_01_0062__en-us_topic_0108275301_p34895339587">This parameter is displayed only when the migration source is a database. Files are partitioned as multiple files by size so that they can be exported in proper size. The unit is MB.</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.2.5.1.3 "><p id="dataartsstudio_01_0062__en-us_topic_0108275301_p9489113313583">1024</p>
</td>
</tr>
<tr id="dataartsstudio_01_0062__en-us_topic_0108275301_row779218329215"><td class="cellrowborder" valign="top" headers="mcps1.3.3.2.5.1.1 "><p id="dataartsstudio_01_0062__en-us_topic_0108275301_p12792153216220">Validate MD5 Value</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.2.5.1.2 "><p id="dataartsstudio_01_0062__en-us_topic_0108275301_p315803203318">The MD5 value can be verified only when files are transferred in <span class="parmvalue" id="dataartsstudio_01_0062__en-us_topic_0108275301_parmvalue410184911299"><b>Binary</b></span> format. KMS encryption cannot be used if the MD5 value needs to be verified.</p>
<p id="dataartsstudio_01_0062__en-us_topic_0108275301_p187921432029">Calculate the MD5 value of the source files and verify it with the MD5 value returned by OBS. If an MD5 file exists on the migration source, the system directly reads the MD5 file from the migration source and verifies it with the MD5 value returned by OBS. </p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.2.5.1.3 "><p id="dataartsstudio_01_0062__en-us_topic_0108275301_p10792103211219">Yes</p>
</td>
</tr>
<tr id="dataartsstudio_01_0062__en-us_topic_0108275301_row111227419319"><td class="cellrowborder" valign="top" headers="mcps1.3.3.2.5.1.1 "><p id="dataartsstudio_01_0062__en-us_topic_0108275301_p612218412318">Record MD5 Verification Result</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.2.5.1.2 "><p id="dataartsstudio_01_0062__en-us_topic_0108275301_p14122114117312">Whether to record the MD5 verification result when <strong id="dataartsstudio_01_0062__en-us_topic_0108275301_b15551907351">Validate MD5 Value</strong> is set to <strong id="dataartsstudio_01_0062__en-us_topic_0108275301_b1554182103516">Yes</strong></p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.2.5.1.3 "><p id="dataartsstudio_01_0062__en-us_topic_0108275301_p151371941535">Yes</p>
</td>
</tr>
<tr id="dataartsstudio_01_0062__en-us_topic_0108275301_row164221301947"><td class="cellrowborder" valign="top" headers="mcps1.3.3.2.5.1.1 "><p id="dataartsstudio_01_0062__en-us_topic_0108275301_p1442210010419">Record MD5 Link</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.2.5.1.2 "><p id="dataartsstudio_01_0062__en-us_topic_0108275301_p24225018412">OBS link to which the MD5 verification result will be written</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.2.5.1.3 "><p id="dataartsstudio_01_0062__en-us_topic_0108275301_p4422901141">obslink</p>
</td>
</tr>
<tr id="dataartsstudio_01_0062__en-us_topic_0108275301_row1773402110414"><td class="cellrowborder" valign="top" headers="mcps1.3.3.2.5.1.1 "><p id="dataartsstudio_01_0062__en-us_topic_0108275301_p1575111211945">Record MD5 Bucket</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.2.5.1.2 "><p id="dataartsstudio_01_0062__en-us_topic_0108275301_p5751921745">OBS bucket to which the MD5 verification result will be written</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.2.5.1.3 "><p id="dataartsstudio_01_0062__en-us_topic_0108275301_p0751152117414">cdm05</p>
</td>
</tr>
<tr id="dataartsstudio_01_0062__en-us_topic_0108275301_row17765240941"><td class="cellrowborder" valign="top" headers="mcps1.3.3.2.5.1.1 "><p id="dataartsstudio_01_0062__en-us_topic_0108275301_p57650401547">Record MD5 Directory</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.2.5.1.2 "><p id="dataartsstudio_01_0062__en-us_topic_0108275301_p16765184013417">Directory to which the MD5 verification result will be written</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.2.5.1.3 "><p id="dataartsstudio_01_0062__en-us_topic_0108275301_p107655405411">/md5/</p>
</td>
</tr>
<tr id="dataartsstudio_01_0062__en-us_topic_0108275301_row20619738164716"><td class="cellrowborder" valign="top" headers="mcps1.3.3.2.5.1.1 "><p id="dataartsstudio_01_0062__en-us_topic_0108275301_p59975518161524">Encoding Type</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.2.5.1.2 "><p id="dataartsstudio_01_0062__en-us_topic_0108275301_p61741608164716">Encoding type, for example, <span class="parmvalue" id="dataartsstudio_01_0062__en-us_topic_0108275301_parmvalue830270147115123"><b>UTF-8</b></span> or <span class="parmvalue" id="dataartsstudio_01_0062__en-us_topic_0108275301_parmvalue354317202115128"><b>GBK</b></span>. This parameter is not used when <span class="parmname" id="dataartsstudio_01_0062__en-us_topic_0108275301_parmname66615771145817"><b>File Format</b></span> is set to <span class="parmvalue" id="dataartsstudio_01_0062__en-us_topic_0108275301_parmvalue52502287145839"><b>Binary</b></span>.</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.2.5.1.3 "><p id="dataartsstudio_01_0062__en-us_topic_0108275301_p35014356164716">GBK</p>
</td>
</tr>
<tr id="dataartsstudio_01_0062__en-us_topic_0108275301_row1178013239283"><td class="cellrowborder" valign="top" headers="mcps1.3.3.2.5.1.1 "><p id="dataartsstudio_01_0062__en-us_topic_0108275301_p147801323132816">Use Quote Character</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.2.5.1.2 "><p id="dataartsstudio_01_0062__en-us_topic_0108275301_p1210241263316">This parameter is displayed only when <span class="parmname" id="dataartsstudio_01_0062__en-us_topic_0108275301_parmname936519436109"><b>File Format</b></span> is <span class="parmvalue" id="dataartsstudio_01_0062__en-us_topic_0108275301_parmvalue83654437104"><b>CSV</b></span>. It is used when database tables are migrated to file systems.</p>
<p id="dataartsstudio_01_0062__en-us_topic_0108275301_p19249144319">If you set this parameter to <span class="parmvalue" id="dataartsstudio_01_0062__en-us_topic_0108275301_parmvalue139791122105912"><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_01_0062__en-us_topic_0108275301_b2724104115131">hello,world</strong> field in the database is quoted, it will be exported to the CSV file as a whole.</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.2.5.1.3 "><p id="dataartsstudio_01_0062__en-us_topic_0108275301_p778018234281">No</p>
</td>
</tr>
<tr id="dataartsstudio_01_0062__en-us_topic_0108275301_row196815113218"><td class="cellrowborder" valign="top" headers="mcps1.3.3.2.5.1.1 "><p id="dataartsstudio_01_0062__en-us_topic_0108275301_p13851563214">Use First Row as Header</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.2.5.1.2 "><p id="dataartsstudio_01_0062__en-us_topic_0108275301_p103258188394">This parameter is displayed only when data is exported from a relational database to OBS and <span class="parmname" id="dataartsstudio_01_0062__en-us_topic_0108275301_parmname9894172919117"><b>File Format</b></span> is set to <span class="parmvalue" id="dataartsstudio_01_0062__en-us_topic_0108275301_parmvalue9894329619"><b>CSV</b></span>.</p>
<p id="dataartsstudio_01_0062__en-us_topic_0108275301_p68171593216">When a table is migrated to a CSV file, CDM does not migrate the heading line of the table by default. If you set this parameter to <span class="parmvalue" id="dataartsstudio_01_0062__en-us_topic_0108275301_parmvalue11152237132715"><b>Yes</b></span>, CDM writes the heading line of the table to the file.</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.2.5.1.3 "><p id="dataartsstudio_01_0062__en-us_topic_0108275301_p582155329">No</p>
</td>
</tr>
<tr id="dataartsstudio_01_0062__en-us_topic_0108275301_row162821858141920"><td class="cellrowborder" valign="top" headers="mcps1.3.3.2.5.1.1 "><p id="dataartsstudio_01_0062__en-us_topic_0108275301_p52821758161913">Job Success Marker File</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.2.5.1.2 "><p id="dataartsstudio_01_0062__en-us_topic_0108275301_p2282115811910">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>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.2.5.1.3 "><p id="dataartsstudio_01_0062__en-us_topic_0108275301_p192821858181918">finish.txt</p>
</td>
</tr>
<tr id="dataartsstudio_01_0062__en-us_topic_0108275301_row631163112151"><td class="cellrowborder" valign="top" headers="mcps1.3.3.2.5.1.1 "><p id="dataartsstudio_01_0062__en-us_topic_0108275301_p204911511115">Folder Mode</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.2.5.1.2 "><p id="dataartsstudio_01_0062__en-us_topic_0108275301_p540175212416">This parameter is available only when data is exported from a relational database to OBS.</p>
<p id="dataartsstudio_01_0062__en-us_topic_0108275301_p1349116118112">If this function is enabled, generated files are named in the following format: <em id="dataartsstudio_01_0062__en-us_topic_0108275301_i18699193710481">Root directory</em>-<em id="dataartsstudio_01_0062__en-us_topic_0108275301_i11363244104815">Table name</em>-<em id="dataartsstudio_01_0062__en-us_topic_0108275301_i13815497481">Data type</em>-<em id="dataartsstudio_01_0062__en-us_topic_0108275301_i59962056144811">Data folder format</em>. Example: <strong id="dataartsstudio_01_0062__en-us_topic_0108275301_b17602144663916">raw_schema/tbl_student/datas/tbl_student_1.csv</strong></p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.2.5.1.3 "><p id="dataartsstudio_01_0062__en-us_topic_0108275301_p10491611610">Yes</p>
</td>
</tr>
<tr id="dataartsstudio_01_0062__en-us_topic_0108275301_row16911234181518"><td class="cellrowborder" valign="top" headers="mcps1.3.3.2.5.1.1 "><p id="dataartsstudio_01_0062__en-us_topic_0108275301_p126041881110">Blog/Clog File Name Extension</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.2.5.1.2 "><p id="dataartsstudio_01_0062__en-us_topic_0108275301_p186041181617">This parameter is available only when <strong id="dataartsstudio_01_0062__en-us_topic_0108275301_b4421773514">Folder Mode</strong> is set to <strong id="dataartsstudio_01_0062__en-us_topic_0108275301_b2389161145117">Yes</strong>. It specifies the extension for the names of the files that contain custom Blob/Clog data in folder mode.</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.2.5.1.3 "><p id="dataartsstudio_01_0062__en-us_topic_0108275301_p5604181916">.dat/.jpg/.png</p>
</td>
</tr>
<tr id="dataartsstudio_01_0062__en-us_topic_0108275301_row1374313554568"><td class="cellrowborder" valign="top" headers="mcps1.3.3.2.5.1.1 "><p id="dataartsstudio_01_0062__en-us_topic_0108275301_p16746105525620">Customize Hierarchical Directory</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.2.5.1.2 "><p id="dataartsstudio_01_0062__en-us_topic_0108275301_p174605512569">If this parameter is set to <strong id="dataartsstudio_01_0062__en-us_topic_0108275301_b1346216148368">Yes</strong>, the files after migration can be stored in a custom directory. That is, only files are migrated. The directories to which the files belong are not migrated.</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.2.5.1.3 "><p id="dataartsstudio_01_0062__en-us_topic_0108275301_p174616558568">Yes</p>
</td>
</tr>
<tr id="dataartsstudio_01_0062__en-us_topic_0108275301_row12640105912565"><td class="cellrowborder" valign="top" headers="mcps1.3.3.2.5.1.1 "><p id="dataartsstudio_01_0062__en-us_topic_0108275301_p1264015910562">Hierarchical Directory</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.2.5.1.2 "><p id="dataartsstudio_01_0062__en-us_topic_0108275301_p727418216296">Custom storage directory for files after migration. The time macro variable is supported.</p>
<div class="note" id="dataartsstudio_01_0062__en-us_topic_0108275301_note12113510154518"><span class="notetitle"> NOTE: </span><div class="notebody"><p id="dataartsstudio_01_0062__en-us_topic_0108275301_p3210351124416">If the source link is a relational database link, the directory name consists of the source table name and a custom directory name. In other scenarios, the directory is a custom directory.</p>
</div></div>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.2.5.1.3 "><p id="dataartsstudio_01_0062__en-us_topic_0108275301_p156405592569">${dateformat(yyyy-MM-dd HH:mm:ss, -1, DAY)}</p>
</td>
</tr>
<tr id="dataartsstudio_01_0062__en-us_topic_0108275301_row69170353619"><td class="cellrowborder" valign="top" headers="mcps1.3.3.2.5.1.1 "><p id="dataartsstudio_01_0062__en-us_topic_0108275301_p49174351862">Customize File Name</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.2.5.1.2 "><p id="dataartsstudio_01_0062__en-us_topic_0108275301_p991718356610">This parameter is displayed only when data is exported from a relational database to OBS and <span class="parmname" id="dataartsstudio_01_0062__en-us_topic_0108275301_parmname896193015452"><b>File Format</b></span> is set to <span class="parmvalue" id="dataartsstudio_01_0062__en-us_topic_0108275301_parmvalue1561053517453"><b>CSV</b></span>.</p>
<div class="p" id="dataartsstudio_01_0062__en-us_topic_0108275301_p12170261354">This parameter specifies the name of the file generated by OBS. The options are as follows:<ul id="dataartsstudio_01_0062__en-us_topic_0108275301_ul16382063436"><li id="dataartsstudio_01_0062__en-us_topic_0108275301_li536018408449"><strong id="dataartsstudio_01_0062__en-us_topic_0108275301_b5599192514620">Character string</strong>: Special characters are allowed. For example, if this parameter is set to <span class="parmvalue" id="dataartsstudio_01_0062__en-us_topic_0108275301_parmvalue1436324044418"><b>cdm#</b></span>, the name of the generated file is <span class="parmvalue" id="dataartsstudio_01_0062__en-us_topic_0108275301_parmvalue8596161012451"><b>cdm#.csv</b></span>.</li><li id="dataartsstudio_01_0062__en-us_topic_0108275301_li4381262438">Macro variable of time: If this parameter is set to <span class="parmvalue" id="dataartsstudio_01_0062__en-us_topic_0108275301_parmvalue3630134255018"><b>${timestamp()}</b></span>, the name of the generated file is <span class="parmvalue" id="dataartsstudio_01_0062__en-us_topic_0108275301_parmvalue935517108536"><b>1554108737.csv</b></span>.</li><li id="dataartsstudio_01_0062__en-us_topic_0108275301_li11540101211537">Macro variable of table name: If this parameter is set to <span class="parmvalue" id="dataartsstudio_01_0062__en-us_topic_0108275301_parmvalue138891113545"><b>${tableName}</b></span>, the name of the generated file is the source table name <span class="parmvalue" id="dataartsstudio_01_0062__en-us_topic_0108275301_parmvalue16429112975711"><b>sqltabname.csv</b></span>.</li><li id="dataartsstudio_01_0062__en-us_topic_0108275301_li17893184017592">Macro variable of version number: If this parameter is set to <span class="parmvalue" id="dataartsstudio_01_0062__en-us_topic_0108275301_parmvalue670164633614"><b>${version}</b></span>, the name of the generated file is the cluster version number <span class="parmvalue" id="dataartsstudio_01_0062__en-us_topic_0108275301_parmvalue1370111462367"><b>2.9.2.200.csv</b></span>.</li><li id="dataartsstudio_01_0062__en-us_topic_0108275301_li9759104925915">Any combination of the character string and macro variable (macro variable of time, table name, or version number). For example, if this parameter is set to <span class="parmvalue" id="dataartsstudio_01_0062__en-us_topic_0108275301_parmvalue113932657"><b>cdm#${timestamp()}_${version}</b></span>, the name of the generated file is <span class="parmvalue" id="dataartsstudio_01_0062__en-us_topic_0108275301_parmvalue714712878"><b>cdm#1554108737_2.9.2.200.csv</b></span>.</li></ul>
</div>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.2.5.1.3 "><p id="dataartsstudio_01_0062__en-us_topic_0108275301_p59171435463">cdm</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="dataartsstudio_01_0061.html">Configuring CDM Destination Job Parameters</a></div>
</div>
</div>