A_Phil
07/06/2022, 8:46 AMtimestamp, id and `value`; the id describes the value being ingested; here value can hold both INT and STRING for my use case.
I wanted to know which of these options are feasible:
1. Create columns value_int and value_string and use a filtering function in Pinot that can save records in value_int if value is INT, and vice-versa for STRING values of value. I tried this, but the filter function as shown in the docs, does not allow this
2. Store all values as STRING and use a pinot-specific CAST or CONVERT function to do aggregations. But I could not find a cast/convert function in Pinot. Thus I am not able to do sum operations on the data
I would welcome any ideas/workaround for the same.Mayank
A_Phil
07/11/2022, 6:07 AM