LeiRui opened a new issue, #9488:
URL: https://github.com/apache/iotdb/issues/9488

   ### Search before asking
   
   - [X] I searched in the [issues](https://github.com/apache/iotdb/issues) and 
found nothing similar.
   
   
   ### 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?
   
   - [ ] I'm willing to submit a PR!


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

Reply via email to