Range Type
Range Type
Use a Range specification when you want to limit a data type to certain bounds.
Range Field
field_name: lowerBound & upperBound [& type]
- Note: type is optional, if not provided it will be detected using the lowerBound and upperBound types.
Examples
Int & Float Range
int_range: >=1 & <4 & int
float_range: >1.1 & <=3.3
CSV Example Output
int_range | float_range |
---|
1 | 3.090849207389269 |
2 | 2.7249495319480044 |
1 | 1.902682632156711 |
3 | 1.962837923372978 |
JSON Example Output
[
{
"int_range": 1,
"float_range": 3.090849207389269
},
{
"int_range": 2,
"float_range": 2.7249495319480044
},
{
"int_range": 1,
"float_range": 1.902682632156711
},
{
"int_range": 3,
"float_range": 1.962837923372978
}
]