jatin510 commented on PR #12966:
URL: https://github.com/apache/datafusion/pull/12966#issuecomment-2417369335

   @jonathanc-n 
   I checked and found:
   Only two functions take an argument of a single data type:
   `date_bin` - Time 
   `from_unixtime` - Integer
   
   But it is changing the meaning of the sentence
   
   ```
   for `date_bin`
    #### Arguments
    
    - **interval**: Bin interval.
   -- **expression**: Time expression to operate on. Can be a constant, column, 
or function.
   +- **expression**: Time expression to operate on. Can be a constant, column, 
or function, and any combination of operators.
    - **origin-timestamp**: Optional. Starting point used to determine bin 
boundaries. If not specified defaults 1970-01-01T00:00:00Z (the UNIX epoch in 
UTC).
    
    The following intervals are supported:
   @@ -1958,7 +1958,7 @@ from_unixtime(expression)
    
   for `from_unixtime`
    #### Arguments
    
   -- **expression**: Expression to operate on. Can be a constant, column, or 
function, and any combination of arithmetic operators.
   +- **expression**: Integer expression to operate on. Can be a constant, 
column, or function, and any combination of operators.
   
   ```
   
   So, I am not going with the use of  `with_standard_argument`.


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