forked from docs/doc-exports
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>
17 lines
1.3 KiB
HTML
17 lines
1.3 KiB
HTML
<a name="mrs_01_24072"></a><a name="mrs_01_24072"></a>
|
|
|
|
<h1 class="topictitle1">UnsupportedOperationException Is Reported When Updated Data Is Written</h1>
|
|
<div id="body0000001100063116"><div class="section" id="mrs_01_24072__section1453810451898"><h4 class="sectiontitle">Question</h4><p id="mrs_01_24072__p7332335153319">The following error is reported when data is written:</p>
|
|
<pre class="screen" id="mrs_01_24072__screen63515448334">java.lang.UnsupportedOperationException: org.apache.parquet.avro.AvroConverters$FieldIntegerConverter</pre>
|
|
</div>
|
|
<div class="section" id="mrs_01_24072__section11310239101"><h4 class="sectiontitle">Answer</h4><p id="mrs_01_24072__p193191430121013">This error will occur again because schema evolutions are in non-backwards compatible mode. Basically, there is some update U for a record R which is already written to the Hudi dataset in the Parquet file. R contains field F which includes certain data type, that is long. U has the same field F with the int data type. Parquet FS does not support incompatible data type conversions.</p>
|
|
<p id="mrs_01_24072__p8320143061012">For such errors, perform valid data type conversions in the data source where you collect data.</p>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="mrs_01_24070.html">Data Write</a></div>
|
|
</div>
|
|
</div>
|
|
|