renatocron commented on PR #19239:
URL: https://github.com/apache/druid/pull/19239#issuecomment-4411016712

   Hello, Good work on release 37!
   
   Was dropping `JavaScriptParseSpec` purely a "no one was using it" call, or 
is there a longer-term plan to phase JS out more broadly?
   
   Asking because I'm currently relying on JS at the aggregation layer for 
things like a bitwise day-of-week mask during rollup:
   
   ```json
   {
     "type": "javascript",
     "name": "days_mask",
     "fieldNames": ["day_of_week"],
     "fnAggregate": "function(current, dow) { return current | (1 << dow); }",
     "fnCombine":   "function(a, b) { return a | b; }",
     "fnReset":     "function() { return 0; }"
   }
   ```
   
   No native `longBitwiseOr` aggregator exists afaik, so JS is the only real 
option here. 
   Would love to know if this is on borrowed time or not
   


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to