npawar opened a new issue #5351: URL: https://github.com/apache/incubator-pinot/issues/5351
In https://github.com/apache/incubator-pinot/pull/5238 we added transform functions feature. This issue has the design doc: https://github.com/apache/incubator-pinot/issues/5135. This is one of the follow ups. In the transform functions support so far, we have 1 limitation. If `destColumn = f(sourceColumn)`, then, destColumn cannot be used as an input to another transform function in the same schema. Example: source columns: `foodExpenses`=[100, 500, 200], `totalExpense`=4000 destination columns: `totalFoodExpense = sumOfAll(foodExpenses)` So `totalFoodExpense` cannot be used as input to another transformFunction. This is the behavior that we want to change. Now we want to add support for using `totalFoodExpense` as input to another transform function source columns: `foodExpenses`=[100, 500, 200], `totalExpense`=4000 destination columns: `totalFoodExpense = sumOfAll(foodExpenses)`, `percentFoodExpense = totalFoodExpense/totalExpense * 100` ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
