Area: Product Issues
Sub-Area: Volume Assertions UI
Applies to: Cloud
Issue
In DataHub Cloud v1.0.0, the volume row count change builder redisplays saved minimum and maximum values with decimals cut off. When you edit a Volume Assertion with a small decimal threshold, the values in the builder do not match what you entered.
When you save the assertion, the builder can show one or both of these validation messages:
Must be less than maximumMust be greater than minimum
You Might Be Asking
- Why do my decimal percentage assertion thresholds look wrong in the UI?
- Why can't I edit my volume assertion after saving decimal values?
Cause
In DataHub Cloud v1.0.0, the builder's range inputs redisplay saved min and max values with parseInt, which truncates decimals. The validators then reject the values:
- "Must be less than maximum" appears when the minimum is greater than or equal to the maximum.
- "Must be greater than minimum" appears when the maximum is less than or equal to the minimum.
Solution
Upgrade DataHub Cloud to the latest release. If you can't tell which version you run, or you need an upgrade, contact DataHub Support.
After the upgrade, open the assertion and check the threshold fields in the volume builder. The labels are:
- Type: "Growing within a range"
- Minimum field: "At least" (placeholder "Min")
- Maximum field: "Or at most" (placeholder "Max")
- Unit: "% of total table size"
The minimum must be less than the maximum. If it is not, the builder shows "Must be less than maximum" or "Must be greater than minimum".