Yang, Tong 6182f91ba8 MRS component operation guide_normal 2.0.38.SP20 version
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
Co-authored-by: Yang, Tong <yangtong2@huawei.com>
Co-committed-by: Yang, Tong <yangtong2@huawei.com>
2022-12-09 14:55:21 +00:00

16 lines
1.2 KiB
HTML

<a name="mrs_01_24465"></a><a name="mrs_01_24465"></a>
<h1 class="topictitle1">What Should I Do If the Data Type of Fields timestamp and data Is Incorrect During Data Synchronization Between Hive and MySQL?</h1>
<div id="body0000001172490752"><div class="section" id="mrs_01_24465__section1783813471329"><h4 class="sectiontitle">Question</h4><p id="mrs_01_24465__p1521835510321">What should I do if the data type of fields timestamp and data is incorrect during data synchronization between Hive and MySQL?</p>
<p id="mrs_01_24465__p1952945133316"><span><img id="mrs_01_24465__image1595713543317" src="en-us_image_0000001296249912.png"></span></p>
</div>
<div class="section" id="mrs_01_24465__section153051648143220"><h4 class="sectiontitle">Answer</h4><ul id="mrs_01_24465__ul102037172357"><li id="mrs_01_24465__li182036175355">Forcibly convert the data type of the timestamp field in the Sqoop source package to be the same as that in Hive.</li><li id="mrs_01_24465__li05271621153512">Change the data type of the timestamp field in Hive to String.</li></ul>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="mrs_01_24457.html">Common Issues About Sqoop</a></div>
</div>
</div>