You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@datafusion.apache.org by "tshauck (via GitHub)" <gi...@apache.org> on 2024/06/02 02:33:44 UTC

[I] Update split_part to support negative indexes vs failing [datafusion]

tshauck opened a new issue, #10761:
URL: https://github.com/apache/datafusion/issues/10761

   ### Is your feature request related to a problem or challenge?
   
   _No response_
   
   ### Describe the solution you'd like
   
   I'd like `split_part('a-b', '-', -1)` to return `b`. Right now it returns an execution error. This is different postgres for example, which does work...
   
   ```
   postgres=# SELECT split_part('a-b', '-', -1);
    split_part 
   ------------
    b
   (1 row)
   ```
   
   vs
   
   ```
   DataFusion CLI v36.0.0
   SELECT split_part('a-b', '-', -1);
   ```
   
   
   ### 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@datafusion.apache.org.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org


Re: [I] Update split_part to support negative indexes vs failing [datafusion]

Posted by "alamb (via GitHub)" <gi...@apache.org>.
alamb closed issue #10761: Update split_part to support negative indexes vs failing
URL: https://github.com/apache/datafusion/issues/10761


-- 
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@datafusion.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org


Re: [I] Update split_part to support negative indexes vs failing [datafusion]

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

   Actually this may've been fixed 🙃 I was on 36


-- 
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@datafusion.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org


Re: [I] Update split_part to support negative indexes vs failing [datafusion]

Posted by "tshauck (via GitHub)" <gi...@apache.org>.
tshauck closed issue #10761: Update split_part to support negative indexes vs failing
URL: https://github.com/apache/datafusion/issues/10761


-- 
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@datafusion.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org