Search before asking
Motivation
When using the M4 UDF, I want to set the value of the parameter 'timeInterval' as (maxTime-minTime)/1000, where maxTime and minTime are the maximal and minimal timestamps of the input time series respectively. In this case, it would be nice if UDF parameters supported SQL queries so that the parameters could be determined at runtime instead of being hard-coded.
Solution
No response
Alternatives
I could write specific UDF to satisfy the needs, calculating maxTime and minTime in the code instead of being required as parameters.
Are you willing to submit a PR?