GoogleCloudPlatform / GoogleCloudPlatform/professional-services-data-validator

validate row: Impala pads decimals causing validation failures

Open
#1,379 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
524
Forks
171
Avg merge
5d 15h
Merged PRs (30d)
4

Description

Note the output below:
```
select cast(col_dec_10_2 as string) from pso_data_validator.dvt_core_types;

+------------------------------+
| cast(col_dec_10_2 as string) |
+------------------------------+
| 123.11 |
| 123.22 |
| 123.30 |
+------------------------------+
```

Other supported engines would not pad `123.3` with a trailing zero.

Search for "issue-1379" in test_impala.py when resolving this issue.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.