You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pinot.apache.org by "Lvnszn (via GitHub)" <gi...@apache.org> on 2023/12/04 07:11:35 UTC
[I] Does Pinot support string split function? [pinot]
Lvnszn opened a new issue, #12089:
URL: https://github.com/apache/pinot/issues/12089
Pinot version: 1.0.0 / 0.12.1
SQL: select split('test, tt', ',', 2) as t from customer_flow_stat
Result:
![image](https://github.com/apache/pinot/assets/12541438/ead7fc6e-0c32-4835-a4b5-2bbc810f68ba)
--
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: commits-unsubscribe@pinot.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org
Re: [I] Does Pinot support string split function? [pinot]
Posted by "walterddr (via GitHub)" <gi...@apache.org>.
walterddr commented on issue #12089:
URL: https://github.com/apache/pinot/issues/12089#issuecomment-1839905642
yes it is supported. but seems like the support for literal evaluation is missing.
upon checking the code I think it is because https://github.com/apache/pinot/blob/b25f7cf6c165d9de39d79e86894235fca359adab/pinot-common/src/main/java/org/apache/pinot/common/utils/request/RequestUtils.java#L220 doesn't understand array type and thus default stringify using java's toString method and thus output the object ref string
--
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: commits-unsubscribe@pinot.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org
Re: [I] Does Pinot support string split function? [pinot]
Posted by "xiangfu0 (via GitHub)" <gi...@apache.org>.
xiangfu0 commented on issue #12089:
URL: https://github.com/apache/pinot/issues/12089#issuecomment-1846091440
right, we should either push this to server for processing or support array literal as result holder
--
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: commits-unsubscribe@pinot.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org
Re: [I] Does Pinot support string split function? [pinot]
Posted by "xiangfu0 (via GitHub)" <gi...@apache.org>.
xiangfu0 commented on issue #12089:
URL: https://github.com/apache/pinot/issues/12089#issuecomment-1861888432
https://github.com/apache/pinot/pull/12118
--
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: commits-unsubscribe@pinot.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org