abhishekrb19 commented on issue #14346:
URL: https://github.com/apache/druid/issues/14346#issuecomment-1567835147

   @abhishekagarwal87, `IS_DETERMINISTIC` in this table denotes whether the 
function will always produce the same output for the same set of inputs. It's a 
standard column from the SQL spec that a lot of vendors expose. For Druid, this 
information can be determined from Calcite 
[here](https://calcite.apache.org/javadocAggregate/org/apache/calcite/sql/SqlOperator.html#isDeterministic()).
   
   AFAIK, in Druid, all the functions [documented 
here](https://druid.apache.org/docs/latest/querying/sql-functions.html) are 
deterministic by default. Found an old PR (and linked issues) that attempted to 
add `RAND()`, which would have been non-deterministic, I think, but it wasn't 
merged. Perhaps someone has implemented a non-deterministic function in the 
wild in an extension?


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