Hello folks :wave:, new to the pinot world, just w...
# troubleshooting
j
Hello folks 👋, new to the pinot world, just wanted clarification on one point. We have a
Long
type column in one of the tables. Going ahead, for more precision, we want to maintain a
Double
type of column. Would it be possible to directly update the column type in the schema or should we add a new column and delete the old one. Referred the schema evolution link, but couldn't determine how to proceed from it.
m
Long to double is not a backward compatible change, and won’t be allowed
j
Ahh, okay. Might sound like a noob, but, wouldn't long values still retain their precision on conversion to Double? The other way around would cause precision loss, but not sure about the
long
->
double
case. @Mayank
m
Long to double does cause precision loss, due to floating point representation
j
Thank you Mayank, this helps 🙂
👍 1