Hello team.. we are using `BIG_DECIMAL` metric fi...
# troubleshooting
a
Hello team.. we are using
BIG_DECIMAL
metric fields in our schema with a hybrid table and have a
RealtimeToOfflineSegmentsTask
to move segments from realtime to offline table. We are hitting an exception
ava.lang.IllegalStateException: Unsupported SV stored type: BIG_DECIMAL at org.apache.pinot.core.segment.processing.genericrow.GenericRowSerializer.serialize(GenericRowSerializer.java:108)
in the job.. Looking at the code https://github.com/apache/pinot/blob/6fef2108098dfae4173b104aa5e5e221cc89dc9e/pino[…]ot/core/segment/processing/genericrow/GenericRowSerializer.java, I don't see support for
BIG_DECIMAL
.. any idea if we are missing some config to not hit this?
t
Looks like this code path might have been missed when adding BIG_DECIMAL support.
@Jackie to confirm. If so, I can put up a fix for it.
a
Ah good to know.. thanks @Tim Santos.. Please let me know once you have the patch ready.. I can help test
j
Yes. We should add
BIG_DECIMAL
to the switch cases
👍 2
t
Thanks for confirming @Jackie, ill put up a fix for it,
👍 1
PR for the fix. @Ajay Chintala feel free to test out for your use case.
a
Sure.. I will test this out and let you know how it goes.. thanks, Tim!
👍 1
Tried the latest build and can confirm this is now fixed.. thanks @Tim Santos
👍 1