我要评分
获取效率
正确性
完整性
易理解

Kunpeng BoostKit 22.0.0.SPC5

Trouble Ticket DTS2023032108812 Updated

Trouble Ticket No.

DTS: DTS2023032108812

Symptom

The cast double to decimal function is incorrectly calculated, which is inconsistent with the native Spark result.

Severity

Major

Root Cause

The current double-to-decimal conversion does not provide accurate, shortest-length processing. As a result, the calculation result is inconsistent with the native one.

Solution

Use the native implementation of cast double to decimal.

Impact

None

Test Suggestion

Compare the result consistency and does not verify the operators.