forked from laiweijian4/doc-exports
Reviewed-by: Kacur, Michal <michal.kacur@t-systems.com> Co-authored-by: Xiong, Chen Xiao <chenxiaoxiong@huawei.com> Co-committed-by: Xiong, Chen Xiao <chenxiaoxiong@huawei.com>
88 lines
6.6 KiB
HTML
88 lines
6.6 KiB
HTML
<a name="dataartsstudio_02_0285"></a><a name="dataartsstudio_02_0285"></a>
|
|
|
|
<h1 class="topictitle1">From Hive</h1>
|
|
<div id="body8662426"><div class="section" id="dataartsstudio_02_0285__en-us_topic_0108272811_section33401108172339"><h4 class="sectiontitle">Sample JSON File</h4><pre class="screen" id="dataartsstudio_02_0285__en-us_topic_0108272811_screen4432361919284">"from-config-values": {
|
|
"configs": [
|
|
{
|
|
"inputs": [
|
|
{
|
|
"name": "fromJobConfig.hive",
|
|
"value": "hive"
|
|
},
|
|
{
|
|
"name": "fromJobConfig.database",
|
|
"value": "rf_database"
|
|
},
|
|
{
|
|
"name": "fromJobConfig.table",
|
|
"value": "rf_from"
|
|
},
|
|
{
|
|
"name": "fromJobConfig.columnList",
|
|
"value": "tiny&small&int&integer&bigint&float&double&timestamp&char&varchar&text"
|
|
}
|
|
],
|
|
"name": "fromJobConfig"
|
|
}
|
|
]
|
|
}</pre>
|
|
</div>
|
|
<div class="section" id="dataartsstudio_02_0285__en-us_topic_0108272811_section25035823174041"><h4 class="sectiontitle">Parameter Description</h4>
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="dataartsstudio_02_0285__en-us_topic_0108272811_table13922888141527" frame="border" border="1" rules="all"><thead align="left"><tr id="dataartsstudio_02_0285__en-us_topic_0108272811_row229143141527"><th align="left" class="cellrowborder" valign="top" width="19.838016198380164%" id="mcps1.3.2.2.1.5.1.1"><p id="dataartsstudio_02_0285__en-us_topic_0108272811_p66756185141527">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20.34796520347965%" id="mcps1.3.2.2.1.5.1.2"><p id="dataartsstudio_02_0285__en-us_topic_0108272811_p38541938141527">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="17.23827617238276%" id="mcps1.3.2.2.1.5.1.3"><p id="dataartsstudio_02_0285__en-us_topic_0108272811_p34889279141527">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="42.575742425757426%" id="mcps1.3.2.2.1.5.1.4"><p id="dataartsstudio_02_0285__en-us_topic_0108272811_p7459369141527">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="dataartsstudio_02_0285__en-us_topic_0108272811_row13229168113111"><td class="cellrowborder" valign="top" width="19.838016198380164%" headers="mcps1.3.2.2.1.5.1.1 "><p id="dataartsstudio_02_0285__en-us_topic_0108272811_p132294883119">fromJobConfig.hive</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20.34796520347965%" headers="mcps1.3.2.2.1.5.1.2 "><p id="dataartsstudio_02_0285__en-us_topic_0108272811_p32298823113">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.23827617238276%" headers="mcps1.3.2.2.1.5.1.3 "><p id="dataartsstudio_02_0285__en-us_topic_0108272811_p1822998203118">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="42.575742425757426%" headers="mcps1.3.2.2.1.5.1.4 "><p id="dataartsstudio_02_0285__en-us_topic_0108272811_p162292089316">Data source to be extracted. If the data source is Hive, set this parameter to <span class="parmvalue" id="dataartsstudio_02_0285__en-us_topic_0108272811_parmvalue47081639143316"><b>hive</b></span>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="dataartsstudio_02_0285__en-us_topic_0108272811_row62628929141527"><td class="cellrowborder" valign="top" width="19.838016198380164%" headers="mcps1.3.2.2.1.5.1.1 "><p id="dataartsstudio_02_0285__en-us_topic_0108272811_p18560626141527">fromJobConfig.database</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20.34796520347965%" headers="mcps1.3.2.2.1.5.1.2 "><p id="dataartsstudio_02_0285__en-us_topic_0108272811_p27015713141527">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.23827617238276%" headers="mcps1.3.2.2.1.5.1.3 "><p id="dataartsstudio_02_0285__en-us_topic_0108272811_p50167516142856">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="42.575742425757426%" headers="mcps1.3.2.2.1.5.1.4 "><p id="dataartsstudio_02_0285__en-us_topic_0108272811_p2430205141527">Database from which data is extracted. For example, <span class="parmvalue" id="dataartsstudio_02_0285__en-us_topic_0108272811_parmvalue1475474089333"><b>default</b></span>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="dataartsstudio_02_0285__en-us_topic_0108272811_row42094113141527"><td class="cellrowborder" valign="top" width="19.838016198380164%" headers="mcps1.3.2.2.1.5.1.1 "><p id="dataartsstudio_02_0285__en-us_topic_0108272811_p26789449141527">fromJobConfig.table</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20.34796520347965%" headers="mcps1.3.2.2.1.5.1.2 "><p id="dataartsstudio_02_0285__en-us_topic_0108272811_p22461756141527">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.23827617238276%" headers="mcps1.3.2.2.1.5.1.3 "><p id="dataartsstudio_02_0285__en-us_topic_0108272811_p7462956141527">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="42.575742425757426%" headers="mcps1.3.2.2.1.5.1.4 "><p id="dataartsstudio_02_0285__en-us_topic_0108272811_p519680141527">Name of the table from which data is extracted. For example, <span class="parmvalue" id="dataartsstudio_02_0285__en-us_topic_0108272811_parmvalue43340352155026"><b>cdm</b></span>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="dataartsstudio_02_0285__en-us_topic_0108272811_row756089319291"><td class="cellrowborder" valign="top" width="19.838016198380164%" headers="mcps1.3.2.2.1.5.1.1 "><p id="dataartsstudio_02_0285__en-us_topic_0108272811_p845261719291">fromJobConfig.columnList</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20.34796520347965%" headers="mcps1.3.2.2.1.5.1.2 "><p id="dataartsstudio_02_0285__en-us_topic_0108272811_p55393515141527">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.23827617238276%" headers="mcps1.3.2.2.1.5.1.3 "><p id="dataartsstudio_02_0285__en-us_topic_0108272811_p57689731141527">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="42.575742425757426%" headers="mcps1.3.2.2.1.5.1.4 "><p id="dataartsstudio_02_0285__en-us_topic_0108272811_p37985002193940">Numbers of columns to be extracted. Use <span class="parmvalue" id="dataartsstudio_02_0285__en-us_topic_0108272811_en-us_topic_0108272831_parmvalue1132123642114732"><b>&</b></span> to separate column numbers in ascending order. For example, <span class="parmvalue" id="dataartsstudio_02_0285__en-us_topic_0108272811_en-us_topic_0108272831_parmvalue84235257617741"><b>1&3&5</b></span>.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="dataartsstudio_02_0281.html">Source Job Parameters</a></div>
|
|
</div>
|
|
</div>
|
|
|