doc-exports/docs/dataartsstudio/api-ref/dataartsstudio_02_0305.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

101 lines
7.5 KiB
HTML

<a name="dataartsstudio_02_0305"></a><a name="dataartsstudio_02_0305"></a>
<h1 class="topictitle1">To DLI</h1>
<div id="body8662426"><div class="section" id="dataartsstudio_02_0305__en-us_topic_0108272819_section33401108172339"><h4 class="sectiontitle">Sample JSON File</h4><pre class="screen" id="dataartsstudio_02_0305__en-us_topic_0108272819_screen6699861812014">"to-config-values": {
"configs": [
{
"inputs": [
{
"name": "toJobConfig.queue",
"value": "cdm"
},
{
"name": "toJobConfig.database",
"value": "sqoop"
},
{
"name": "toJobConfig.table",
"value": "est1"
},
{
"name": "toJobConfig.columnList",
"value": "string_&amp;int_&amp;date_&amp;double_&amp;boolean_&amp;short_&amp;timestamp_&amp;long_&amp;smallint_&amp;bigint_"
},
{
"name": "toJobConfig.shouldClearTable",
"value": "false"
}
],
"name": "toJobConfig"
}
]
}</pre>
</div>
<div class="section" id="dataartsstudio_02_0305__en-us_topic_0108272819_section60129242115832"><h4 class="sectiontitle">Parameter Description</h4>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="dataartsstudio_02_0305__en-us_topic_0108272819_table6307873415412" frame="border" border="1" rules="all"><thead align="left"><tr id="dataartsstudio_02_0305__en-us_topic_0108272819_row2882542015412"><th align="left" class="cellrowborder" valign="top" width="22.657734226577343%" id="mcps1.3.2.2.1.5.1.1"><p id="dataartsstudio_02_0305__en-us_topic_0108272819_p5315765115412">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20.157984201579843%" id="mcps1.3.2.2.1.5.1.2"><p id="dataartsstudio_02_0305__en-us_topic_0108272819_p1080249515412">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="16.2983701629837%" id="mcps1.3.2.2.1.5.1.3"><p id="dataartsstudio_02_0305__en-us_topic_0108272819_p258693615412">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="40.885911408859116%" id="mcps1.3.2.2.1.5.1.4"><p id="dataartsstudio_02_0305__en-us_topic_0108272819_p821526915412">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="dataartsstudio_02_0305__en-us_topic_0108272819_row1592012572154"><td class="cellrowborder" valign="top" width="22.657734226577343%" headers="mcps1.3.2.2.1.5.1.1 "><p id="dataartsstudio_02_0305__en-us_topic_0108272819_p682241305919">toJobConfig.queue</p>
</td>
<td class="cellrowborder" valign="top" width="20.157984201579843%" headers="mcps1.3.2.2.1.5.1.2 "><p id="dataartsstudio_02_0305__en-us_topic_0108272819_p282119130591">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="16.2983701629837%" headers="mcps1.3.2.2.1.5.1.3 "><p id="dataartsstudio_02_0305__en-us_topic_0108272819_p39742454144824">String</p>
</td>
<td class="cellrowborder" valign="top" width="40.885911408859116%" headers="mcps1.3.2.2.1.5.1.4 "><p id="dataartsstudio_02_0305__en-us_topic_0108272819_p138199136592">Resource queue to which data is written</p>
</td>
</tr>
<tr id="dataartsstudio_02_0305__en-us_topic_0108272819_row3532522715412"><td class="cellrowborder" valign="top" width="22.657734226577343%" headers="mcps1.3.2.2.1.5.1.1 "><p id="dataartsstudio_02_0305__en-us_topic_0108272819_p383251310597">toJobConfig.database</p>
</td>
<td class="cellrowborder" valign="top" width="20.157984201579843%" headers="mcps1.3.2.2.1.5.1.2 "><p id="dataartsstudio_02_0305__en-us_topic_0108272819_p1683119136599">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="16.2983701629837%" headers="mcps1.3.2.2.1.5.1.3 "><p id="dataartsstudio_02_0305__en-us_topic_0108272819_p11830101315911">String</p>
</td>
<td class="cellrowborder" valign="top" width="40.885911408859116%" headers="mcps1.3.2.2.1.5.1.4 "><p id="dataartsstudio_02_0305__en-us_topic_0108272819_p188281713155918">DLI database to which data is written</p>
</td>
</tr>
<tr id="dataartsstudio_02_0305__en-us_topic_0108272819_row2888033144824"><td class="cellrowborder" valign="top" width="22.657734226577343%" headers="mcps1.3.2.2.1.5.1.1 "><p id="dataartsstudio_02_0305__en-us_topic_0108272819_p19827171355920">toJobConfig.table</p>
</td>
<td class="cellrowborder" valign="top" width="20.157984201579843%" headers="mcps1.3.2.2.1.5.1.2 "><p id="dataartsstudio_02_0305__en-us_topic_0108272819_p18825161385913">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="16.2983701629837%" headers="mcps1.3.2.2.1.5.1.3 "><p id="dataartsstudio_02_0305__en-us_topic_0108272819_p1824181305916">String</p>
</td>
<td class="cellrowborder" valign="top" width="40.885911408859116%" headers="mcps1.3.2.2.1.5.1.4 "><p id="dataartsstudio_02_0305__en-us_topic_0108272819_p8823111311598">Name of the table to which data is written</p>
</td>
</tr>
<tr id="dataartsstudio_02_0305__en-us_topic_0108272819_row56184745141343"><td class="cellrowborder" valign="top" width="22.657734226577343%" headers="mcps1.3.2.2.1.5.1.1 "><p id="dataartsstudio_02_0305__en-us_topic_0108272819_p1511117156162">toJobConfig.columnList</p>
</td>
<td class="cellrowborder" valign="top" width="20.157984201579843%" headers="mcps1.3.2.2.1.5.1.2 "><p id="dataartsstudio_02_0305__en-us_topic_0108272819_p55393515141527">No</p>
</td>
<td class="cellrowborder" valign="top" width="16.2983701629837%" headers="mcps1.3.2.2.1.5.1.3 "><p id="dataartsstudio_02_0305__en-us_topic_0108272819_p57689731141527">String</p>
</td>
<td class="cellrowborder" valign="top" width="40.885911408859116%" headers="mcps1.3.2.2.1.5.1.4 "><p id="dataartsstudio_02_0305__en-us_topic_0108272819_p42356648141527">List of fields to be loaded. Use <span class="parmvalue" id="dataartsstudio_02_0305__en-us_topic_0108272819_parmvalue361045875114827"><b>&amp;</b></span> to separate field names. For example, <span class="parmvalue" id="dataartsstudio_02_0305__en-us_topic_0108272819_parmvalue1597360760113647"><b>id&amp;gid&amp;name</b></span>.</p>
</td>
</tr>
<tr id="dataartsstudio_02_0305__en-us_topic_0108272819_row130765815412"><td class="cellrowborder" valign="top" width="22.657734226577343%" headers="mcps1.3.2.2.1.5.1.1 "><p id="dataartsstudio_02_0305__en-us_topic_0108272819_p11817111355911">toJobConfig.shouldClearTable</p>
</td>
<td class="cellrowborder" valign="top" width="20.157984201579843%" headers="mcps1.3.2.2.1.5.1.2 "><p id="dataartsstudio_02_0305__en-us_topic_0108272819_p17816813135917">No</p>
</td>
<td class="cellrowborder" valign="top" width="16.2983701629837%" headers="mcps1.3.2.2.1.5.1.3 "><p id="dataartsstudio_02_0305__en-us_topic_0108272819_p63440653141343">Boolean</p>
</td>
<td class="cellrowborder" valign="top" width="40.885911408859116%" headers="mcps1.3.2.2.1.5.1.4 "><p id="dataartsstudio_02_0305__en-us_topic_0108272819_p98148138591">Whether to clear data in the resource queue before data import</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>