Albert Li

Results comments of Albert Li

I am so grateful for your help.

Thanks for you reply. I has try the test case in 4.0.0-RC2-SNAPSHOT dev branch, the result is right.

If use the case run another sql : ```sql select * from ts_order td where exists (select 1 from ts_order_address tda where tda.id = 1); ``` The result is the...

@codefairy08 ts_order_address (tda) sharding column is 'order_id' not 'id'. But in version 4.0.0-RC1 , subquery with sharding column cause error, subquery without sharding column get result without error . And...

@codefairy08 please run test case in version 4.0.0-RC1 and version 3.0.1 with this two sql: ```sql select * from ts_order td where exists (select 1 from ts_order_address tda where tda.order_id...

@codefairy08 sorry, I just choose wrong word. I mean the result is different.

@codefairy08 So, why the result was different between version 3.0.1 and version 4.0.0-RC1, And which version was right ?

When I use select statement, the result is correct. ``` [main] INFO ShardingSphere-SQL - Logic SQL: select id, `desc` from ts_order [main] INFO ShardingSphere-SQL - SQLStatement: SelectStatement(super=DQLStatement(super=AbstractSQLStatement(type=DQL, tables=Tables(tables=[Table(name=ts_order, alias=Optional.absent())]), routeConditions=Conditions(orCondition=OrCondition(andConditions=[])),...

Although the document suggests us to use "PrepareStatement", I still think that the "Statement" parsing takes too much time compared to a database operation.