zhuqi-lucas commented on PR #4027:
URL: https://github.com/apache/calcite/pull/4027#issuecomment-2452845020

   > > We can support split_part function for postgresq:
   > > split_part ( string text, delimiter text, n integer ) → text
   > > Splits string at occurrences of delimiter and returns the n'th field 
(counting from one), or when n is negative, returns the |n|'th-from-last field.
   > > ```
   > > split_part('abc~@def@ghi', '@~', 2) → def
   > > 
   > > split_part('abc,def,ghi,jkl', ',', -2) → ghi
   > > ```
   > 
   > select split_part('abc~@def@ghi', '@~', 2); return nothing in PG. There is 
a typographical error here.
   
   Updated, thanks!


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