Yang, Tong 3f5759eed2 MRS comp-lts 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>
2023-01-19 17:08:45 +00:00

17 lines
1.4 KiB
HTML

<a name="mrs_01_24082"></a><a name="mrs_01_24082"></a>
<h1 class="topictitle1">HoodieHiveSyncException Is Reported During Hive Data Synchronization</h1>
<div id="body32001227"><div class="section" id="mrs_01_24082__en-us_topic_0000001173631150_section145595431415"><h4 class="sectiontitle">Question</h4><p id="mrs_01_24082__en-us_topic_0000001173631150_p195911234212">The following error is reported during Hive data synchronization:</p>
<pre class="screen" id="mrs_01_24082__en-us_topic_0000001173631150_screen138561533104211">com.uber.hoodie.hive.HoodieHiveSyncException: Could not convert field Type from &lt;type1&gt; to &lt;type2&gt; for field col1</pre>
</div>
<div class="section" id="mrs_01_24082__en-us_topic_0000001173631150_section59331205157"><h4 class="sectiontitle">Answer</h4><p id="mrs_01_24082__en-us_topic_0000001173631150_p12882341154">This error occurs because HiveSyncTool currently supports only few compatible data type conversions. The exception is thrown if any other incompatible changes are made.</p>
<p id="mrs_01_24082__en-us_topic_0000001173631150_p16288234141518">Check the data type evolution for the related field and verify if it indeed can be considered as a valid data type conversion based on the Hudi code base.</p>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="mrs_01_24080.html">Hive Synchronization</a></div>
</div>
</div>