forked from docs/doc-exports
Reviewed-by: Pruthi, Vineet <vineet.pruthi@t-systems.com> Co-authored-by: chenxiaoxiong <chenxiaoxiong@huawei.com> Co-committed-by: chenxiaoxiong <chenxiaoxiong@huawei.com>
151 lines
23 KiB
HTML
151 lines
23 KiB
HTML
<a name="dataartsstudio_01_1251"></a><a name="dataartsstudio_01_1251"></a>
|
||
|
||
<h1 class="topictitle1">To DWS</h1>
|
||
<div id="body8662426"><p id="dataartsstudio_01_1251__en-us_topic_0000001270722628_p1724911578015">If the destination link of a job is a <a href="dataartsstudio_01_0044.html">DWS link</a>, configure the destination job parameters based on <a href="#dataartsstudio_01_1251__en-us_topic_0000001270722628_table5046103815165">Table 1</a>.</p>
|
||
|
||
<div class="tablenoborder"><a name="dataartsstudio_01_1251__en-us_topic_0000001270722628_table5046103815165"></a><a name="en-us_topic_0000001270722628_table5046103815165"></a><table cellpadding="4" cellspacing="0" summary="" id="dataartsstudio_01_1251__en-us_topic_0000001270722628_table5046103815165" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Parameter description</caption><thead align="left"><tr id="dataartsstudio_01_1251__en-us_topic_0000001270722628_row585315215165"><th align="left" class="cellrowborder" valign="top" width="12.870000000000001%" id="mcps1.3.2.2.4.1.1"><p id="dataartsstudio_01_1251__en-us_topic_0000001270722628_p1626397215165">Parameter</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="67.10000000000001%" id="mcps1.3.2.2.4.1.2"><p id="dataartsstudio_01_1251__en-us_topic_0000001270722628_p4231334915165">Description</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="20.03%" id="mcps1.3.2.2.4.1.3"><p id="dataartsstudio_01_1251__en-us_topic_0000001270722628_p482921015165">Example Value</p>
|
||
</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody><tr id="dataartsstudio_01_1251__en-us_topic_0000001270722628_row3619943316154"><td class="cellrowborder" valign="top" width="12.870000000000001%" headers="mcps1.3.2.2.4.1.1 "><p id="dataartsstudio_01_1251__en-us_topic_0000001270722628_p621248516154">Schema/Tablespace</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="67.10000000000001%" headers="mcps1.3.2.2.4.1.2 "><p id="dataartsstudio_01_1251__en-us_topic_0000001270722628_p3344924916154">Name of the database to which data will be written. The schema can be automatically created. Click the icon next to the text box to select a schema or tablespace.</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20.03%" headers="mcps1.3.2.2.4.1.3 "><p id="dataartsstudio_01_1251__en-us_topic_0000001270722628_p2503467416154">schema</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="dataartsstudio_01_1251__en-us_topic_0000001270722628_row3252957517235"><td class="cellrowborder" valign="top" width="12.870000000000001%" headers="mcps1.3.2.2.4.1.1 "><p id="dataartsstudio_01_1251__en-us_topic_0000001270722628_p1764993917235">Auto Table Creation</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="67.10000000000001%" headers="mcps1.3.2.2.4.1.2 "><div class="p" id="dataartsstudio_01_1251__en-us_topic_0000001270722628_p2035898817235">This parameter is displayed only when the source is a relational database. The options are as follows:<ul id="dataartsstudio_01_1251__en-us_topic_0000001270722628_ul12109569172733"><li id="dataartsstudio_01_1251__en-us_topic_0000001270722628_li14533016172733"><strong id="dataartsstudio_01_1251__en-us_topic_0000001270722628_b84235270695756">Non-auto creation</strong>: CDM will not automatically create a table.</li><li id="dataartsstudio_01_1251__en-us_topic_0000001270722628_li53925670172753"><strong id="dataartsstudio_01_1251__en-us_topic_0000001270722628_b84235270695832">Auto creation</strong>: If the destination database does not contain the table specified by <span class="parmname" id="dataartsstudio_01_1251__en-us_topic_0000001270722628_parmname1393810132155437"><b>Table Name</b></span>, CDM will automatically create the table. If the table specified by <span class="parmname" id="dataartsstudio_01_1251__en-us_topic_0000001270722628_parmname136853505353"><b>Table Name</b></span> already exists, no table is created and data is written to the existing table.</li><li id="dataartsstudio_01_1251__en-us_topic_0000001270722628_li50321643172810"><strong id="dataartsstudio_01_1251__en-us_topic_0000001270722628_b173628643110">Deletion before creation</strong>: CDM deletes the table specified by <span class="parmname" id="dataartsstudio_01_1251__en-us_topic_0000001270722628_parmname3363146103114"><b>Table Name</b></span>, and then creates the table again.</li></ul>
|
||
</div>
|
||
<p id="dataartsstudio_01_1251__en-us_topic_0000001270722628_p030539946"><a href="#dataartsstudio_01_1251__en-us_topic_0000001270722628_section1410713417473">Field Mapping in Automatic Table Creation on DWS</a> describes the field mapping between the DWS tables created by CDM and source tables.</p>
|
||
<div class="note" id="dataartsstudio_01_1251__en-us_topic_0000001270722628_note10243621453"><span class="notetitle"> NOTE: </span><div class="notebody"><p id="dataartsstudio_01_1251__en-us_topic_0000001270722628_p172431727453">Only column comments are synchronized during automatic table creation. Table comments are not synchronized.</p>
|
||
</div></div>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20.03%" headers="mcps1.3.2.2.4.1.3 "><p id="dataartsstudio_01_1251__en-us_topic_0000001270722628_p3846533717235">Non-auto creation</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="dataartsstudio_01_1251__en-us_topic_0000001270722628_row4012116315165"><td class="cellrowborder" valign="top" width="12.870000000000001%" headers="mcps1.3.2.2.4.1.1 "><p id="dataartsstudio_01_1251__en-us_topic_0000001270722628_p2858877215165">Table Name</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="67.10000000000001%" headers="mcps1.3.2.2.4.1.2 "><p id="dataartsstudio_01_1251__en-us_topic_0000001270722628_p3398923015165">Name of the table to which data will be written. Click the icon next to the text box. The dialog box for selecting the table is displayed.</p>
|
||
<p id="dataartsstudio_01_1251__en-us_topic_0000001270722628_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_1251__en-us_topic_0000001270722628_note45791757134910"><span class="notetitle"> NOTE: </span><div class="notebody"><p id="dataartsstudio_01_1251__en-us_topic_0000001270722628_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_1251__en-us_topic_0000001270722628_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_1251__en-us_topic_0000001270722628_en-us_topic_0108275319_i799871152012">Planned start time of the data development job</em> – <em id="dataartsstudio_01_1251__en-us_topic_0000001270722628_en-us_topic_0108275319_i0998101192020">Offset</em>) rather than (<em id="dataartsstudio_01_1251__en-us_topic_0000001270722628_en-us_topic_0108275319_i299821132018">Actual start time of the CDM job</em> – <em id="dataartsstudio_01_1251__en-us_topic_0000001270722628_en-us_topic_0108275319_i129981917200">Offset</em>).</p>
|
||
</div></div>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20.03%" headers="mcps1.3.2.2.4.1.3 "><p id="dataartsstudio_01_1251__en-us_topic_0000001270722628_p166427315165">table</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="dataartsstudio_01_1251__en-us_topic_0000001270722628_row41161726145914"><td class="cellrowborder" valign="top" width="12.870000000000001%" headers="mcps1.3.2.2.4.1.1 "><p id="dataartsstudio_01_1251__en-us_topic_0000001270722628_p1311632605910">Compress Data</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="67.10000000000001%" headers="mcps1.3.2.2.4.1.2 "><p id="dataartsstudio_01_1251__en-us_topic_0000001270722628_p10116182617598">Whether to compress data when data is imported to DWS and <strong id="dataartsstudio_01_1251__en-us_topic_0000001270722628_b19766151119256">Auto creation</strong> is selected</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20.03%" headers="mcps1.3.2.2.4.1.3 "><p id="dataartsstudio_01_1251__en-us_topic_0000001270722628_p711632612593">No</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="dataartsstudio_01_1251__en-us_topic_0000001270722628_row15851636125910"><td class="cellrowborder" valign="top" width="12.870000000000001%" headers="mcps1.3.2.2.4.1.1 "><p id="dataartsstudio_01_1251__en-us_topic_0000001270722628_p28513645920">Storage Mode</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="67.10000000000001%" headers="mcps1.3.2.2.4.1.2 "><div class="p" id="dataartsstudio_01_1251__en-us_topic_0000001270722628_p1185536115919">When data is imported to DWS and <strong id="dataartsstudio_01_1251__en-us_topic_0000001270722628_b681592522716">Auto Creation</strong> is selected, you can specify the data storage mode:<ul id="dataartsstudio_01_1251__en-us_topic_0000001270722628_ul8940124319413"><li id="dataartsstudio_01_1251__en-us_topic_0000001270722628_li11940643114111"><strong id="dataartsstudio_01_1251__en-us_topic_0000001270722628_b52389305317">Row-based</strong>: Row-based storage. It is used for point queries (index-based simple queries with fewer return records), or the scenario that requires a large number of addition, deletion, and modification operations.</li><li id="dataartsstudio_01_1251__en-us_topic_0000001270722628_li16325144312464"><strong id="dataartsstudio_01_1251__en-us_topic_0000001270722628_b6974143210311">Column-based</strong>: Column-based storage. It is used for statistical analysis queries (group and join scenarios) or ad hoc queries (query conditions are uncertain and indexes can hardly be used to scan row-based tables).</li></ul>
|
||
</div>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20.03%" headers="mcps1.3.2.2.4.1.3 "><p id="dataartsstudio_01_1251__en-us_topic_0000001270722628_p14851936145917">Row-based</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="dataartsstudio_01_1251__en-us_topic_0000001270722628_row9965193343718"><td class="cellrowborder" valign="top" width="12.870000000000001%" headers="mcps1.3.2.2.4.1.1 "><p id="dataartsstudio_01_1251__en-us_topic_0000001270722628_p8491145075813">Import Mode</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="67.10000000000001%" headers="mcps1.3.2.2.4.1.2 "><p id="dataartsstudio_01_1251__en-us_topic_0000001270722628_p10202196132115">Mode for importing data to DWS</p>
|
||
<ul id="dataartsstudio_01_1251__en-us_topic_0000001270722628_ul711585219162"><li id="dataartsstudio_01_1251__en-us_topic_0000001270722628_li1511535261616">In COPY mode, the source data is copied to the DataNode of DWS after passing through the management node.</li><li id="dataartsstudio_01_1251__en-us_topic_0000001270722628_li4115852161610">In UPSERT mode, if a primary key or unique constraint conflict occurs, other data columns, except the primary key and unique constraint column, are updated.</li></ul>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20.03%" headers="mcps1.3.2.2.4.1.3 "><p id="dataartsstudio_01_1251__en-us_topic_0000001270722628_p164911650105815">COPY</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="dataartsstudio_01_1251__en-us_topic_0000001270722628_row4729244132415"><td class="cellrowborder" valign="top" width="12.870000000000001%" headers="mcps1.3.2.2.4.1.1 "><p id="dataartsstudio_01_1251__en-us_topic_0000001270722628_p4619228011189">Clear Data Before Import</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="67.10000000000001%" headers="mcps1.3.2.2.4.1.2 "><div class="p" id="dataartsstudio_01_1251__en-us_topic_0000001270722628_p15435125215266">Whether to clear the data in the destination table before data import. The options are as follows:<ul id="dataartsstudio_01_1251__en-us_topic_0000001270722628_ul944616526261"><li id="dataartsstudio_01_1251__en-us_topic_0000001270722628_li644645217269"><strong id="dataartsstudio_01_1251__en-us_topic_0000001270722628_b17919258113116">Do not clear</strong>: The data in the destination table is not cleared before data import. The imported data is just added to the table.</li><li id="dataartsstudio_01_1251__en-us_topic_0000001270722628_li1544625215265"><strong id="dataartsstudio_01_1251__en-us_topic_0000001270722628_b266370133219">Clear all data</strong>: All data is cleared from the destination table before data import.</li><li id="dataartsstudio_01_1251__en-us_topic_0000001270722628_li9446105215265"><strong id="dataartsstudio_01_1251__en-us_topic_0000001270722628_b2050518323214">Clear part of data</strong>: Part of the data in the destination table is cleared before data import. If you select <strong id="dataartsstudio_01_1251__en-us_topic_0000001270722628_b25061731320">Clear part of data</strong>, you must configure <span class="parmname" id="dataartsstudio_01_1251__en-us_topic_0000001270722628_parmname185069320327"><b>WHERE Clause</b></span> to specify which part will be deleted.</li></ul>
|
||
</div>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20.03%" headers="mcps1.3.2.2.4.1.3 "><p id="dataartsstudio_01_1251__en-us_topic_0000001270722628_p5729194462412">Clear part of data</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="dataartsstudio_01_1251__en-us_topic_0000001270722628_row18579112364"><td class="cellrowborder" valign="top" width="12.870000000000001%" headers="mcps1.3.2.2.4.1.1 "><p id="dataartsstudio_01_1251__en-us_topic_0000001270722628_p1574135813181">WHERE Clause</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="67.10000000000001%" headers="mcps1.3.2.2.4.1.2 "><p id="dataartsstudio_01_1251__en-us_topic_0000001270722628_p13574125851814">If <strong id="dataartsstudio_01_1251__en-us_topic_0000001270722628_b068531320324">Clear Data Before Import</strong> is set to <strong id="dataartsstudio_01_1251__en-us_topic_0000001270722628_b14685913173219">Clear part of data</strong>, data in the destination table will be deleted based on the WHERE clause after the configuration is complete and before the import starts.</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20.03%" headers="mcps1.3.2.2.4.1.3 "><p id="dataartsstudio_01_1251__en-us_topic_0000001270722628_p135601427132511">age > 18 and age <= 60</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="dataartsstudio_01_1251__en-us_topic_0000001270722628_row1094865211712"><td class="cellrowborder" valign="top" width="12.870000000000001%" headers="mcps1.3.2.2.4.1.1 "><p id="dataartsstudio_01_1251__en-us_topic_0000001270722628_p199486521677">Import to Staging Table</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="67.10000000000001%" headers="mcps1.3.2.2.4.1.2 "><p id="dataartsstudio_01_1251__en-us_topic_0000001270722628_p163315893317">If you set this parameter to <span class="parmvalue" id="dataartsstudio_01_1251__en-us_topic_0000001270722628_parmvalue1316873412481"><b>Yes</b></span>, the transaction mode is enabled. CDM automatically creates a temporary table and imports data to the temporary table. After the data is imported successfully, it is migrated to the destination table in transaction mode. If the import fails, the destination table is rolled back to the state before the job starts. </p>
|
||
<p id="dataartsstudio_01_1251__en-us_topic_0000001270722628_p29271551220">The default value is <span class="parmvalue" id="dataartsstudio_01_1251__en-us_topic_0000001270722628_parmvalue8204168115116"><b>No</b></span>, indicating that CDM directly imports the data to the destination table. In this case, if the job fails to be executed, the data that has been imported to the destination table will not be rolled back automatically.</p>
|
||
<div class="note" id="dataartsstudio_01_1251__en-us_topic_0000001270722628_note68062920173"><span class="notetitle"> NOTE: </span><div class="notebody"><p id="dataartsstudio_01_1251__en-us_topic_0000001270722628_en-us_topic_0108275316_p938012916819">If you select <strong id="dataartsstudio_01_1251__en-us_topic_0000001270722628_en-us_topic_0108275316_b56871248124819">Clear part of data</strong> or <strong id="dataartsstudio_01_1251__en-us_topic_0000001270722628_en-us_topic_0108275316_b87505104914">Clear all data</strong> for <strong id="dataartsstudio_01_1251__en-us_topic_0000001270722628_en-us_topic_0108275316_b394614371412">Clear Data Before Import</strong>, CDM does not roll back the deleted data in transaction mode.</p>
|
||
</div></div>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20.03%" headers="mcps1.3.2.2.4.1.3 "><p id="dataartsstudio_01_1251__en-us_topic_0000001270722628_p4948155214718">No</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="dataartsstudio_01_1251__en-us_topic_0000001270722628_row9839022184517"><td class="cellrowborder" valign="top" width="12.870000000000001%" headers="mcps1.3.2.2.4.1.1 "><p id="dataartsstudio_01_1251__en-us_topic_0000001270722628_p1383912214520">Extending field length</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="67.10000000000001%" headers="mcps1.3.2.2.4.1.2 "><p id="dataartsstudio_01_1251__en-us_topic_0000001270722628_p15131416140">When <strong id="dataartsstudio_01_1251__en-us_topic_0000001270722628_b224182964911">Auto creation</strong> is selected, the length of the character fields can be extended to four times the original length and then written to the destination table. If the encoding types of the source and destination databases are different, but the character fields in the source and destination tables are the same, errors may occur during data migration due to character length difference.</p>
|
||
<p id="dataartsstudio_01_1251__en-us_topic_0000001270722628_p5790138192119">When a character field containing Chinese characters is imported to DWS, the length of the character field must be automatically increased by four times.</p>
|
||
<p id="dataartsstudio_01_1251__en-us_topic_0000001270722628_p112155705218">If a job fails to be executed and an error message similar to <span class="uicontrol" id="dataartsstudio_01_1251__en-us_topic_0000001270722628_uicontrol97861146161018"><b>value too long for type character varying</b></span> exists in the log when you import Chinese characters to DWS, you can enable this function to solve the problem.</p>
|
||
<div class="note" id="dataartsstudio_01_1251__en-us_topic_0000001270722628_note1956571515517"><span class="notetitle"> NOTE: </span><div class="notebody"><p id="dataartsstudio_01_1251__en-us_topic_0000001270722628_p11565171595516">When this function is enabled, some fields consume four times the storage space of the user.</p>
|
||
</div></div>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20.03%" headers="mcps1.3.2.2.4.1.3 "><p id="dataartsstudio_01_1251__en-us_topic_0000001270722628_p118391922134515">No</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="dataartsstudio_01_1251__en-us_topic_0000001270722628_row640517318403"><td class="cellrowborder" valign="top" width="12.870000000000001%" headers="mcps1.3.2.2.4.1.1 "><p id="dataartsstudio_01_1251__en-us_topic_0000001270722628_p4407103164017">Use NOT NULL Constraint</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="67.10000000000001%" headers="mcps1.3.2.2.4.1.2 "><p id="dataartsstudio_01_1251__en-us_topic_0000001270722628_p240712364010">If you choose to create a target table automatically and specify the NOT NULL constraint, keep the NOT NULL constraints of the source and target tables consistent.</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20.03%" headers="mcps1.3.2.2.4.1.3 "><p id="dataartsstudio_01_1251__en-us_topic_0000001270722628_p1940743124010">Yes</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="dataartsstudio_01_1251__en-us_topic_0000001270722628_row13651175395311"><td class="cellrowborder" valign="top" width="12.870000000000001%" headers="mcps1.3.2.2.4.1.1 "><p id="dataartsstudio_01_1251__en-us_topic_0000001270722628_p95318461369">Prepare for Data Import</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="67.10000000000001%" headers="mcps1.3.2.2.4.1.2 "><p id="dataartsstudio_01_1251__en-us_topic_0000001270722628_p12531134643615">The SQL statement that is first executed before a task is executed. Currently, only one SQL statement can be executed in wizard mode.</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20.03%" headers="mcps1.3.2.2.4.1.3 "><p id="dataartsstudio_01_1251__en-us_topic_0000001270722628_p186676293810">create temp table</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="dataartsstudio_01_1251__en-us_topic_0000001270722628_row13651653125310"><td class="cellrowborder" valign="top" width="12.870000000000001%" headers="mcps1.3.2.2.4.1.1 "><p id="dataartsstudio_01_1251__en-us_topic_0000001270722628_p461381343818">Complete Statement After Data Import</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="67.10000000000001%" headers="mcps1.3.2.2.4.1.2 "><p id="dataartsstudio_01_1251__en-us_topic_0000001270722628_p1035310783811">The SQL statement that is executed after a task is executed. Currently, only one SQL statement can be executed.</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20.03%" headers="mcps1.3.2.2.4.1.3 "><p id="dataartsstudio_01_1251__en-us_topic_0000001270722628_p2668729384">merge into</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="dataartsstudio_01_1251__en-us_topic_0000001270722628_row1235165216181"><td class="cellrowborder" valign="top" width="12.870000000000001%" headers="mcps1.3.2.2.4.1.1 "><p id="dataartsstudio_01_1251__en-us_topic_0000001270722628_p161023111913">Loader Threads</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="67.10000000000001%" headers="mcps1.3.2.2.4.1.2 "><p id="dataartsstudio_01_1251__en-us_topic_0000001270722628_p16101934192">Number of threads started in each loader. A larger number allows more concurrent write operations.</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20.03%" headers="mcps1.3.2.2.4.1.3 "><p id="dataartsstudio_01_1251__en-us_topic_0000001270722628_p3101316191">1</p>
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
<div class="section" id="dataartsstudio_01_1251__en-us_topic_0000001270722628_section1410713417473"><a name="dataartsstudio_01_1251__en-us_topic_0000001270722628_section1410713417473"></a><a name="en-us_topic_0000001270722628_section1410713417473"></a><h4 class="sectiontitle">Field Mapping in Automatic Table Creation on DWS</h4><p id="dataartsstudio_01_1251__en-us_topic_0000001270722628_p20380143417474"><a href="#dataartsstudio_01_1251__en-us_topic_0000001270722628_fig662181513539">Figure 1</a> describes the field mapping between DWS tables created by CDM and source tables. For example, if you use CDM to migrate the Oracle database to DWS, CDM automatically creates a table on DWS and maps the <strong id="dataartsstudio_01_1251__en-us_topic_0000001270722628_b6506114480">NUMBER(3,0)</strong> field of the Oracle database to the <strong id="dataartsstudio_01_1251__en-us_topic_0000001270722628_b1983912854816">SMALLINT</strong> field of DWS.</p>
|
||
<div class="fignone" id="dataartsstudio_01_1251__en-us_topic_0000001270722628_fig662181513539"><a name="dataartsstudio_01_1251__en-us_topic_0000001270722628_fig662181513539"></a><a name="en-us_topic_0000001270722628_fig662181513539"></a><span class="figcap"><b>Figure 1 </b>Field mapping in automatic table creation</span><br><span><img id="dataartsstudio_01_1251__en-us_topic_0000001270722628_image3442543181411" src="en-us_image_0000002269198369.png" title="Click to enlarge" class="imgResize"></span></div>
|
||
<p id="dataartsstudio_01_1251__en-us_topic_0000001270722628_p1743663814215"></p>
|
||
<div class="note" id="dataartsstudio_01_1251__en-us_topic_0000001270722628_note15924245125516"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="dataartsstudio_01_1251__en-us_topic_0000001270722628_p1392434515516">Indexes cannot be created in automatic table creation scenarios.</p>
|
||
</div></div>
|
||
</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>
|
||
|
||
|
||
<script language="JavaScript">
|
||
<!--
|
||
initImageViewer('.imgResize');
|
||
var msg_imageMax = "view original image";
|
||
var msg_imageClose = "close";
|
||
//--></script> |