codefairy

Results comments of codefairy

@AlbertTao select statement with subquery just only support routing single sharding datasource

@AlbertTao Sharding column is in subquery, outer select may route all sharding datasource, It is very dangerous under the big data volume。 What are the performance differences between the two...

@AlbertTao I know that the execution results of the two versions are different. you said “And its performance is different from the version 3.0.1.” I thought the performance is different.

@AlbertTao the Select with subquery is executed successfully with sharding condition which is routed one sharding node。This restriction was added to after 3.0.1 version。 The reason is: 1 there are...

@xfyang1989 Thanks for your analysis, I will investigate the cause of the error.

all tables are not sharding table, it will be exexuted with the original sql. please detail in org.apache.shardingsphere.core.route.type.standard.SubqueryRouteTest

@EvanDylan This issue is due to the wrong sharding condition, I will fix it, but the SQ:L contains a subquery, it is executed in all sharding node, so the SQL...

failed to parse “user_id-1” , failed to match antlr rule "bitExpr MINUS_ bitExpr", "-1" must be parsed "MINUS_ bitExpr", but was parsed "NUMBER".

the insert column name was wrong, the correct column name is `desc` not "desc"