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

[GitHub] [arrow-datafusion] ZuoTiJia commented on issue #5415: `rpad` function causes OOM

ZuoTiJia commented on issue #5415:
URL: https://github.com/apache/arrow-datafusion/issues/5415#issuecomment-1447445848

   > We probably have to put some limits. for example postgres fails fast
   > 
   > ```
   > select rpad('a', 1073741824, 'a');
   > 
   > requested length too large
   > ```
   > 
   > My Mac is spinning CPU like crazy with the same query in datafusion-cli, I had to kill the process
   > 
   > @ZuoTiJia is such kind of rpad is needed by your real use case or you testing DF limits? :)
   
   I'm testing DF and I think it's dangerous for users if there is no limit.


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