You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "smallzhongfeng (via GitHub)" <gi...@apache.org> on 2023/11/02 08:30:30 UTC

[I] feat: support udf `range` [arrow-datafusion]

smallzhongfeng opened a new issue, #8028:
URL: https://github.com/apache/arrow-datafusion/issues/8028

   ### Is your feature request related to a problem or challenge?
   
   Currently our udf function does not have `range`. This is a commonly used function. I understand that I should add it.
   try:
   `select range(10);`
   result: 
   `Error: Plan("Invalid function 'range'.\nDid you mean 'nanvl'?")`
    
   And duckdb or clickhouse has supported it.
   duckdb: [https://duckdb.org/docs/archive/0.9.1/sql/functions/](https://duckdb.org/docs/archive/0.9.1/sql/functions/nested#:~:text=%27k%27-,Range%20Functions,-The%20functions%20range)
   clickhouse: [https://clickhouse.com/docs/en/sql-reference/functions/array-functions](https://clickhouse.com/docs/en/sql-reference/functions/array-functions#rangeend-rangestart--end--step:~:text=Syntax-,range(%5Bstart%2C%20%5D%20end%20%5B%2C%20step%5D),-Arguments)
   
   ### Describe the solution you'd like
   
   Add the udf function.
   
   ### Describe alternatives you've considered
   
   _No response_
   
   ### Additional context
   
   _No response_


-- 
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: github-unsubscribe@arrow.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Support udf `range` [arrow-datafusion]

Posted by "Veeupup (via GitHub)" <gi...@apache.org>.
Veeupup commented on issue #8028:
URL: https://github.com/apache/arrow-datafusion/issues/8028#issuecomment-1806103189

   hi @alamb  maybe I can try this issue?  : )


-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Support udf `range` [arrow-datafusion]

Posted by "alamb (via GitHub)" <gi...@apache.org>.
alamb commented on issue #8028:
URL: https://github.com/apache/arrow-datafusion/issues/8028#issuecomment-1806388013

   sure -- thanks @Veeupup  -- sorry for the delays in reviewing!


-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Support udf `range` [arrow-datafusion]

Posted by "alamb (via GitHub)" <gi...@apache.org>.
alamb commented on issue #8028:
URL: https://github.com/apache/arrow-datafusion/issues/8028#issuecomment-1792737369

   Added as subtask of https://github.com/apache/arrow-datafusion/issues/6980


-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Support udf `range` [arrow-datafusion]

Posted by "alamb (via GitHub)" <gi...@apache.org>.
alamb closed issue #8028: Support udf `range`
URL: https://github.com/apache/arrow-datafusion/issues/8028


-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org