vectordotdev / vrl

Vector Remap Language
Mozilla Public License 2.0
136 stars 68 forks source link

`to_*` and `parse_*` for scalar types should have the same implementation #1120

Open pront opened 2 weeks ago

pront commented 2 weeks ago

While working on https://github.com/vectordotdev/vrl/issues/1107, I realized that parse_float doesn't share the same implementation as to_float. The latter has a more generic implementation that can replace the former. Same for to_int and parse_int.