File tree Expand file tree Collapse file tree 1 file changed +13
-1
lines changed Expand file tree Collapse file tree 1 file changed +13
-1
lines changed Original file line number Diff line number Diff line change 117
117
{
118
118
col_min <- round(min(minmax_vals ), 5 )
119
119
col_max <- round(max(minmax_vals ), 5 )
120
- if (col_min < col_max )
120
+
121
+ # if the base value is 16 digits or larger, it's going to get
122
+ # serialized in such a way that we can't parse it (either with a
123
+ # trailing "." or with a e+xx exponent), so disable filtering
124
+ col_min_c <- as.character(trunc(col_min ))
125
+ col_max_c <- as.character(trunc(col_max ))
126
+ if (nchar(col_min_c ) > = 16 || grepl(" e" , col_min_c , fixed = TRUE ) ||
127
+ nchar(col_max_c ) > = 16 || grepl(" e" , col_max_c , fixed = TRUE ))
128
+ {
129
+ col_min <- 0
130
+ col_max <- 0
131
+ }
132
+ else if (col_min < col_max )
121
133
{
122
134
col_type <- " numeric"
123
135
col_search_type <- " numeric"
You can’t perform that action at this time.
0 commit comments