forked from docs/doc-exports
Reviewed-by: Pruthi, Vineet <vineet.pruthi@t-systems.com> Co-authored-by: luhuayi <luhuayi@huawei.com> Co-committed-by: luhuayi <luhuayi@huawei.com>
143 lines
15 KiB
HTML
143 lines
15 KiB
HTML
<a name="EN-US_TOPIC_0000001860318817"></a><a name="EN-US_TOPIC_0000001860318817"></a>
|
|
|
|
<h1 class="topictitle1">Configuration of check_input.xlsx</h1>
|
|
<div id="body0000001819577373"><p id="EN-US_TOPIC_0000001860318817__en-us_topic_0000001382367698_p168514471142">The <strong id="EN-US_TOPIC_0000001860318817__b19621013154119">check_input.xlsx</strong> file includes user input details such as schema, original table name, destination table name, specified column name (all columns are checked by default), check scope, check level (<strong id="EN-US_TOPIC_0000001860318817__b1396251313413">low</strong> by default), and excluded columns. You can customize this information as needed.</p>
|
|
<p id="EN-US_TOPIC_0000001860318817__en-us_topic_0000001382367698_p4143750174520">Perform the following steps to configure the parameters:</p>
|
|
<ol id="EN-US_TOPIC_0000001860318817__en-us_topic_0000001382367698_ol12853174713412"><li id="EN-US_TOPIC_0000001860318817__en-us_topic_0000001382367698_li68551547940"><span>Open the <strong id="EN-US_TOPIC_0000001860318817__b966919405478">check_input.xlsx</strong> file in the folder.</span></li><li id="EN-US_TOPIC_0000001860318817__en-us_topic_0000001382367698_li11495253855"><span>Change the values of parameters in the <strong id="EN-US_TOPIC_0000001860318817__b8391203214542">check_input.xlsx</strong> file based on the site requirements.</span><p><div class="p" id="EN-US_TOPIC_0000001860318817__en-us_topic_0000001382367698_p10641125417511">For the description of the parameters in the <strong id="EN-US_TOPIC_0000001860318817__b14871105115510">check_input.xlsx</strong> file, see <a href="#EN-US_TOPIC_0000001860318817__en-us_topic_0000001382367698_table60771938143352">Table 1</a>.<div class="note" id="EN-US_TOPIC_0000001860318817__en-us_topic_0000001382367698_note161115222406"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><ul id="EN-US_TOPIC_0000001860318817__en-us_topic_0000001382367698_ul611182217409"><li id="EN-US_TOPIC_0000001860318817__en-us_topic_0000001382367698_li211172215406">Parameter values are case-insensitive.</li><li id="EN-US_TOPIC_0000001860318817__en-us_topic_0000001382367698_li111119225409">Do not modify any other parameter except the listed ones.</li></ul>
|
|
</div></div>
|
|
</div>
|
|
</p></li><li id="EN-US_TOPIC_0000001860318817__en-us_topic_0000001382367698_li944141419333"><span>Save the configuration and exit.</span></li></ol>
|
|
|
|
<div class="tablenoborder"><a name="EN-US_TOPIC_0000001860318817__en-us_topic_0000001382367698_table60771938143352"></a><a name="en-us_topic_0000001382367698_table60771938143352"></a><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000001860318817__en-us_topic_0000001382367698_table60771938143352" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Parameters in the check_input.xlsx file</caption><thead align="left"><tr id="EN-US_TOPIC_0000001860318817__en-us_topic_0000001382367698_row57642437143352"><th align="left" class="cellrowborder" valign="top" width="21.3%" id="mcps1.3.4.2.6.1.1"><p id="EN-US_TOPIC_0000001860318817__en-us_topic_0000001382367698_p11188405143352"><strong id="EN-US_TOPIC_0000001860318817__en-us_topic_0000001382367698_b5601134792111">Parameter</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="22.62%" id="mcps1.3.4.2.6.1.2"><p id="EN-US_TOPIC_0000001860318817__en-us_topic_0000001382367698_p33845593143352"><strong id="EN-US_TOPIC_0000001860318817__en-us_topic_0000001382367698_b7689165613214">Description</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="18.08%" id="mcps1.3.4.2.6.1.3"><p id="EN-US_TOPIC_0000001860318817__en-us_topic_0000001382367698_p57138506143352"><strong id="EN-US_TOPIC_0000001860318817__en-us_topic_0000001382367698_b497418602218">Value Range</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="15.950000000000001%" id="mcps1.3.4.2.6.1.4"><p id="EN-US_TOPIC_0000001860318817__en-us_topic_0000001382367698_p64816239143352"><strong id="EN-US_TOPIC_0000001860318817__en-us_topic_0000001382367698_b138051631172214">Default Value</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="22.05%" id="mcps1.3.4.2.6.1.5"><p id="EN-US_TOPIC_0000001860318817__en-us_topic_0000001382367698_p15623984143352"><strong id="EN-US_TOPIC_0000001860318817__en-us_topic_0000001382367698_b13370750699">Example</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="EN-US_TOPIC_0000001860318817__row547402132017"><td class="cellrowborder" valign="top" width="21.3%" headers="mcps1.3.4.2.6.1.1 "><p id="EN-US_TOPIC_0000001860318817__p145762192714">Source Database Name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="22.62%" headers="mcps1.3.4.2.6.1.2 "><p id="EN-US_TOPIC_0000001860318817__p12671824112212">Name of the database to which the source table to be verified belongs. This parameter is optional. If this parameter is not specified, <strong id="EN-US_TOPIC_0000001860318817__b119031937142719">src.dbname</strong> in <strong id="EN-US_TOPIC_0000001860318817__b1858720173310">dbinfo.properties</strong> is used.</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="18.08%" headers="mcps1.3.4.2.6.1.3 "><p id="EN-US_TOPIC_0000001860318817__p16402174812259">NA</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15.950000000000001%" headers="mcps1.3.4.2.6.1.4 "><p id="EN-US_TOPIC_0000001860318817__p7402148162514">NA</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="22.05%" headers="mcps1.3.4.2.6.1.5 "><p id="EN-US_TOPIC_0000001860318817__p4475102119201">mydb</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001860318817__en-us_topic_0000001382367698_row76961116191912"><td class="cellrowborder" valign="top" width="21.3%" headers="mcps1.3.4.2.6.1.1 "><p id="EN-US_TOPIC_0000001860318817__p12244133913209">Source Schema Name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="22.62%" headers="mcps1.3.4.2.6.1.2 "><p id="EN-US_TOPIC_0000001860318817__p1715103813411">Name of the schema to which the source table to be verified belongs. If this parameter is not involved, leave it blank.</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="18.08%" headers="mcps1.3.4.2.6.1.3 "><p id="EN-US_TOPIC_0000001860318817__p78624511414">N/A</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15.950000000000001%" headers="mcps1.3.4.2.6.1.4 "><p id="EN-US_TOPIC_0000001860318817__p55931621164">N/A</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="22.05%" headers="mcps1.3.4.2.6.1.5 "><p id="EN-US_TOPIC_0000001860318817__p208741150264">myschema</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001860318817__en-us_topic_0000001382367698_row16165216181916"><td class="cellrowborder" valign="top" width="21.3%" headers="mcps1.3.4.2.6.1.1 "><p id="EN-US_TOPIC_0000001860318817__p11484346271">Source Table Name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="22.62%" headers="mcps1.3.4.2.6.1.2 "><p id="EN-US_TOPIC_0000001860318817__en-us_topic_0000001382367698_p79501982249">Name of the table to be verified in the source database. This parameter is mandatory.</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="18.08%" headers="mcps1.3.4.2.6.1.3 "><p id="EN-US_TOPIC_0000001860318817__p16341619132916">N/A</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15.950000000000001%" headers="mcps1.3.4.2.6.1.4 "><p id="EN-US_TOPIC_0000001860318817__en-us_topic_0000001382367698_p1695011813247">N/A</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="22.05%" headers="mcps1.3.4.2.6.1.5 "><p id="EN-US_TOPIC_0000001860318817__p124411493811">order_info</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001860318817__row161412544235"><td class="cellrowborder" valign="top" width="21.3%" headers="mcps1.3.4.2.6.1.1 "><p id="EN-US_TOPIC_0000001860318817__p1896015516275">Target Database Name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="22.62%" headers="mcps1.3.4.2.6.1.2 "><p id="EN-US_TOPIC_0000001860318817__p5141254112311">Name of the database to which the destination GaussDB(DWS) table belongs. This parameter is optional. If this parameter is not specified, <strong id="EN-US_TOPIC_0000001860318817__b8645181922812">dws.dbname</strong> in <strong id="EN-US_TOPIC_0000001860318817__b1219339173214">dbinfo.properties</strong> is used.</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="18.08%" headers="mcps1.3.4.2.6.1.3 "><p id="EN-US_TOPIC_0000001860318817__p3943550112517">NA</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15.950000000000001%" headers="mcps1.3.4.2.6.1.4 "><p id="EN-US_TOPIC_0000001860318817__p169432507253">NA</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="22.05%" headers="mcps1.3.4.2.6.1.5 "><p id="EN-US_TOPIC_0000001860318817__p1514125422315">dws_db</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001860318817__row1986911122015"><td class="cellrowborder" valign="top" width="21.3%" headers="mcps1.3.4.2.6.1.1 "><p id="EN-US_TOPIC_0000001860318817__p1336188152717">Target Schema Name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="22.62%" headers="mcps1.3.4.2.6.1.2 "><p id="EN-US_TOPIC_0000001860318817__p1381482411258">Name of the schema to which the destination GaussDB(DWS) table belongs. This parameter is mandatory.</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="18.08%" headers="mcps1.3.4.2.6.1.3 "><p id="EN-US_TOPIC_0000001860318817__p196075528257">NA</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15.950000000000001%" headers="mcps1.3.4.2.6.1.4 "><p id="EN-US_TOPIC_0000001860318817__p12607135215258">NA</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="22.05%" headers="mcps1.3.4.2.6.1.5 "><p id="EN-US_TOPIC_0000001860318817__p18869151142017">dws_sch</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001860318817__en-us_topic_0000001382367698_row6831916171918"><td class="cellrowborder" valign="top" width="21.3%" headers="mcps1.3.4.2.6.1.1 "><p id="EN-US_TOPIC_0000001860318817__p14636110192718">Target Table Name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="22.62%" headers="mcps1.3.4.2.6.1.2 "><p id="EN-US_TOPIC_0000001860318817__p11780143019810">Name of the table to be verified in the destination GaussDB(DWS) database. This parameter is mandatory.</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="18.08%" headers="mcps1.3.4.2.6.1.3 "><p id="EN-US_TOPIC_0000001860318817__p3522174133012">N/A</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15.950000000000001%" headers="mcps1.3.4.2.6.1.4 "><p id="EN-US_TOPIC_0000001860318817__p17532184163014">N/A</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="22.05%" headers="mcps1.3.4.2.6.1.5 "><p id="EN-US_TOPIC_0000001860318817__p167852079283">dws_info</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001860318817__en-us_topic_0000001382367698_row11667161541920"><td class="cellrowborder" valign="top" width="21.3%" headers="mcps1.3.4.2.6.1.1 "><p id="EN-US_TOPIC_0000001860318817__p1766841382716">Row Range(Where sql)</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="22.62%" headers="mcps1.3.4.2.6.1.2 "><p id="EN-US_TOPIC_0000001860318817__p14134122020919">Check scope of table records. By default, all records are checked.</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="18.08%" headers="mcps1.3.4.2.6.1.3 "><p id="EN-US_TOPIC_0000001860318817__en-us_topic_0000001382367698_p24935753">N/A</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15.950000000000001%" headers="mcps1.3.4.2.6.1.4 "><p id="EN-US_TOPIC_0000001860318817__p126517461792">ALL</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="22.05%" headers="mcps1.3.4.2.6.1.5 "><p id="EN-US_TOPIC_0000001860318817__p59673402919">where begin_time > '2020-1-1' and begin_time < '2021-1-1'</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001860318817__en-us_topic_0000001382367698_row723951501912"><td class="cellrowborder" valign="top" width="21.3%" headers="mcps1.3.4.2.6.1.1 "><p id="EN-US_TOPIC_0000001860318817__p1918551517272">Column Range</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="22.62%" headers="mcps1.3.4.2.6.1.2 "><p id="EN-US_TOPIC_0000001860318817__p1627192418109">Column check. By default, all supported fields are checked, including numeric, time, and character types. This parameter is optional.</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="18.08%" headers="mcps1.3.4.2.6.1.3 "><p id="EN-US_TOPIC_0000001860318817__en-us_topic_0000001382367698_p36654752">N/A</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15.950000000000001%" headers="mcps1.3.4.2.6.1.4 "><p id="EN-US_TOPIC_0000001860318817__en-us_topic_0000001382367698_p194021352979">N/A</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="22.05%" headers="mcps1.3.4.2.6.1.5 "><p id="EN-US_TOPIC_0000001860318817__p433321811119">col1,col10,col19</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001860318817__en-us_topic_0000001382367698_row077321451911"><td class="cellrowborder" valign="top" width="21.3%" headers="mcps1.3.4.2.6.1.1 "><p id="EN-US_TOPIC_0000001860318817__p167102180279">Check Strategy</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="22.62%" headers="mcps1.3.4.2.6.1.2 "><p id="EN-US_TOPIC_0000001860318817__p11281194201219">Data check level</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="18.08%" headers="mcps1.3.4.2.6.1.3 "><ul id="EN-US_TOPIC_0000001860318817__ul1844882613121"><li id="EN-US_TOPIC_0000001860318817__li19448122691214">low</li><li id="EN-US_TOPIC_0000001860318817__li2408152701220">middle</li><li id="EN-US_TOPIC_0000001860318817__li11906152712123">high</li></ul>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15.950000000000001%" headers="mcps1.3.4.2.6.1.4 "><p id="EN-US_TOPIC_0000001860318817__p5662154417274">low</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="22.05%" headers="mcps1.3.4.2.6.1.5 "><p id="EN-US_TOPIC_0000001860318817__p149921450183018">low</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001860318817__en-us_topic_0000001382367698_row66008765143352"><td class="cellrowborder" valign="top" width="21.3%" headers="mcps1.3.4.2.6.1.1 "><p id="EN-US_TOPIC_0000001860318817__p16335320152710">Column Exclude</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="22.62%" headers="mcps1.3.4.2.6.1.2 "><p id="EN-US_TOPIC_0000001860318817__p11808156161210">Function that allows for the exclusion of specified columns from the sum check.</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="18.08%" headers="mcps1.3.4.2.6.1.3 "><p id="EN-US_TOPIC_0000001860318817__p19925172421314">N/A</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15.950000000000001%" headers="mcps1.3.4.2.6.1.4 "><p id="EN-US_TOPIC_0000001860318817__en-us_topic_0000001382367698_p6544323143352">N/A</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="22.05%" headers="mcps1.3.4.2.6.1.5 "><p id="EN-US_TOPIC_0000001860318817__p164392037101315">col1,col10,col19</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="dws_07_0206.html">Configuring DataCheck</a></div>
|
|
</div>
|
|
</div>
|
|
|