You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@doris.apache.org by GitBox <gi...@apache.org> on 2019/08/08 08:21:53 UTC
[GitHub] [incubator-doris] manannan2017 opened a new issue #1609: POLYGON function:when 2 pairs of data is different,the result is NULL always
manannan2017 opened a new issue #1609: POLYGON function:when 2 pairs of data is different,the result is NULL always
URL: https://github.com/apache/incubator-doris/issues/1609
steps:
1、doris
1》 2 pairs of data is different
SELECT ST_AsText(ST_Polygon('POLYGON ((0 0, 0 10, 10 10, 10 0,0 0), (0 0, 0 30, 30 30, 30 0,0 0))'));
![image](https://user-images.githubusercontent.com/33174388/62686857-24af3180-b9f8-11e9-894e-9cccf878ba40.png)
2》 2 pairs of data is same
SELECT ST_AsText(ST_Polygon('POLYGON ((0 0, 0 10, 10 10, 10 0,0 0), (0 0, 0 10, 10 10, 10 0,0 0))'));
![image](https://user-images.githubusercontent.com/33174388/62686894-3a245b80-b9f8-11e9-81d0-889b1b33cf54.png)
2、mysql
1》 2 pairs of data is different
SELECT ST_AsText(GEOMFROMTEXT('POLYGON ((0 0, 0 10, 10 10, 10 0,0 0), (0 0, 0 30, 30 30, 30 0,0 0))'));
![image](https://user-images.githubusercontent.com/33174388/62687009-75bf2580-b9f8-11e9-8100-efe1d69c5e1d.png)
2》2 pairs of data is same
it is same as doris
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@doris.apache.org
For additional commands, e-mail: dev-help@doris.apache.org