Clone
Volodymyr Vysotskyi <vvovyk@gmail.com>
committed
on 12 Jul 18
DRILL-6472: Prevent using zero precision in CAST function
- Add check for the correctness of scale value;
- Add check for fitting the value … Show more
DRILL-6472: Prevent using zero precision in CAST function

- Add check for the correctness of scale value;

- Add check for fitting the value to the value with the concrete scale and precision;

- Implement negative UDF for VarDecimal

- Add unit tests for new checks and UDF.

Show less

master + 3 more