fn get_decimal_places(array: &ArrayRef, index: usize) -> Result<i64>
Get decimal places from various integer types.
MySQL clamps decimal places to 0..=30. This function returns an i64 so the caller can clamp.
0..=30
i64