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>
21 lines
1.8 KiB
HTML
21 lines
1.8 KiB
HTML
<a name="mrs_01_1455"></a><a name="mrs_01_1455"></a>
|
|
|
|
<h1 class="topictitle1">Filter Result Is not Consistent with Hive when a Big Double Type Value Is Used in Filter</h1>
|
|
<div id="body1595920215434"><div class="section" id="mrs_01_1455__s28bbbc59cefa49a3b746134784cf730e"><h4 class="sectiontitle">Symptom</h4><p id="mrs_01_1455__a9e229658e0d2494285c6fb6c3cfa9250">When double data type values with higher precision are used in filters, incorrect values are returned by filtering results.</p>
|
|
</div>
|
|
<div class="section" id="mrs_01_1455__s6157ee0fc71645cbb15545a2ecd6fc65"><h4 class="sectiontitle">Possible Causes</h4><p id="mrs_01_1455__a484bf90f9b9b4094b16817d89e93ea97">When double data type values with higher precision are used in filters, values are rounded off before comparison. Therefore, values of double data type with different fraction part are considered same.</p>
|
|
</div>
|
|
<div class="section" id="mrs_01_1455__sfc1af3cd461443f1a5e29d50415cb652"><h4 class="sectiontitle">Troubleshooting Method</h4><p id="mrs_01_1455__a8e6c575203ce42d388003dbd701098a6">NA.</p>
|
|
</div>
|
|
<div class="section" id="mrs_01_1455__s4601a2df66e3408498c4c95cd24c030b"><h4 class="sectiontitle">Procedure</h4><p id="mrs_01_1455__a9528393d4d604da98312b28264a2f0ac">To avoid this problem, use decimal data type when high precision data comparisons are required, such as financial applications, equality and inequality checks, and rounding operations.</p>
|
|
</div>
|
|
<div class="section" id="mrs_01_1455__s15307a8f8ba34031b42897e64e439630"><h4 class="sectiontitle">Reference Information</h4><p id="mrs_01_1455__af93d146169f3441592d383ac2db1b03a">NA.</p>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="mrs_01_1454.html">CarbonData Troubleshooting</a></div>
|
|
</div>
|
|
</div>
|
|
|