You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2020/01/02 10:28:09 UTC

[GitHub] [incubator-shardingsphere] lybbyl opened a new issue #3847: use st_distance_sphere(mysql function)caused a bug

lybbyl opened a new issue #3847: use st_distance_sphere(mysql function)caused a bug
URL: https://github.com/apache/incubator-shardingsphere/issues/3847
 
 
   ## Bug Report
   
   **For English only**, other languages will not accept.
   
   Before report a bug, make sure you have:
   
   - Searched open and closed [GitHub issues](https://github.com/apache/incubator-shardingsphere/issues).
   - Read documentation: [ShardingSphere Doc](https://shardingsphere.apache.org/document/current/en/overview).
   
   Please pay attention on issues you submitted, because we maybe need more details. 
   If no response **more than 7 days** and we cannot reproduce it on current information, we will **close it**.
   
   Please answer these questions before submitting your issue. Thanks!
   
   ### Which version of ShardingSphere did you use?
   
   <dependency>
   			<groupId>org.apache.shardingsphere</groupId>
   			<artifactId>sharding-jdbc-core</artifactId>
   			<version>4.0.0-RC2</version>
   </dependency>
   
   ### Which project did you use? Sharding-JDBC or Sharding-Proxy?
   
   sharding-jdbc-core
   
   ### Expected behavior
   Hope to support mysql distance function -->st_distance_sphere
   
   ### Actual behavior
   Will report an Exception
   
   ### Reason analyze (If you can)
   ![image](https://user-images.githubusercontent.com/20021575/71662660-35888700-2d8d-11ea-905b-a5f40d7dbd21.png)
   I think some bugs caused this value to be wrong.
   
   
   ### Steps to reproduce the behavior, such as: SQL to execute, sharding rule configuration, when exception occur etc.
   
   SELECT
   	dd.id 
   FROM
   	detailed_demand dd 
   WHERE
   	1 = 1 
   ORDER BY
   	st_distance_sphere ( point ( 113.358772, 23.1273723 ), point ( dd.longitude, dd.latitude ) ) ASC 
   	LIMIT 0,
   	20
   
   ### Example codes for reproduce this issue (such as a github link).
   

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

[GitHub] [incubator-shardingsphere] dongzl commented on issue #3847: use st_distance_sphere(mysql function)caused a bug

Posted by GitBox <gi...@apache.org>.
dongzl commented on issue #3847: use st_distance_sphere(mysql function)caused a bug
URL: https://github.com/apache/incubator-shardingsphere/issues/3847#issuecomment-570173910
 
 
   @SteNicholas , assign to you. ^_^

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

[GitHub] [incubator-shardingsphere] lybbyl edited a comment on issue #3847: use st_distance_sphere(mysql function)caused a bug

Posted by GitBox <gi...@apache.org>.
lybbyl edited a comment on issue #3847: use st_distance_sphere(mysql function)caused a bug
URL: https://github.com/apache/incubator-shardingsphere/issues/3847#issuecomment-570174036
 
 
   Thank you so much for your response.@SteNicholas 

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

[GitHub] [incubator-shardingsphere] SteNicholas edited a comment on issue #3847: use st_distance_sphere(mysql function)caused a bug

Posted by GitBox <gi...@apache.org>.
SteNicholas edited a comment on issue #3847: use st_distance_sphere(mysql function)caused a bug
URL: https://github.com/apache/incubator-shardingsphere/issues/3847#issuecomment-570172397
 
 
   @lybbyl I will support `st_distance_sphere ` function. Currently MySQLParser doesn't support all MySQL functions. @terrymanu Please assign to me for function support.

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

[GitHub] [incubator-shardingsphere] lybbyl commented on issue #3847: use st_distance_sphere(mysql function)caused a bug

Posted by GitBox <gi...@apache.org>.
lybbyl commented on issue #3847: use st_distance_sphere(mysql function)caused a bug
URL: https://github.com/apache/incubator-shardingsphere/issues/3847#issuecomment-570174036
 
 
   Thank you so much for your 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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [incubator-shardingsphere] terrymanu closed issue #3847: use st_distance_sphere(mysql function)caused a bug

Posted by GitBox <gi...@apache.org>.
terrymanu closed issue #3847: use st_distance_sphere(mysql function)caused a bug
URL: https://github.com/apache/incubator-shardingsphere/issues/3847
 
 
   

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

[GitHub] [incubator-shardingsphere] SteNicholas commented on issue #3847: use st_distance_sphere(mysql function)caused a bug

Posted by GitBox <gi...@apache.org>.
SteNicholas commented on issue #3847: use st_distance_sphere(mysql function)caused a bug
URL: https://github.com/apache/incubator-shardingsphere/issues/3847#issuecomment-570172397
 
 
   @lybbyl I will support `st_distance_sphere ` function. @terrymanu Please assign to me for function support.

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