peilinqian commented on issue #22173:
URL:
https://github.com/apache/shardingsphere/issues/22173#issuecomment-1320850490
we find java version: java8, full_version=1.8.0_282,
full_path=/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.282.b08-1.el7_9.x86_64/bin/java
ShardingSphere-5.2.2-SNAPSHOT
Commit ID: dirty-753c0cee8ee6fd3db00536da55b64bc5198a3758
Commit Message: Optimize sqlFederationExecutor init logic when
sqlFederationType modify dynamically (#22209)
Branch: 753c0cee8ee6fd3db00536da55b64bc5198a3758
Build time: 2022-11-19T10:18:41+0800
test_db=> set dist variable sql_federation_type="ADVANCED";
SUCCESS
test_db=> select * from t_ssdb_tb a left join t_ssdb b on (a.id = b.id);
id | c_id | a | b | id | c_id | a | b
----+------+----+------------+----+------+----+------------
2 | 2 | 20 | test22 | 2 | 1 | 20 | test21
2 | 2 | 20 | test22 | 2 | 2 | 20 | test22
2 | 2 | 20 | test22 | 2 | 3 | | Test22
4 | 4 | 40 | test4 | 4 | 4 | 40 | test4
6 | 6 | 66 | Test66 | | | |
2 | 1 | 20 | test21 | 2 | 1 | 20 | test21
2 | 1 | 20 | test21 | 2 | 2 | 20 | test22
2 | 1 | 20 | test21 | 2 | 3 | | Test22
2 | 3 | | Test22 | 2 | 1 | 20 | test21
2 | 3 | | Test22 | 2 | 2 | 20 | test22
2 | 3 | | Test22 | 2 | 3 | | Test22
1 | 2 | 10 | Test12 | 1 | 1 | 10 | test11
1 | 2 | 10 | Test12 | 1 | 2 | 10 | Test12
1 | 2 | 10 | Test12 | 1 | 2 | | test12
1 | 2 | | test12 | 1 | 1 | 10 | test11
1 | 2 | | test12 | 1 | 2 | 10 | Test12
1 | 2 | | test12 | 1 | 2 | | test12
1 | 1 | 10 | test11 | 1 | 1 | 10 | test11
1 | 1 | 10 | test11 | 1 | 2 | 10 | Test12
1 | 1 | 10 | test11 | 1 | 2 | | test12
3 | 3 | | test3 | 3 | 3 | | test3
3 | 3 | | test3 | 3 | 3 | | test3
3 | 3 | | test3 | 3 | 3 | | test3
3 | 3 | | test3 | 3 | 3 | | test3
5 | 5 | 50 | Test5 | 5 | 5 | 50 | Test5
(25 rows)
test_db=> set dist variable sql_federation_type="ADVANCED1";
SUCCESS
test_db=> select * from t_ssdb_tb a left join t_ssdb b on (a.id = b.id);
ERROR: ADVANCED1 is not a valid sqlFederationType.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]