You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by pa...@apache.org on 2021/01/07 05:22:25 UTC
[shardingsphere] branch master updated: Rename
shardingsphere-integration-test-suite and
shardingsphere-integration-test-fixture (#8926)
This is an automated email from the ASF dual-hosted git repository.
panjuan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shardingsphere.git
The following commit(s) were added to refs/heads/master by this push:
new 208e7f4 Rename shardingsphere-integration-test-suite and shardingsphere-integration-test-fixture (#8926)
208e7f4 is described below
commit 208e7f4ba1bf6fec491812d06b7afa4fbec9879d
Author: Liang Zhang <te...@163.com>
AuthorDate: Thu Jan 7 13:21:40 2021 +0800
Rename shardingsphere-integration-test-suite and shardingsphere-integration-test-fixture (#8926)
---
.../test-engine/integration-test-engine.cn.md | 20 +-
.../test-engine/integration-test-engine.en.md | 20 +-
.../shardingsphere-integration-test/pom.xml | 4 +-
.../pom.xml | 2 +-
.../fixture/ConstantKeyGenerateAlgorithm.java | 0
.../fixture/StandardModuloAlgorithm.java | 0
...hardingsphere.sharding.spi.KeyGenerateAlgorithm | 0
...e.shardingsphere.sharding.spi.ShardingAlgorithm | 0
.../pom.xml | 4 +-
.../src/test/assembly/bin/start.sh | 0
.../src/test/assembly/bin/stop.sh | 0
.../test/integration/cases/IntegrateTestCases.java | 0
.../assertion/IntegrateTestCaseAssertion.java | 0
.../IntegrateTestCaseAssertionInitialSQL.java | 0
.../integration/cases/value/SQLValueGroup.java | 0
.../test/integration/engine/it/dcl/BaseDCLIT.java | 0
.../integration/engine/it/dml/AdditionalDMLIT.java | 0
.../integration/engine/param/SQLExecuteType.java | 0
.../param/domain/CaseParameterizedArray.java | 0
.../env/IntegrateTestEnvironmentType.java | 0
.../integration/env/authority/AuthoritySQLSet.java | 0
.../env/datasource/DatabaseEnvironment.java | 0
.../builder/ActualDataSourceBuilder.java | 0
.../env/datasource/builder/DataSourcePoolType.java | 0
.../test/resources/docker/db/docker-compose.yml | 0
.../src/test/resources/docker/db/mysql/init.sql | 0
.../resources/docker/db/proxy/conf/config-db.yaml | 0
.../proxy/conf/server.yaml | 0
.../docker/replica_query/docker-compose.yml | 0
.../docker/replica_query/proxy/conf/server.yaml | 0
.../integrate/cases/ddl/dataset/db/alter_table.xml | 0
.../cases/ddl/dataset/db/create_unique_index.xml | 0
.../cases/ddl/dataset/db/unchanged_table.xml | 0
.../dbtbl_with_replica_query/create_index.xml | 0
.../dataset/replica_query/create_unique_index.xml | 0
.../cases/ddl/dataset/replica_query/drop_table.xml | 0
.../ddl/dataset/replica_query/unchanged_table.xml | 0
.../cases/ddl/dataset/shadow/create_table.xml | 0
.../ddl/dataset/shadow/create_unique_index.xml | 0
.../cases/ddl/dataset/shadow/drop_table.xml | 0
.../cases/ddl/dataset/tbl/alter_table.xml | 0
.../cases/ddl/dataset/tbl/create_table.xml | 0
.../db/batch_insert_with_generate_key_column.xml | 0
.../dataset/db/delete_without_sharding_value.xml | 0
.../cases/dml/dataset/db/insert_for_order_1.xml | 0
.../cases/dml/dataset/db/insert_for_order_2.xml | 0
.../dataset/db/insert_with_generate_key_column.xml | 0
.../db/insert_without_generate_key_column.xml | 0
.../integrate/cases/dml/dataset/db/update.xml | 0
.../dataset/db/update_with_column_equal_column.xml | 0
.../dml/dataset/db/update_without_condition.xml | 0
.../batch_insert_with_generate_key_column.xml | 0
.../delete_without_sharding_value.xml | 0
.../insert_for_order_1_2.xml | 0
.../insert_for_order_2.xml | 0
.../insert_multiple_values_for_order_1_2.xml | 0
.../insert_on_duplicate_key_update.xml | 0
.../insert_with_generate_key_column.xml | 0
.../insert_without_generate_key_column.xml | 0
.../update_without_condition.xml | 0
.../integrate/cases/dml/dataset/delete.xml | 0
.../replica_query/delete_with_sharding_value.xml | 0
.../delete_without_sharding_value.xml | 0
.../dataset/replica_query/insert_for_order_2.xml | 0
.../insert_with_generate_key_column.xml | 0
.../cases/dml/dataset/replica_query/update.xml | 0
.../update_with_column_equal_column.xml | 0
.../replica_query}/update_without_condition.xml | 0
.../dataset/shadow/delete_with_sharding_value.xml | 0
.../dml/dataset/shadow/insert_for_order_1.xml | 0
.../dml/dataset/shadow/insert_for_order_1_2.xml | 0
.../shadow/insert_with_generate_key_column.xml | 0
.../integrate/cases/dml/dataset/shadow/update.xml | 0
.../tbl/batch_insert_with_generate_key_column.xml | 0
.../batch_insert_without_generate_key_column.xml | 0
.../cases/dml/dataset/tbl/insert_for_order_1.xml | 0
.../tbl/insert_with_generate_key_column.xml | 0
.../tbl/insert_without_generate_key_column.xml | 0
.../cases/dml/dml-integrate-test-cases.xml | 0
.../dql/dataset/db}/select_count_with_sub.xml | 0
.../dql/dataset/db}/select_distinct_function.xml | 0
.../db}/select_distinct_with_count_group_by.xml | 0
.../db}/select_distinct_with_multi_column.xml | 0
..._distinct_with_multi_column_without_oder_by.xml | 0
...distinct_with_multi_column_without_order_by.xml | 0
...ct_distinct_with_owner_star_without_oder_by.xml | 0
.../dql/dataset/db}/select_distinct_with_star.xml | 0
.../dql/dataset/db}/select_distinct_with_sum.xml | 0
.../dql/dataset/db}/select_group_by_with_avg.xml | 0
...ect_group_by_with_count_without_column_name.xml | 0
.../db}/select_group_by_with_key_word_alias.xml | 0
.../dql/dataset/db}/select_group_by_with_max.xml | 0
.../dql/dataset/db}/select_group_by_with_min.xml | 0
.../dql/dataset/db}/select_group_by_with_sum.xml | 0
.../dataset/db}/select_in_with_single_table.xml | 0
.../cases/dql/dataset/db}/select_inner_join.xml | 0
.../integrate/cases/dql/dataset/db}/select_max.xml | 0
.../integrate/cases/dql/dataset/db}/select_min.xml | 0
.../db}/select_or_mix_and_for_complex_pattern.xml | 0
...r_mix_and_with_binding_and_broadcast_tables.xml | 0
.../db}/select_or_mix_and_with_binding_tables.xml | 0
.../dql/dataset/db/select_or_with_predicates.xml | 0
.../db}/select_order_by_asc_and_index_desc.xml | 0
.../db}/select_order_by_desc_and_index_asc.xml | 0
.../db}/select_order_by_with_ordered_column.xml | 0
..._pagination_with_diff_group_by_and_order_by.xml | 0
.../dataset/db}/select_pagination_with_offset.xml | 0
...select_pagination_with_offset_and_row_count.xml | 0
.../db/select_pagination_with_offset_fetch.xml | 0
...elect_pagination_with_row_number_not_at_end.xml | 0
.../select_sharding_route_with_binding_tables.xml | 0
.../select_sharding_route_with_broadcast_table.xml | 0
.../dataset/db}/select_with_force_index_join.xml | 0
.../select_alias_as_keyword.xml | 0
.../select_alias_as_single_quote_string.xml | 0
.../dbtbl_with_replica_query/select_avg.xml | 0
.../select_count_with_sub.xml | 0
.../select_distinct_with_count_calculation.xml | 0
.../select_distinct_with_count_group_by.xml | 0
.../select_distinct_with_count_sum.xml | 0
.../select_distinct_with_multi_column.xml | 0
...distinct_with_multi_column_without_order_by.xml | 0
...distinct_with_owner_column_without_order_by.xml | 0
.../select_distinct_with_owner_star.xml | 0
...t_distinct_with_owner_star_without_order_by.xml | 0
.../select_distinct_with_single_column.xml | 0
...istinct_with_single_column_without_order_by.xml | 0
.../select_distinct_with_star.xml | 0
.../select_distinct_with_sum.xml | 0
.../select_equal_with_single_table.xml | 0
.../select_full_route_with_binding_tables.xml | 0
.../select_group_by_with_count.xml | 0
.../select_group_by_with_keyword_alias.xml | 0
.../select_group_by_without_grouped_column.xml | 0
.../select_in_with_same_sharding_column.xml | 0
.../select_in_with_single_table.xml | 0
.../dbtbl_with_replica_query/select_max.xml | 0
...r_mix_and_with_binding_and_broadcast_tables.xml | 0
.../select_or_mix_and_with_binding_tables.xml | 0
.../select_or_with_none_sharding_columns.xml | 0
.../select_order_by_with_multiple_stars.xml | 0
.../select_order_by_with_ordered_column.xml | 0
.../select_order_by_with_star_no_table_alias.xml | 0
.../select_order_by_with_star_table_alias.xml | 0
.../select_order_by_with_table_star_table_name.xml | 0
...elect_pagination_with_group_by_and_order_by.xml | 0
.../select_pagination_with_offset_and_limit.xml | 0
...select_pagination_with_offset_and_row_count.xml | 0
.../select_pagination_with_row_count.xml | 0
...select_pagination_with_row_number_and_limit.xml | 0
...elect_pagination_with_row_number_not_at_end.xml | 0
.../select_pagination_with_top_and_limit.xml | 0
.../select_sharding_route_with_broadcast_table.xml | 0
.../select_sub_query_with_group_by.xml | 0
.../select_with_expression.xml | 0
.../select_with_force_index_join.xml | 0
.../cases/dql/dataset/empty_order_item.xml | 0
.../replica_query/postgresql/select_avg.xml | 0
.../postgresql/select_count_tilde_concat.xml | 0
.../postgresql/select_group_by_with_avg.xml | 0
.../replica_query}/select_alias_as_keyword.xml | 0
.../select_alias_as_single_quote_string.xml | 0
.../select_comparison_symbol_with_single_table.xml | 0
.../replica_query}/select_count_like_concat.xml | 0
.../select_count_with_binding_tables.xml | 0
.../replica_query/select_count_with_sub.xml | 0
.../select_count_with_sub_with_whitespace.xml | 0
.../select_distinct_with_count_group_by.xml | 0
.../select_distinct_with_multi_column.xml | 0
...distinct_with_multi_column_without_order_by.xml | 0
.../select_distinct_with_owner_column.xml | 0
.../select_distinct_with_owner_star.xml | 0
...t_distinct_with_owner_star_without_order_by.xml | 0
.../select_distinct_with_single_column.xml | 0
...istinct_with_single_column_without_order_by.xml | 0
.../select_distinct_with_single_count_group_by.xml | 0
.../replica_query/select_distinct_with_star.xml | 0
.../replica_query/select_distinct_with_sum.xml | 0
.../dataset/replica_query}/select_for_update.xml | 0
.../replica_query}/select_group_by_with_limit.xml | 0
.../replica_query/select_group_by_with_max.xml | 0
.../replica_query/select_group_by_with_sum.xml | 0
.../select_group_by_without_grouped_column.xml | 0
.../select_in_with_same_sharding_column.xml | 0
.../cases/dql/dataset/replica_query/select_max.xml | 0
.../select_not_equal_with_single_table.xml | 0
.../select_not_in_with_single_table.xml | 0
.../select_or_mix_and_for_complex_pattern.xml | 0
.../select_or_mix_and_for_simple_pattern.xml | 0
.../select_or_mix_and_with_binding_tables.xml | 0
.../select_or_with_different_sharding_columns.xml | 0
.../replica_query/select_order_by_with_date.xml | 0
.../select_order_by_with_ordered_column.xml | 0
.../select_order_by_with_star_table_alias.xml | 0
...order_by_with_table_star_without_table_name.xml | 0
..._pagination_with_diff_group_by_and_order_by.xml | 0
...elect_pagination_with_group_by_and_order_by.xml | 0
.../select_pagination_with_offset.xml | 0
...select_pagination_with_offset_and_row_count.xml | 0
.../select_pagination_with_row_count.xml | 0
...elect_pagination_with_row_number_not_at_end.xml | 0
.../select_sub_query_with_group_by.xml | 0
.../dql/dataset/replica_query}/select_sum.xml | 0
.../replica_query}/select_with_date_function.xml | 0
...tem_alias_match_order_by_and_group_by_items.xml | 0
.../dataset/replica_query/select_with_regexp.xml | 0
.../dql/dataset/select_with_interval_function.xml | 0
.../cases/dql/dataset/shadow/select_avg.xml | 0
.../cases/dql/dataset/shadow/select_count.xml | 0
.../dataset/shadow}/select_distinct_function.xml | 0
.../dataset/shadow/select_distinct_with_count.xml | 0
.../select_distinct_with_count_group_by.xml | 0
...distinct_with_multi_column_without_order_by.xml | 0
.../shadow}/select_distinct_with_owner_column.xml | 0
...distinct_with_owner_column_without_order_by.xml | 0
...t_distinct_with_owner_star_without_order_by.xml | 0
.../shadow}/select_equal_with_single_table.xml | 0
.../dql/dataset/shadow}/select_for_update.xml | 0
.../dataset/shadow/select_from_shadow_false.xml | 0
.../dql/dataset/shadow/select_from_shadow_true.xml | 0
.../select_from_shadow_with_condition_true.xml | 0
.../dataset/shadow/select_group_by_with_limit.xml | 0
.../dataset/shadow}/select_group_by_with_min.xml | 0
.../select_group_by_with_order_by_and_limit.xml | 0
.../select_group_by_without_grouped_column.xml | 0
.../select_in_with_same_sharding_column.xml | 0
.../dql/dataset/shadow}/select_inner_join.xml | 0
.../cases/dql/dataset/shadow}/select_max.xml | 0
.../shadow/select_not_equal_with_single_table.xml | 0
.../shadow/select_not_in_with_single_table.xml | 0
.../select_or_mix_and_for_complex_pattern.xml | 0
.../select_or_mix_and_for_simple_pattern.xml | 0
...r_mix_and_with_binding_and_broadcast_tables.xml | 0
.../select_or_with_different_sharding_columns.xml | 0
.../shadow}/select_order_by_asc_and_index_desc.xml | 0
.../dataset/shadow/select_order_by_with_date.xml | 0
.../shadow/select_order_by_with_multiple_stars.xml | 0
.../select_order_by_with_ordered_column.xml | 0
.../select_order_by_with_table_star_table_name.xml | 0
...elect_pagination_with_group_by_and_order_by.xml | 0
.../shadow}/select_pagination_with_offset.xml | 0
.../shadow/select_pagination_with_row_count.xml | 0
...select_pagination_with_row_number_and_limit.xml | 0
.../select_sharding_route_with_binding_tables.xml | 0
.../cases/dql/dataset/shadow}/select_sum.xml | 0
.../dataset/shadow}/select_with_date_function.xml | 0
...tem_alias_match_order_by_and_group_by_items.xml | 0
.../tbl/postgresql/select_count_tilde_concat.xml | 0
.../tbl/select_alias_as_single_quote_string.xml | 0
.../integrate/cases/dql/dataset/tbl/select_avg.xml | 0
.../tbl/select_between_with_single_table.xml | 0
.../dql/dataset/tbl/select_count_like_concat.xml | 0
.../tbl/select_count_with_binding_tables.xml | 0
.../dql/dataset/tbl/select_count_with_sub.xml | 0
.../dql/dataset/tbl/select_distinct_with_avg.xml | 0
.../dql/dataset/tbl/select_distinct_with_count.xml | 0
.../select_distinct_with_count_calculation.xml | 0
.../tbl}/select_distinct_with_count_sum.xml | 0
.../tbl/select_distinct_with_multi_column.xml | 0
...distinct_with_owner_column_without_order_by.xml | 0
.../tbl/select_distinct_with_owner_star.xml | 0
...t_distinct_with_owner_star_without_order_by.xml | 0
.../select_distinct_with_single_count_group_by.xml | 0
.../dql/dataset/tbl}/select_distinct_with_sum.xml | 0
.../tbl}/select_equal_with_single_table.xml | 0
.../cases/dql/dataset/tbl/select_for_update.xml | 0
.../dql/dataset/tbl/select_group_by_with_count.xml | 0
.../tbl/select_group_by_with_keyword_alias.xml | 0
.../dataset/tbl}/select_group_by_with_limit.xml | 0
.../dql/dataset/tbl/select_group_by_with_sum.xml | 0
.../tbl}/select_in_with_same_sharding_column.xml | 0
.../dataset/tbl}/select_in_with_single_table.xml | 0
.../cases/dql/dataset/tbl/select_inner_join.xml | 0
.../tbl}/select_or_mix_and_for_complex_pattern.xml | 0
.../tbl/select_or_mix_and_for_simple_pattern.xml | 0
.../tbl/select_or_with_none_sharding_columns.xml | 0
.../tbl/select_order_by_desc_and_index_asc.xml | 0
.../select_order_by_with_alias_star_alias_name.xml | 0
.../dql/dataset/tbl/select_order_by_with_date.xml | 0
.../tbl/select_order_by_with_ordered_column.xml | 0
.../tbl/select_order_by_with_star_table_alias.xml | 0
...order_by_with_table_star_without_table_name.xml | 0
...elect_pagination_with_group_by_and_order_by.xml | 0
.../select_pagination_with_offset_and_limit.xml | 0
...select_pagination_with_offset_and_row_count.xml | 0
.../tbl/select_pagination_with_row_count.xml | 0
...elect_pagination_with_row_number_not_at_end.xml | 0
.../dataset/tbl/select_sub_query_with_group_by.xml | 0
.../tbl/select_sub_query_with_multiple_tables.xml | 0
.../dataset/tbl/select_sub_query_with_order_by.xml | 0
.../dql/dataset/tbl/select_with_date_function.xml | 0
.../cases/dql/dql-integrate-test-cases.xml | 0
.../test/resources/integrate/env-docker.properties | 0
.../test/resources/integrate/env/db/dataset.xml | 0
.../resources/integrate/env/shadow/dataset.xml | 0
.../test/resources/integrate/env/tbl/authority.xml | 0
.../test/resources/integrate/env/tbl/schema.xml | 0
.../test/resources/integrate/profile.properties | 0
.../shardingsphere-test-suite/Dockerfile | 27 -
.../assembly/shardingsphere-proxy-assembly.xml | 40 --
.../cases/IntegrateTestCaseContext.java | 34 --
.../cases/IntegrateTestCasesLoader.java | 112 ----
.../test/integration/cases/SQLCommandType.java | 78 ---
.../cases/assertion/IntegrateTestCase.java | 46 --
.../test/integration/cases/dataset/DataSet.java | 91 ---
.../integration/cases/dataset/DataSetLoader.java | 70 ---
.../cases/dataset/metadata/DataSetColumn.java | 39 --
.../cases/dataset/metadata/DataSetIndex.java | 40 --
.../cases/dataset/metadata/DataSetMetadata.java | 46 --
.../integration/cases/dataset/row/DataSetRow.java | 51 --
.../test/integration/cases/value/SQLValue.java | 70 ---
.../test/integration/engine/it/BaseIT.java | 86 ---
.../test/integration/engine/it/BatchIT.java | 188 ------
.../test/integration/engine/it/SingleIT.java | 69 ---
.../integration/engine/it/dcl/GeneralDCLIT.java | 68 ---
.../test/integration/engine/it/ddl/BaseDDLIT.java | 222 -------
.../integration/engine/it/ddl/GeneralDDLIT.java | 72 ---
.../test/integration/engine/it/dml/BaseDMLIT.java | 159 -----
.../test/integration/engine/it/dml/BatchDMLIT.java | 109 ----
.../integration/engine/it/dml/GeneralDMLIT.java | 120 ----
.../integration/engine/it/dql/AdditionalDQLIT.java | 183 ------
.../test/integration/engine/it/dql/BaseDQLIT.java | 140 -----
.../integration/engine/it/dql/GeneralDQLIT.java | 117 ----
.../engine/param/ParameterizedArrayFactory.java | 152 -----
.../param/domain/AssertionParameterizedArray.java | 56 --
.../engine/param/domain/ParameterizedArray.java | 31 -
.../test/integration/engine/watcher/ITWatcher.java | 35 --
.../test/integration/env/EnvironmentPath.java | 88 ---
.../integration/env/IntegrateTestEnvironment.java | 164 -----
.../env/authority/AuthorityEnvironment.java | 63 --
.../env/authority/AuthorityEnvironmentManager.java | 95 ---
.../env/dataset/DataSetEnvironmentManager.java | 225 -------
.../env/datasource/builder/DataSourceCacheKey.java | 34 --
.../datasource/builder/ProxyDataSourceBuilder.java | 67 ---
.../integration/env/schema/SchemaEnvironment.java | 46 --
.../env/schema/SchemaEnvironmentManager.java | 204 -------
.../resources/docker/db/proxy/conf/logback.xml | 33 -
.../resources/docker/db/proxy/conf/server.yaml | 44 --
.../dbtbl_with_replica_query/docker-compose.yml | 52 --
.../docker/dbtbl_with_replica_query/mysql/init.sql | 460 --------------
.../conf/config-dbtbl-with-replica-query.yaml | 325 ----------
.../proxy/conf/logback.xml | 33 -
.../proxy/conf/server.yaml | 44 --
.../resources/docker/replica_query/mysql/init.sql | 30 -
.../proxy/conf/config-replica-query.yaml | 60 --
.../docker/replica_query/proxy/conf/logback.xml | 33 -
.../test/resources/docker/tbl/docker-compose.yml | 52 --
.../src/test/resources/docker/tbl/mysql/init.sql | 42 --
.../docker/tbl/proxy/conf/config-tbl.yaml | 65 --
.../resources/docker/tbl/proxy/conf/logback.xml | 33 -
.../cases/dcl/dcl-integrate-test-cases.xml | 181 ------
.../cases/ddl/dataset/db/create_index.xml | 24 -
.../cases/ddl/dataset/db/create_table.xml | 23 -
.../integrate/cases/ddl/dataset/db/drop_table.xml | 20 -
.../dbtbl_with_replica_query/alter_table.xml | 24 -
.../dbtbl_with_replica_query/create_table.xml | 23 -
.../create_unique_index.xml | 24 -
.../dbtbl_with_replica_query/drop_table.xml | 20 -
.../dbtbl_with_replica_query/unchanged_table.xml | 23 -
.../ddl/dataset/replica_query/alter_table.xml | 24 -
.../ddl/dataset/replica_query/create_index.xml | 24 -
.../ddl/dataset/replica_query/create_table.xml | 23 -
.../cases/ddl/dataset/shadow/alter_table.xml | 24 -
.../cases/ddl/dataset/shadow/create_index.xml | 24 -
.../cases/ddl/dataset/shadow/unchanged_table.xml | 23 -
.../cases/ddl/dataset/tbl/create_index.xml | 24 -
.../cases/ddl/dataset/tbl/create_unique_index.xml | 24 -
.../integrate/cases/ddl/dataset/tbl/drop_table.xml | 20 -
.../cases/ddl/dataset/tbl/unchanged_table.xml | 23 -
.../cases/ddl/ddl-integrate-test-cases.xml | 68 ---
.../dml/dataset/db/batch_insert_for_order.xml | 66 --
.../batch_insert_without_generate_key_column.xml | 108 ----
.../cases/dml/dataset/db/delete_with_alias.xml | 24 -
.../dml/dataset/db/delete_with_sharding_value.xml | 63 --
.../cases/dml/dataset/db/insert_for_order_1_2.xml | 106 ----
.../db/insert_multiple_values_for_order_1_2.xml | 66 --
.../dataset/db/insert_on_duplicate_key_update.xml | 64 --
.../dml/dataset/db/insert_with_now_function.xml | 107 ----
.../batch_insert_for_order.xml | 226 -------
.../batch_insert_without_generate_key_column.xml | 428 -------------
.../dbtbl_with_replica_query/delete_with_alias.xml | 124 ----
.../delete_with_sharding_value.xml | 223 -------
.../insert_for_order_1.xml | 225 -------
.../insert_with_now_function.xml | 427 -------------
.../dataset/dbtbl_with_replica_query/update.xml | 224 -------
.../update_with_column_equal_column.xml | 224 -------
.../replica_query/batch_insert_for_order.xml | 146 -----
.../batch_insert_with_generate_key_column.xml | 268 ---------
.../batch_insert_without_generate_key_column.xml | 268 ---------
.../dataset/replica_query/delete_with_alias.xml | 24 -
.../dataset/replica_query/insert_for_order_1.xml | 145 -----
.../dataset/replica_query/insert_for_order_1_2.xml | 266 ---------
.../insert_multiple_values_for_order_1_2.xml | 66 --
.../insert_on_duplicate_key_update.xml | 144 -----
.../replica_query/insert_with_now_function.xml | 267 ---------
.../insert_without_generate_key_column.xml | 267 ---------
.../dml/dataset/shadow/batch_insert_for_order.xml | 66 --
.../batch_insert_with_generate_key_column.xml | 108 ----
.../batch_insert_without_generate_key_column.xml | 108 ----
.../cases/dml/dataset/shadow/delete_with_alias.xml | 24 -
.../shadow/delete_without_sharding_value.xml | 24 -
.../dml/dataset/shadow/insert_for_order_2.xml | 65 --
.../insert_multiple_values_for_order_1_2.xml | 66 --
.../shadow/insert_on_duplicate_key_update.xml | 64 --
.../dataset/shadow/insert_with_now_function.xml | 107 ----
.../shadow/insert_without_generate_key_column.xml | 107 ----
.../shadow/update_with_column_equal_column.xml | 64 --
.../dataset/shadow/update_without_condition.xml | 64 --
.../dml/dataset/tbl/batch_insert_for_order.xml | 46 --
.../cases/dml/dataset/tbl/delete_with_alias.xml | 24 -
.../dml/dataset/tbl/delete_with_sharding_value.xml | 43 --
.../dataset/tbl/delete_without_sharding_value.xml | 24 -
.../cases/dml/dataset/tbl/insert_for_order_1_2.xml | 66 --
.../cases/dml/dataset/tbl/insert_for_order_2.xml | 45 --
.../tbl/insert_multiple_values_for_order_1_2.xml | 46 --
.../dataset/tbl/insert_on_duplicate_key_update.xml | 44 --
.../dml/dataset/tbl/insert_with_now_function.xml | 67 ---
.../integrate/cases/dml/dataset/tbl/update.xml | 44 --
.../tbl/update_with_column_equal_column.xml | 44 --
.../dml/dataset/tbl/update_without_condition.xml | 44 --
.../db/postgresql/select_count_tilde_concat.xml | 23 -
.../dql/dataset/db/select_alias_as_keyword.xml | 23 -
.../db/select_alias_as_single_quote_string.xml | 62 --
.../integrate/cases/dql/dataset/db/select_avg.xml | 23 -
.../db/select_between_with_single_table.xml | 26 -
.../select_comparison_symbol_with_single_table.xml | 26 -
.../cases/dql/dataset/db/select_count.xml | 23 -
.../dql/dataset/db/select_count_like_concat.xml | 23 -
.../db/select_count_with_binding_tables.xml | 23 -
.../cases/dql/dataset/db/select_count_with_sub.xml | 23 -
.../db/select_count_with_sub_with_whitespace.xml | 23 -
.../dql/dataset/db/select_distinct_function.xml | 102 ----
.../dql/dataset/db/select_distinct_with_avg.xml | 23 -
.../dql/dataset/db/select_distinct_with_count.xml | 23 -
.../db/select_distinct_with_count_calculation.xml | 23 -
.../dataset/db/select_distinct_with_count_sum.xml | 24 -
.../db/select_distinct_with_multi_column.xml | 64 --
.../db/select_distinct_with_owner_column.xml | 62 --
..._distinct_with_owner_column_without_oder_by.xml | 62 --
.../dataset/db/select_distinct_with_owner_star.xml | 65 --
.../db/select_distinct_with_single_column.xml | 102 ----
...istinct_with_single_column_without_order_by.xml | 102 ----
.../select_distinct_with_single_count_group_by.xml | 25 -
.../dql/dataset/db/select_distinct_with_star.xml | 61 --
.../dql/dataset/db/select_distinct_with_sum.xml | 23 -
.../dataset/db/select_equal_with_single_table.xml | 25 -
.../cases/dql/dataset/db/select_for_update.xml | 26 -
.../db/select_full_route_with_binding_tables.xml | 107 ----
.../dql/dataset/db/select_group_by_with_avg.xml | 43 --
.../dql/dataset/db/select_group_by_with_count.xml | 43 --
...ect_group_by_with_count_without_column_name.xml | 43 --
.../db/select_group_by_with_date_function.xml | 24 -
.../db/select_group_by_with_key_word_alias.xml | 43 --
.../db/select_group_by_with_keyword_alias.xml | 43 --
.../dql/dataset/db/select_group_by_with_limit.xml | 23 -
.../dql/dataset/db/select_group_by_with_max.xml | 43 --
.../dql/dataset/db/select_group_by_with_min.xml | 43 --
.../db/select_group_by_with_order_by_and_limit.xml | 24 -
.../db/select_group_by_with_order_by_desc.xml | 43 --
.../dql/dataset/db/select_group_by_with_sum.xml | 43 --
.../db/select_group_by_without_grouped_column.xml | 24 -
.../db/select_in_with_same_sharding_column.xml | 25 -
.../dql/dataset/db/select_in_with_single_table.xml | 25 -
.../integrate/cases/dql/dataset/db/select_min.xml | 23 -
.../db/select_not_equal_with_single_table.xml | 105 ----
.../dataset/db/select_not_in_with_single_table.xml | 105 ----
.../db/select_or_mix_and_for_simple_pattern.xml | 26 -
.../db/select_or_mix_and_with_binding_tables.xml | 28 -
.../select_or_with_different_sharding_columns.xml | 27 -
.../db/select_or_with_none_sharding_columns.xml | 64 --
.../db/select_or_with_same_sharding_columns.xml | 26 -
.../db/select_order_by_desc_and_index_asc.xml | 106 ----
.../select_order_by_with_alias_star_alias_name.xml | 64 --
.../dql/dataset/db/select_order_by_with_date.xml | 106 ----
.../db/select_order_by_with_multiple_stars.xml | 68 ---
.../select_order_by_with_star_no_table_alias.xml | 64 --
.../db/select_order_by_with_star_table_alias.xml | 64 --
.../select_order_by_with_table_star_table_name.xml | 64 --
...order_by_with_table_star_without_table_name.xml | 109 ----
..._pagination_with_diff_group_by_and_order_by.xml | 23 -
...elect_pagination_with_group_by_and_order_by.xml | 29 -
.../db/select_pagination_with_offset_and_limit.xml | 28 -
...select_pagination_with_offset_and_row_count.xml | 28 -
.../db/select_pagination_with_row_count.xml | 28 -
...select_pagination_with_row_number_and_limit.xml | 28 -
...elect_pagination_with_row_number_not_at_end.xml | 44 --
.../db/select_pagination_with_top_and_limit.xml | 28 -
.../dataset/db/select_sub_query_with_group_by.xml | 23 -
.../db/select_sub_query_with_multiple_tables.xml | 30 -
.../dataset/db/select_sub_query_with_order_by.xml | 23 -
.../integrate/cases/dql/dataset/db/select_sum.xml | 23 -
.../dql/dataset/db/select_with_case_expression.xml | 27 -
.../dql/dataset/db/select_with_date_function.xml | 102 ----
.../dql/dataset/db/select_with_expression.xml | 62 --
.../dataset/db/select_with_force_index_join.xml | 28 -
...tem_alias_match_order_by_and_group_by_items.xml | 42 --
.../cases/dql/dataset/db/select_with_regexp.xml | 27 -
.../postgresql/select_count_tilde_concat.xml | 23 -
.../select_alias_as_keyword.xml | 23 -
.../select_between_with_single_table.xml | 34 --
.../select_comparison_symbol_with_single_table.xml | 34 --
.../dbtbl_with_replica_query/select_count.xml | 23 -
.../select_count_like_concat.xml | 23 -
.../select_count_with_binding_tables.xml | 23 -
.../select_count_with_sub_with_whitespace.xml | 23 -
.../select_distinct_function.xml | 222 -------
.../select_distinct_with_avg.xml | 23 -
.../select_distinct_with_count.xml | 23 -
.../select_distinct_with_owner_column.xml | 122 ----
.../select_distinct_with_single_count_group_by.xml | 33 -
.../select_equal_with_single_table.xml | 25 -
.../dbtbl_with_replica_query/select_for_update.xml | 34 --
.../select_group_by_with_avg.xml | 33 -
...ect_group_by_with_count_without_column_name.xml | 33 -
.../select_group_by_with_date_function.xml | 24 -
.../select_group_by_with_key_word_alias.xml | 33 -
.../select_group_by_with_limit.xml | 23 -
.../select_group_by_with_max.xml | 33 -
.../select_group_by_with_min.xml | 33 -
.../select_group_by_with_order_by_and_limit.xml | 24 -
.../select_group_by_with_order_by_desc.xml | 33 -
.../select_group_by_with_sum.xml | 33 -
.../select_group_by_without_grouped_column.xml | 24 -
.../select_in_with_single_table.xml | 25 -
.../dbtbl_with_replica_query/select_inner_join.xml | 28 -
.../dbtbl_with_replica_query/select_min.xml | 23 -
.../select_not_equal_with_single_table.xml | 225 -------
.../select_not_in_with_single_table.xml | 224 -------
.../select_or_mix_and_for_complex_pattern.xml | 24 -
.../select_or_mix_and_for_simple_pattern.xml | 24 -
...r_mix_and_with_binding_and_broadcast_tables.xml | 26 -
.../select_or_with_different_sharding_columns.xml | 35 --
.../select_or_with_none_sharding_columns.xml | 25 -
.../select_or_with_same_sharding_columns.xml | 26 -
.../select_order_by_asc_and_index_desc.xml | 124 ----
.../select_order_by_desc_and_index_asc.xml | 26 -
.../select_order_by_with_alias_star_alias_name.xml | 124 ----
.../select_order_by_with_date.xml | 26 -
...order_by_with_table_star_without_table_name.xml | 229 -------
..._pagination_with_diff_group_by_and_order_by.xml | 23 -
.../select_pagination_with_offset.xml | 60 --
.../select_pagination_with_offset_fetch.xml | 44 --
.../select_sharding_route_with_binding_tables.xml | 66 --
.../select_sharding_route_with_broadcast_table.xml | 26 -
.../select_sub_query_with_multiple_tables.xml | 30 -
.../select_sub_query_with_order_by.xml | 23 -
.../dbtbl_with_replica_query/select_sum.xml | 23 -
.../select_with_case_expression.xml | 27 -
.../select_with_date_function.xml | 222 -------
...tem_alias_match_order_by_and_group_by_items.xml | 32 -
.../select_with_regexp.xml | 28 -
.../integrate/cases/dql/dataset/empty_order.xml | 24 -
.../dql/dataset/replica_query/mysql/select_avg.xml | 23 -
.../postgresql/select_count_tilde_concat.xml | 23 -
.../replica_query/select_alias_as_keyword.xml | 23 -
.../cases/dql/dataset/replica_query/select_avg.xml | 23 -
.../select_between_with_single_table.xml | 26 -
.../dql/dataset/replica_query/select_count.xml | 23 -
.../replica_query/select_count_like_concat.xml | 23 -
.../select_count_with_binding_tables.xml | 23 -
.../select_count_with_sub_with_whitespace.xml | 23 -
.../replica_query/select_distinct_with_avg.xml | 23 -
.../replica_query/select_distinct_with_count.xml | 23 -
.../select_distinct_with_count_calculation.xml | 23 -
.../select_distinct_with_count_sum.xml | 24 -
...distinct_with_owner_column_without_order_by.xml | 62 --
.../select_distinct_with_single_column.xml | 102 ----
.../select_distinct_with_single_count_group_by.xml | 25 -
.../select_full_route_with_binding_tables.xml | 106 ----
.../replica_query/select_group_by_with_avg.xml | 43 --
.../replica_query/select_group_by_with_count.xml | 43 --
.../select_group_by_with_keyword_alias.xml | 43 --
.../select_group_by_with_order_by_and_limit.xml | 24 -
.../select_group_by_with_order_by_desc.xml | 43 --
.../dataset/replica_query/select_inner_join.xml | 28 -
.../cases/dql/dataset/replica_query/select_min.xml | 23 -
.../select_or_with_same_sharding_columns.xml | 26 -
.../select_order_by_asc_and_index_desc.xml | 64 --
.../select_order_by_desc_and_index_asc.xml | 26 -
.../select_order_by_with_alias_star_alias_name.xml | 64 --
.../select_order_by_with_multiple_stars.xml | 62 --
.../select_order_by_with_star_no_table_alias.xml | 64 --
.../select_order_by_with_table_star_table_name.xml | 64 --
.../select_pagination_with_offset_and_limit.xml | 28 -
.../select_pagination_with_offset_fetch.xml | 44 --
...select_pagination_with_row_number_and_limit.xml | 28 -
.../select_pagination_with_top_and_limit.xml | 28 -
.../select_sharding_route_with_binding_tables.xml | 34 --
.../select_sharding_route_with_broadcast_table.xml | 26 -
.../select_sub_query_with_multiple_tables.xml | 30 -
.../select_sub_query_with_order_by.xml | 23 -
.../replica_query/select_with_case_expression.xml | 24 -
.../replica_query/select_with_expression.xml | 62 --
.../replica_query/select_with_force_index_join.xml | 28 -
.../dql/dataset/select_constant_without_table.xml | 23 -
.../dql/dataset/select_special_function_nested.xml | 23 -
.../shadow/select_between_with_single_table.xml | 26 -
.../select_comparison_symbol_with_single_table.xml | 26 -
.../select_distinct_with_count_calculation.xml | 23 -
.../shadow/select_distinct_with_owner_star.xml | 65 --
...istinct_with_single_column_without_order_by.xml | 102 ----
.../select_from_actual_without_shadow_column.xml | 26 -
.../select_from_shadow_with_condition_false.xml | 26 -
.../select_full_route_with_binding_tables.xml | 106 ----
.../dataset/shadow/select_group_by_with_avg.xml | 43 --
.../dataset/shadow/select_group_by_with_count.xml | 43 --
.../shadow/select_group_by_with_order_by_desc.xml | 43 --
.../cases/dql/dataset/shadow/select_min.xml | 23 -
.../select_or_with_none_sharding_columns.xml | 64 --
.../select_or_with_same_sharding_columns.xml | 26 -
.../select_order_by_with_alias_star_alias_name.xml | 64 --
.../select_order_by_with_star_no_table_alias.xml | 64 --
.../select_order_by_with_star_table_alias.xml | 64 --
...order_by_with_table_star_without_table_name.xml | 109 ----
.../select_pagination_with_offset_and_limit.xml | 28 -
.../select_pagination_with_top_and_limit.xml | 28 -
.../dataset/shadow/select_with_case_expression.xml | 27 -
.../dql/dataset/shadow/select_with_expression.xml | 62 --
.../dql/dataset/shadow/select_with_regexp.xml | 27 -
.../select_comparison_symbol_with_single_table.xml | 34 --
.../cases/dql/dataset/tbl/select_count.xml | 23 -
.../tbl/select_count_with_sub_with_whitespace.xml | 23 -
.../dql/dataset/tbl/select_distinct_function.xml | 62 --
.../tbl/select_distinct_with_count_group_by.xml | 43 --
...distinct_with_multi_column_without_order_by.xml | 44 --
.../tbl/select_distinct_with_owner_column.xml | 42 --
.../tbl/select_distinct_with_single_column.xml | 62 --
...istinct_with_single_column_without_order_by.xml | 62 --
.../dql/dataset/tbl/select_distinct_with_star.xml | 33 -
.../tbl/select_full_route_with_binding_tables.xml | 66 --
.../dql/dataset/tbl/select_group_by_with_avg.xml | 25 -
...ect_group_by_with_count_without_column_name.xml | 25 -
.../tbl/select_group_by_with_date_function.xml | 25 -
.../tbl/select_group_by_with_key_word_alias.xml | 25 -
.../dql/dataset/tbl/select_group_by_with_max.xml | 25 -
.../dql/dataset/tbl/select_group_by_with_min.xml | 25 -
.../select_group_by_with_order_by_and_limit.xml | 24 -
.../tbl/select_group_by_with_order_by_desc.xml | 25 -
.../integrate/cases/dql/dataset/tbl/select_max.xml | 23 -
.../tbl/select_not_equal_with_single_table.xml | 65 --
.../tbl/select_not_in_with_single_table.xml | 64 --
...r_mix_and_with_binding_and_broadcast_tables.xml | 28 -
.../tbl/select_or_mix_and_with_binding_tables.xml | 28 -
.../select_or_with_different_sharding_columns.xml | 35 --
.../tbl/select_or_with_same_sharding_columns.xml | 26 -
.../tbl/select_order_by_asc_and_index_desc.xml | 44 --
.../tbl/select_order_by_with_multiple_stars.xml | 48 --
.../select_order_by_with_star_no_table_alias.xml | 44 --
.../select_order_by_with_table_star_table_name.xml | 44 --
..._pagination_with_diff_group_by_and_order_by.xml | 22 -
.../dataset/tbl/select_pagination_with_offset.xml | 40 --
.../tbl/select_pagination_with_offset_fetch.xml | 44 --
...select_pagination_with_row_number_and_limit.xml | 28 -
.../tbl/select_pagination_with_top_and_limit.xml | 28 -
.../select_sharding_route_with_binding_tables.xml | 66 --
.../select_sharding_route_with_broadcast_table.xml | 46 --
.../integrate/cases/dql/dataset/tbl/select_sum.xml | 23 -
.../dataset/tbl/select_with_case_expression.xml | 27 -
.../dql/dataset/tbl/select_with_expression.xml | 42 --
.../dataset/tbl/select_with_force_index_join.xml | 28 -
...tem_alias_match_order_by_and_group_by_items.xml | 24 -
.../cases/dql/dataset/tbl/select_with_regexp.xml | 28 -
.../test/resources/integrate/env-native.properties | 65 --
.../test/resources/integrate/env/db/authority.xml | 89 ---
.../src/test/resources/integrate/env/db/rules.yaml | 51 --
.../src/test/resources/integrate/env/db/schema.xml | 43 --
.../env/dbtbl_with_replica_query/authority.xml | 179 ------
.../env/dbtbl_with_replica_query/dataset.xml | 661 ---------------------
.../env/dbtbl_with_replica_query/rules.yaml | 121 ----
.../env/dbtbl_with_replica_query/schema.xml | 100 ----
.../integrate/env/replica_query/authority.xml | 71 ---
.../integrate/env/replica_query/dataset.xml | 405 -------------
.../integrate/env/replica_query/rules.yaml | 26 -
.../integrate/env/replica_query/schema.xml | 38 --
.../resources/integrate/env/shadow/authority.xml | 71 ---
.../test/resources/integrate/env/shadow/rules.yaml | 56 --
.../test/resources/integrate/env/shadow/schema.xml | 35 --
.../test/resources/integrate/env/tbl/dataset.xml | 96 ---
.../test/resources/integrate/env/tbl/rules.yaml | 51 --
.../src/test/resources/logback-test.xml | 33 -
680 files changed, 25 insertions(+), 24288 deletions(-)
diff --git a/docs/document/content/features/test-engine/integration-test-engine.cn.md b/docs/document/content/features/test-engine/integration-test-engine.cn.md
index df2800d..8766067 100644
--- a/docs/document/content/features/test-engine/integration-test-engine.cn.md
+++ b/docs/document/content/features/test-engine/integration-test-engine.cn.md
@@ -13,20 +13,20 @@ Junit 中的 `Parameterized` 会聚合起所有的测试数据,并将测试数
### 配置
- 环境类文件
- - /shardingsphere-test-suite/src/test/resources/integrate/env-native.properties
- - /shardingsphere-test-suite/src/test/resources/integrate/env/`SQL-TYPE`/dataset.xml
- - /shardingsphere-test-suite/src/test/resources/integrate/env/`SQL-TYPE`/schema.xml
+ - /shardingsphere-integration-test-suite/src/test/resources/integrate/env-native.properties
+ - /shardingsphere-integration-test-suite/src/test/resources/integrate/env/`SQL-TYPE`/dataset.xml
+ - /shardingsphere-integration-test-suite/src/test/resources/integrate/env/`SQL-TYPE`/schema.xml
- 测试用例类文件
- - /shardingsphere-test-suite/src/test/resources/integrate/cases/`SQL-TYPE`/`SQL-TYPE`-integrate-test-cases.xml
- - /shardingsphere-test-suite/src/test/resources/integrate/cases/`SQL-TYPE`/dataset/`FEATURE-TYPE`/*.xml
+ - /shardingsphere-integration-test-suite/src/test/resources/integrate/cases/`SQL-TYPE`/`SQL-TYPE`-integrate-test-cases.xml
+ - /shardingsphere-integration-test-suite/src/test/resources/integrate/cases/`SQL-TYPE`/dataset/`FEATURE-TYPE`/*.xml
- sql-case 文件
- - /sharding-sql-test/src/main/resources/sql/sharding/`SQL-TYPE`/*.xml
+ - /shardingsphere-integration-test-suite/src/main/resources/sql/sharding/`SQL-TYPE`/*.xml
### 环境配置
集成测试需要真实的数据库环境,根据相应的配置文件创建测试环境:
-首先,修改配置文件 `/shardingsphere-test-suite/src/test/resources/integrate/env-native.properties` ,例子如下:
+首先,修改配置文件 `/shardingsphere-integration-test-suite/src/test/resources/integrate/env-native.properties` ,例子如下:
```properties
# 测试主键,并发,column index等的开关
@@ -63,7 +63,7 @@ it.oracle.username=jdbc
it.oracle.password=jdbc
```
-其次,修改文件 `/shardingsphere-test-suite/src/test/resources/integrate/env/SQL-TYPE/dataset.xml`
+其次,修改文件 `/shardingsphere-integration-test-suite/src/test/resources/integrate/env/SQL-TYPE/dataset.xml`
在`dataset.xml`文件中定义元数据和测试数据。例如:
```xml
@@ -92,7 +92,7 @@ it.oracle.password=jdbc
`env-native.properties` 与 `dataset.xml ` 确定了什么SQL在什么环境执行,下面是断言数据的配置:
-断言的配置,需要两种文件,第一类文件位于 `/shardingsphere-test-suite/src/test/resources/integrate/cases/SQL-TYPE/SQL-TYPE-integrate-test-cases.xml`
+断言的配置,需要两种文件,第一类文件位于 `/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/SQL-TYPE/SQL-TYPE-integrate-test-cases.xml`
这个文件类似于一个索引,定义了要执行的SQL,参数以及期待的数据的文件位置。这里的 test-case 引用的就是`sharding-sql-test`中 SQL 对应的`sql-case-id`,例子如下:
```xml
@@ -103,7 +103,7 @@ it.oracle.password=jdbc
</dml-test-case>
</integrate-test-cases>
```
-还有一类文件 -- 断言数据,也就是上面配置中的 expected-data-file 对应的文件,文件在 `/shardingsphere-test-suite/src/test/resources/integrate/cases/SQL-TYPE/dataset/FEATURE-TYPE/*.xml`
+还有一类文件 -- 断言数据,也就是上面配置中的 expected-data-file 对应的文件,文件在 `/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/SQL-TYPE/dataset/FEATURE-TYPE/*.xml`
这个文件内容跟 dataset.xml 很相似,只不过`expected-data-file`文件中不仅定义了断言的数据,还有相应SQL执行后的返回值等。例如:
```xml
diff --git a/docs/document/content/features/test-engine/integration-test-engine.en.md b/docs/document/content/features/test-engine/integration-test-engine.en.md
index 5abc61b..ddc1c1f 100644
--- a/docs/document/content/features/test-engine/integration-test-engine.en.md
+++ b/docs/document/content/features/test-engine/integration-test-engine.en.md
@@ -12,12 +12,12 @@ The `Parameterized` in JUnit will collect all test data, and pass to test method
### Configuration
- environment type
- - /shardingsphere-test-suite/src/test/resources/integrate/env-native.properties
- - /shardingsphere-test-suite/src/test/resources/integrate/env/`SQL-TYPE`/dataset.xml
- - /shardingsphere-test-suite/src/test/resources/integrate/env/`SQL-TYPE`/schema.xml
+ - /shardingsphere-integration-test-suite/src/test/resources/integrate/env-native.properties
+ - /shardingsphere-integration-test-suite/src/test/resources/integrate/env/`SQL-TYPE`/dataset.xml
+ - /shardingsphere-integration-test-suite/src/test/resources/integrate/env/`SQL-TYPE`/schema.xml
- test case type
- - /shardingsphere-test-suite/src/test/resources/integrate/cases/`SQL-TYPE`/`SQL-TYPE`-integrate-test-cases.xml
- - /shardingsphere-test-suite/src/test/resources/integrate/cases/`SQL-TYPE`/dataset/`FEATURE-TYPE`/*.xml
+ - /shardingsphere-integration-test-suite/src/test/resources/integrate/cases/`SQL-TYPE`/`SQL-TYPE`-integrate-test-cases.xml
+ - /shardingsphere-integration-test-suite/src/test/resources/integrate/cases/`SQL-TYPE`/dataset/`FEATURE-TYPE`/*.xml
- sql-case
- /sharding-sql-test/src/main/resources/sql/sharding/`SQL-TYPE`/*.xml
@@ -25,7 +25,7 @@ The `Parameterized` in JUnit will collect all test data, and pass to test method
Integration test depends on existed database environment, developer need to setup the configuration file for corresponding database to test:
-Firstly, setup configuration file `/shardingsphere-test-suite/src/test/resources/integrate/env-native.properties`, for example:
+Firstly, setup configuration file `/shardingsphere-integration-test-suite/src/test/resources/integrate/env-native.properties`, for example:
```properties
# the switch for PK, concurrent, column index testing and so on
@@ -62,7 +62,7 @@ it.oracle.username=jdbc
it.oracle.password=jdbc
```
-Secondly, setup configuration file `/shardingsphere-test-suite/src/test/resources/integrate/env/SQL-TYPE/dataset.xml`.
+Secondly, setup configuration file `/shardingsphere-integration-test-suite/src/test/resources/integrate/env/SQL-TYPE/dataset.xml`.
Developer can set up metadata and expected data to start the data initialization in `dataset.xml`. For example:
```xml
@@ -89,8 +89,8 @@ Developer can customize DDL to create databases and tables in `schema.xml`.
### Assertion Configuration
-So far have confirmed what kind of sql execute in which environment in upon config, here define the data for assert.
-There are two kinds of config for assert, one is at `/shardingsphere-test-suite/src/test/resources/integrate/cases/SQL-TYPE/SQL-TYPE-integrate-test-cases.xml`.
+So far have confirmed what kind of sql execute in which environment in upon configuration, here define the data for assert.
+There are two kinds of config for assert, one is at `/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/SQL-TYPE/SQL-TYPE-integrate-test-cases.xml`.
This file just like an index, defined the sql, parameters and expected index position for execution. the SQL is the value for `sql-case-id`. For example:
```xml
@@ -102,7 +102,7 @@ This file just like an index, defined the sql, parameters and expected index pos
</integrate-test-cases>
```
-Another kind of config for assert is the data, as known as the corresponding expected-data-file in SQL-TYPE-integrate-test-cases.xml, which is at `/shardingsphere-test-suite/src/test/resources/integrate/cases/SQL-TYPE/dataset/FEATURE-TYPE/*.xml`.
+Another kind of config for assert is the data, as known as the corresponding expected-data-file in SQL-TYPE-integrate-test-cases.xml, which is at `/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/SQL-TYPE/dataset/FEATURE-TYPE/*.xml`.
This file is very like the dataset.xml mentioned before, and the difference is that expected-data-file contains some other assert data, such as the return value after a sql execution. For examples:
```xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/pom.xml b/shardingsphere-test/shardingsphere-integration-test/pom.xml
index a1267ca..a357f68 100644
--- a/shardingsphere-test/shardingsphere-integration-test/pom.xml
+++ b/shardingsphere-test/shardingsphere-integration-test/pom.xml
@@ -28,8 +28,8 @@
<name>${project.artifactId}</name>
<modules>
- <module>shardingsphere-test-fixture</module>
- <module>shardingsphere-test-suite</module>
+ <module>shardingsphere-integration-test-fixture</module>
+ <module>shardingsphere-integration-test-suite</module>
</modules>
<properties>
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-fixture/pom.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-fixture/pom.xml
similarity index 96%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-fixture/pom.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-fixture/pom.xml
index d9dd89a..5929f70 100644
--- a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-fixture/pom.xml
+++ b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-fixture/pom.xml
@@ -25,7 +25,7 @@
<artifactId>shardingsphere-integration-test</artifactId>
<version>5.0.0-RC1-SNAPSHOT</version>
</parent>
- <artifactId>shardingsphere-test-fixture</artifactId>
+ <artifactId>shardingsphere-integration-test-fixture</artifactId>
<name>${project.artifactId}</name>
<dependencies>
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-fixture/src/test/java/org/apache/shardingsphere/test/integration/fixture/ConstantKeyGenerateAlgorithm.java b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-fixture/src/test/java/org/apache/shardingsphere/test/integration/fixture/ConstantKeyGenerateAlgorithm.java
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-fixture/src/test/java/org/apache/shardingsphere/test/integration/fixture/ConstantKeyGenerateAlgorithm.java
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-fixture/src/test/java/org/apache/shardingsphere/test/integration/fixture/ConstantKeyGenerateAlgorithm.java
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-fixture/src/test/java/org/apache/shardingsphere/test/integration/fixture/StandardModuloAlgorithm.java b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-fixture/src/test/java/org/apache/shardingsphere/test/integration/fixture/StandardModuloAlgorithm.java
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-fixture/src/test/java/org/apache/shardingsphere/test/integration/fixture/StandardModuloAlgorithm.java
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-fixture/src/test/java/org/apache/shardingsphere/test/integration/fixture/StandardModuloAlgorithm.java
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-fixture/src/test/resources/META-INF/services/org.apache.shardingsphere.sharding.spi.KeyGenerateAlgorithm b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-fixture/src/test/resources/META-INF/services/org.apache.shardingsphere.sharding.spi.KeyGenerateAlgorithm
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-fixture/src/test/resources/META-INF/services/org.apache.shardingsphere.sharding.spi.KeyGenerateAlgorithm
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-fixture/src/test/resources/META-INF/services/org.apache.shardingsphere.sharding.spi.KeyGenerateAlgorithm
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-fixture/src/test/resources/META-INF/services/org.apache.shardingsphere.sharding.spi.ShardingAlgorithm b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-fixture/src/test/resources/META-INF/services/org.apache.shardingsphere.sharding.spi.ShardingAlgorithm
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-fixture/src/test/resources/META-INF/services/org.apache.shardingsphere.sharding.spi.ShardingAlgorithm
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-fixture/src/test/resources/META-INF/services/org.apache.shardingsphere.sharding.spi.ShardingAlgorithm
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/pom.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/pom.xml
similarity index 98%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/pom.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/pom.xml
index a175a74..53746fe 100644
--- a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/pom.xml
+++ b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/pom.xml
@@ -23,7 +23,7 @@
<artifactId>shardingsphere-integration-test</artifactId>
<version>5.0.0-RC1-SNAPSHOT</version>
</parent>
- <artifactId>shardingsphere-test-suite</artifactId>
+ <artifactId>shardingsphere-integration-test-suite</artifactId>
<name>${project.artifactId}</name>
<dependencies>
@@ -39,7 +39,7 @@
</dependency>
<dependency>
<groupId>org.apache.shardingsphere</groupId>
- <artifactId>shardingsphere-test-fixture</artifactId>
+ <artifactId>shardingsphere-integration-test-fixture</artifactId>
<version>${project.version}</version>
<type>test-jar</type>
</dependency>
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/assembly/bin/start.sh b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/assembly/bin/start.sh
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/assembly/bin/start.sh
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/assembly/bin/start.sh
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/assembly/bin/stop.sh b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/assembly/bin/stop.sh
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/assembly/bin/stop.sh
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/assembly/bin/stop.sh
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/java/org/apache/shardingsphere/test/integration/cases/IntegrateTestCases.java b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/java/org/apache/shardingsphere/test/integration/cases/IntegrateTestCases.java
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/java/org/apache/shardingsphere/test/integration/cases/IntegrateTestCases.java
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/java/org/apache/shardingsphere/test/integration/cases/IntegrateTestCases.java
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/java/org/apache/shardingsphere/test/integration/cases/assertion/IntegrateTestCaseAssertion.java b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/java/org/apache/shardingsphere/test/integration/cases/assertion/IntegrateTestCaseAssertion.java
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/java/org/apache/shardingsphere/test/integration/cases/assertion/IntegrateTestCaseAssertion.java
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/java/org/apache/shardingsphere/test/integration/cases/assertion/IntegrateTestCaseAssertion.java
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/java/org/apache/shardingsphere/test/integration/cases/assertion/IntegrateTestCaseAssertionInitialSQL.java b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/java/org/apache/shardingsphere/test/integration/cases/assertion/IntegrateTestCaseAssertionInitialSQL.java
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/java/org/apache/shardingsphere/test/integration/cases/assertion/IntegrateTestCaseAssertionInitialSQL.java
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/java/org/apache/shardingsphere/test/integration/cases/assertion/IntegrateTestCaseAssertionInitialSQL.java
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/java/org/apache/shardingsphere/test/integration/cases/value/SQLValueGroup.java b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/java/org/apache/shardingsphere/test/integration/cases/value/SQLValueGroup.java
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/java/org/apache/shardingsphere/test/integration/cases/value/SQLValueGroup.java
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/java/org/apache/shardingsphere/test/integration/cases/value/SQLValueGroup.java
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/java/org/apache/shardingsphere/test/integration/engine/it/dcl/BaseDCLIT.java b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/java/org/apache/shardingsphere/test/integration/engine/it/dcl/BaseDCLIT.java
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/java/org/apache/shardingsphere/test/integration/engine/it/dcl/BaseDCLIT.java
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/java/org/apache/shardingsphere/test/integration/engine/it/dcl/BaseDCLIT.java
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/java/org/apache/shardingsphere/test/integration/engine/it/dml/AdditionalDMLIT.java b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/java/org/apache/shardingsphere/test/integration/engine/it/dml/AdditionalDMLIT.java
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/java/org/apache/shardingsphere/test/integration/engine/it/dml/AdditionalDMLIT.java
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/java/org/apache/shardingsphere/test/integration/engine/it/dml/AdditionalDMLIT.java
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/java/org/apache/shardingsphere/test/integration/engine/param/SQLExecuteType.java b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/java/org/apache/shardingsphere/test/integration/engine/param/SQLExecuteType.java
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/java/org/apache/shardingsphere/test/integration/engine/param/SQLExecuteType.java
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/java/org/apache/shardingsphere/test/integration/engine/param/SQLExecuteType.java
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/java/org/apache/shardingsphere/test/integration/engine/param/domain/CaseParameterizedArray.java b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/java/org/apache/shardingsphere/test/integration/engine/param/domain/CaseParameterizedArray.java
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/java/org/apache/shardingsphere/test/integration/engine/param/domain/CaseParameterizedArray.java
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/java/org/apache/shardingsphere/test/integration/engine/param/domain/CaseParameterizedArray.java
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/java/org/apache/shardingsphere/test/integration/env/IntegrateTestEnvironmentType.java b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/java/org/apache/shardingsphere/test/integration/env/IntegrateTestEnvironmentType.java
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/java/org/apache/shardingsphere/test/integration/env/IntegrateTestEnvironmentType.java
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/java/org/apache/shardingsphere/test/integration/env/IntegrateTestEnvironmentType.java
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/java/org/apache/shardingsphere/test/integration/env/authority/AuthoritySQLSet.java b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/java/org/apache/shardingsphere/test/integration/env/authority/AuthoritySQLSet.java
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/java/org/apache/shardingsphere/test/integration/env/authority/AuthoritySQLSet.java
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/java/org/apache/shardingsphere/test/integration/env/authority/AuthoritySQLSet.java
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/java/org/apache/shardingsphere/test/integration/env/datasource/DatabaseEnvironment.java b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/java/org/apache/shardingsphere/test/integration/env/datasource/DatabaseEnvironment.java
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/java/org/apache/shardingsphere/test/integration/env/datasource/DatabaseEnvironment.java
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/java/org/apache/shardingsphere/test/integration/env/datasource/DatabaseEnvironment.java
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/java/org/apache/shardingsphere/test/integration/env/datasource/builder/ActualDataSourceBuilder.java b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/java/org/apache/shardingsphere/test/integration/env/datasource/builder/ActualDataSourceBuilder.java
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/java/org/apache/shardingsphere/test/integration/env/datasource/builder/ActualDataSourceBuilder.java
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/java/org/apache/shardingsphere/test/integration/env/datasource/builder/ActualDataSourceBuilder.java
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/java/org/apache/shardingsphere/test/integration/env/datasource/builder/DataSourcePoolType.java b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/java/org/apache/shardingsphere/test/integration/env/datasource/builder/DataSourcePoolType.java
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/java/org/apache/shardingsphere/test/integration/env/datasource/builder/DataSourcePoolType.java
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/java/org/apache/shardingsphere/test/integration/env/datasource/builder/DataSourcePoolType.java
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/docker/db/docker-compose.yml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/docker/db/docker-compose.yml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/docker/db/docker-compose.yml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/docker/db/docker-compose.yml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/docker/db/mysql/init.sql b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/docker/db/mysql/init.sql
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/docker/db/mysql/init.sql
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/docker/db/mysql/init.sql
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/docker/db/proxy/conf/config-db.yaml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/docker/db/proxy/conf/config-db.yaml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/docker/db/proxy/conf/config-db.yaml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/docker/db/proxy/conf/config-db.yaml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/docker/tbl/proxy/conf/server.yaml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/docker/dbtbl_with_replica_query/proxy/conf/server.yaml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/docker/tbl/proxy/conf/server.yaml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/docker/dbtbl_with_replica_query/proxy/conf/server.yaml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/docker/replica_query/docker-compose.yml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/docker/replica_query/docker-compose.yml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/docker/replica_query/docker-compose.yml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/docker/replica_query/docker-compose.yml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/docker/replica_query/proxy/conf/server.yaml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/docker/replica_query/proxy/conf/server.yaml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/docker/replica_query/proxy/conf/server.yaml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/docker/replica_query/proxy/conf/server.yaml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/ddl/dataset/db/alter_table.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/ddl/dataset/db/alter_table.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/ddl/dataset/db/alter_table.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/ddl/dataset/db/alter_table.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/ddl/dataset/db/create_unique_index.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/ddl/dataset/db/create_unique_index.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/ddl/dataset/db/create_unique_index.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/ddl/dataset/db/create_unique_index.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/ddl/dataset/db/unchanged_table.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/ddl/dataset/db/unchanged_table.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/ddl/dataset/db/unchanged_table.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/ddl/dataset/db/unchanged_table.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/ddl/dataset/dbtbl_with_replica_query/create_index.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/ddl/dataset/dbtbl_with_replica_query/create_index.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/ddl/dataset/dbtbl_with_replica_query/create_index.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/ddl/dataset/dbtbl_with_replica_query/create_index.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/ddl/dataset/replica_query/create_unique_index.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/ddl/dataset/replica_query/create_unique_index.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/ddl/dataset/replica_query/create_unique_index.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/ddl/dataset/replica_query/create_unique_index.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/ddl/dataset/replica_query/drop_table.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/ddl/dataset/replica_query/drop_table.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/ddl/dataset/replica_query/drop_table.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/ddl/dataset/replica_query/drop_table.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/ddl/dataset/replica_query/unchanged_table.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/ddl/dataset/replica_query/unchanged_table.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/ddl/dataset/replica_query/unchanged_table.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/ddl/dataset/replica_query/unchanged_table.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/ddl/dataset/shadow/create_table.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/ddl/dataset/shadow/create_table.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/ddl/dataset/shadow/create_table.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/ddl/dataset/shadow/create_table.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/ddl/dataset/shadow/create_unique_index.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/ddl/dataset/shadow/create_unique_index.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/ddl/dataset/shadow/create_unique_index.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/ddl/dataset/shadow/create_unique_index.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/ddl/dataset/shadow/drop_table.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/ddl/dataset/shadow/drop_table.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/ddl/dataset/shadow/drop_table.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/ddl/dataset/shadow/drop_table.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/ddl/dataset/tbl/alter_table.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/ddl/dataset/tbl/alter_table.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/ddl/dataset/tbl/alter_table.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/ddl/dataset/tbl/alter_table.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/ddl/dataset/tbl/create_table.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/ddl/dataset/tbl/create_table.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/ddl/dataset/tbl/create_table.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/ddl/dataset/tbl/create_table.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dml/dataset/db/batch_insert_with_generate_key_column.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dml/dataset/db/batch_insert_with_generate_key_column.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dml/dataset/db/batch_insert_with_generate_key_column.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dml/dataset/db/batch_insert_with_generate_key_column.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dml/dataset/db/delete_without_sharding_value.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dml/dataset/db/delete_without_sharding_value.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dml/dataset/db/delete_without_sharding_value.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dml/dataset/db/delete_without_sharding_value.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dml/dataset/db/insert_for_order_1.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dml/dataset/db/insert_for_order_1.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dml/dataset/db/insert_for_order_1.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dml/dataset/db/insert_for_order_1.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dml/dataset/db/insert_for_order_2.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dml/dataset/db/insert_for_order_2.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dml/dataset/db/insert_for_order_2.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dml/dataset/db/insert_for_order_2.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dml/dataset/db/insert_with_generate_key_column.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dml/dataset/db/insert_with_generate_key_column.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dml/dataset/db/insert_with_generate_key_column.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dml/dataset/db/insert_with_generate_key_column.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dml/dataset/db/insert_without_generate_key_column.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dml/dataset/db/insert_without_generate_key_column.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dml/dataset/db/insert_without_generate_key_column.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dml/dataset/db/insert_without_generate_key_column.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dml/dataset/db/update.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dml/dataset/db/update.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dml/dataset/db/update.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dml/dataset/db/update.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dml/dataset/db/update_with_column_equal_column.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dml/dataset/db/update_with_column_equal_column.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dml/dataset/db/update_with_column_equal_column.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dml/dataset/db/update_with_column_equal_column.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dml/dataset/db/update_without_condition.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dml/dataset/db/update_without_condition.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dml/dataset/db/update_without_condition.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dml/dataset/db/update_without_condition.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dml/dataset/dbtbl_with_replica_query/batch_insert_with_generate_key_column.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dml/dataset/dbtbl_with_replica_query/batch_insert_with_generate_key_column.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dml/dataset/dbtbl_with_replica_query/batch_insert_with_generate_key_column.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dml/dataset/dbtbl_with_replica_query/batch_insert_with_generate_key_column.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dml/dataset/dbtbl_with_replica_query/delete_without_sharding_value.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dml/dataset/dbtbl_with_replica_query/delete_without_sharding_value.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dml/dataset/dbtbl_with_replica_query/delete_without_sharding_value.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dml/dataset/dbtbl_with_replica_query/delete_without_sharding_value.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dml/dataset/dbtbl_with_replica_query/insert_for_order_1_2.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dml/dataset/dbtbl_with_replica_query/insert_for_order_1_2.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dml/dataset/dbtbl_with_replica_query/insert_for_order_1_2.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dml/dataset/dbtbl_with_replica_query/insert_for_order_1_2.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dml/dataset/dbtbl_with_replica_query/insert_for_order_2.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dml/dataset/dbtbl_with_replica_query/insert_for_order_2.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dml/dataset/dbtbl_with_replica_query/insert_for_order_2.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dml/dataset/dbtbl_with_replica_query/insert_for_order_2.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dml/dataset/dbtbl_with_replica_query/insert_multiple_values_for_order_1_2.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dml/dataset/dbtbl_with_replica_query/insert_multiple_values_for_order_1_2.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dml/dataset/dbtbl_with_replica_query/insert_multiple_values_for_order_1_2.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dml/dataset/dbtbl_with_replica_query/insert_multiple_values_for_order_1_2.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dml/dataset/dbtbl_with_replica_query/insert_on_duplicate_key_update.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dml/dataset/dbtbl_with_replica_query/insert_on_duplicate_key_update.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dml/dataset/dbtbl_with_replica_query/insert_on_duplicate_key_update.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dml/dataset/dbtbl_with_replica_query/insert_on_duplicate_key_update.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dml/dataset/dbtbl_with_replica_query/insert_with_generate_key_column.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dml/dataset/dbtbl_with_replica_query/insert_with_generate_key_column.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dml/dataset/dbtbl_with_replica_query/insert_with_generate_key_column.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dml/dataset/dbtbl_with_replica_query/insert_with_generate_key_column.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dml/dataset/dbtbl_with_replica_query/insert_without_generate_key_column.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dml/dataset/dbtbl_with_replica_query/insert_without_generate_key_column.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dml/dataset/dbtbl_with_replica_query/insert_without_generate_key_column.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dml/dataset/dbtbl_with_replica_query/insert_without_generate_key_column.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dml/dataset/replica_query/update_without_condition.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dml/dataset/dbtbl_with_replica_query/update_without_condition.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dml/dataset/replica_query/update_without_condition.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dml/dataset/dbtbl_with_replica_query/update_without_condition.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dml/dataset/delete.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dml/dataset/delete.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dml/dataset/delete.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dml/dataset/delete.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dml/dataset/replica_query/delete_with_sharding_value.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dml/dataset/replica_query/delete_with_sharding_value.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dml/dataset/replica_query/delete_with_sharding_value.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dml/dataset/replica_query/delete_with_sharding_value.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dml/dataset/replica_query/delete_without_sharding_value.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dml/dataset/replica_query/delete_without_sharding_value.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dml/dataset/replica_query/delete_without_sharding_value.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dml/dataset/replica_query/delete_without_sharding_value.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dml/dataset/replica_query/insert_for_order_2.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dml/dataset/replica_query/insert_for_order_2.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dml/dataset/replica_query/insert_for_order_2.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dml/dataset/replica_query/insert_for_order_2.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dml/dataset/replica_query/insert_with_generate_key_column.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dml/dataset/replica_query/insert_with_generate_key_column.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dml/dataset/replica_query/insert_with_generate_key_column.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dml/dataset/replica_query/insert_with_generate_key_column.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dml/dataset/replica_query/update.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dml/dataset/replica_query/update.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dml/dataset/replica_query/update.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dml/dataset/replica_query/update.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dml/dataset/replica_query/update_with_column_equal_column.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dml/dataset/replica_query/update_with_column_equal_column.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dml/dataset/replica_query/update_with_column_equal_column.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dml/dataset/replica_query/update_with_column_equal_column.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dml/dataset/dbtbl_with_replica_query/update_without_condition.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dml/dataset/replica_query/update_without_condition.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dml/dataset/dbtbl_with_replica_query/update_without_condition.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dml/dataset/replica_query/update_without_condition.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dml/dataset/shadow/delete_with_sharding_value.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dml/dataset/shadow/delete_with_sharding_value.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dml/dataset/shadow/delete_with_sharding_value.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dml/dataset/shadow/delete_with_sharding_value.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dml/dataset/shadow/insert_for_order_1.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dml/dataset/shadow/insert_for_order_1.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dml/dataset/shadow/insert_for_order_1.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dml/dataset/shadow/insert_for_order_1.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dml/dataset/shadow/insert_for_order_1_2.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dml/dataset/shadow/insert_for_order_1_2.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dml/dataset/shadow/insert_for_order_1_2.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dml/dataset/shadow/insert_for_order_1_2.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dml/dataset/shadow/insert_with_generate_key_column.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dml/dataset/shadow/insert_with_generate_key_column.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dml/dataset/shadow/insert_with_generate_key_column.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dml/dataset/shadow/insert_with_generate_key_column.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dml/dataset/shadow/update.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dml/dataset/shadow/update.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dml/dataset/shadow/update.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dml/dataset/shadow/update.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dml/dataset/tbl/batch_insert_with_generate_key_column.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dml/dataset/tbl/batch_insert_with_generate_key_column.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dml/dataset/tbl/batch_insert_with_generate_key_column.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dml/dataset/tbl/batch_insert_with_generate_key_column.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dml/dataset/tbl/batch_insert_without_generate_key_column.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dml/dataset/tbl/batch_insert_without_generate_key_column.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dml/dataset/tbl/batch_insert_without_generate_key_column.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dml/dataset/tbl/batch_insert_without_generate_key_column.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dml/dataset/tbl/insert_for_order_1.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dml/dataset/tbl/insert_for_order_1.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dml/dataset/tbl/insert_for_order_1.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dml/dataset/tbl/insert_for_order_1.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dml/dataset/tbl/insert_with_generate_key_column.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dml/dataset/tbl/insert_with_generate_key_column.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dml/dataset/tbl/insert_with_generate_key_column.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dml/dataset/tbl/insert_with_generate_key_column.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dml/dataset/tbl/insert_without_generate_key_column.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dml/dataset/tbl/insert_without_generate_key_column.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dml/dataset/tbl/insert_without_generate_key_column.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dml/dataset/tbl/insert_without_generate_key_column.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dml/dml-integrate-test-cases.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dml/dml-integrate-test-cases.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dml/dml-integrate-test-cases.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dml/dml-integrate-test-cases.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_count_with_sub.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/db/select_count_with_sub.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_count_with_sub.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/db/select_count_with_sub.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_distinct_function.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/db/select_distinct_function.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_distinct_function.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/db/select_distinct_function.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_distinct_with_count_group_by.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/db/select_distinct_with_count_group_by.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_distinct_with_count_group_by.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/db/select_distinct_with_count_group_by.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_distinct_with_multi_column.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/db/select_distinct_with_multi_column.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_distinct_with_multi_column.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/db/select_distinct_with_multi_column.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/db/select_distinct_with_multi_column_without_oder_by.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/db/select_distinct_with_multi_column_without_oder_by.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/db/select_distinct_with_multi_column_without_oder_by.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/db/select_distinct_with_multi_column_without_oder_by.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/db/select_distinct_with_multi_column_without_order_by.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/db/select_distinct_with_multi_column_without_order_by.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/db/select_distinct_with_multi_column_without_order_by.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/db/select_distinct_with_multi_column_without_order_by.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/db/select_distinct_with_owner_star_without_oder_by.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/db/select_distinct_with_owner_star_without_oder_by.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/db/select_distinct_with_owner_star_without_oder_by.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/db/select_distinct_with_owner_star_without_oder_by.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_distinct_with_star.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/db/select_distinct_with_star.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_distinct_with_star.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/db/select_distinct_with_star.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_distinct_with_sum.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/db/select_distinct_with_sum.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_distinct_with_sum.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/db/select_distinct_with_sum.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/mysql/select_group_by_with_avg.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/db/select_group_by_with_avg.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/mysql/select_group_by_with_avg.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/db/select_group_by_with_avg.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/select_group_by_with_count_without_column_name.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/db/select_group_by_with_count_without_column_name.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/select_group_by_with_count_without_column_name.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/db/select_group_by_with_count_without_column_name.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/select_group_by_with_key_word_alias.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/db/select_group_by_with_key_word_alias.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/select_group_by_with_key_word_alias.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/db/select_group_by_with_key_word_alias.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_group_by_with_max.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/db/select_group_by_with_max.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_group_by_with_max.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/db/select_group_by_with_max.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_group_by_with_min.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/db/select_group_by_with_min.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_group_by_with_min.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/db/select_group_by_with_min.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_group_by_with_sum.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/db/select_group_by_with_sum.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_group_by_with_sum.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/db/select_group_by_with_sum.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/tbl/select_in_with_single_table.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/db/select_in_with_single_table.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/tbl/select_in_with_single_table.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/db/select_in_with_single_table.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_inner_join.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/db/select_inner_join.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_inner_join.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/db/select_inner_join.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_max.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/db/select_max.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_max.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/db/select_max.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/tbl/select_min.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/db/select_min.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/tbl/select_min.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/db/select_min.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/tbl/select_or_mix_and_for_complex_pattern.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/db/select_or_mix_and_for_complex_pattern.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/tbl/select_or_mix_and_for_complex_pattern.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/db/select_or_mix_and_for_complex_pattern.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/db/select_or_mix_and_with_binding_and_broadcast_tables.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/db/select_or_mix_and_with_binding_and_broadcast_tables.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/db/select_or_mix_and_with_binding_and_broadcast_tables.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/db/select_or_mix_and_with_binding_and_broadcast_tables.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_or_mix_and_with_binding_tables.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/db/select_or_mix_and_with_binding_tables.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_or_mix_and_with_binding_tables.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/db/select_or_mix_and_with_binding_tables.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/db/select_or_with_predicates.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/db/select_or_with_predicates.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/db/select_or_with_predicates.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/db/select_or_with_predicates.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_order_by_asc_and_index_desc.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/db/select_order_by_asc_and_index_desc.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_order_by_asc_and_index_desc.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/db/select_order_by_asc_and_index_desc.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_order_by_desc_and_index_asc.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/db/select_order_by_desc_and_index_asc.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_order_by_desc_and_index_asc.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/db/select_order_by_desc_and_index_asc.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_order_by_with_ordered_column.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/db/select_order_by_with_ordered_column.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_order_by_with_ordered_column.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/db/select_order_by_with_ordered_column.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_pagination_with_diff_group_by_and_order_by.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/db/select_pagination_with_diff_group_by_and_order_by.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_pagination_with_diff_group_by_and_order_by.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/db/select_pagination_with_diff_group_by_and_order_by.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_pagination_with_offset.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/db/select_pagination_with_offset.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_pagination_with_offset.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/db/select_pagination_with_offset.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_pagination_with_offset_and_row_count.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/db/select_pagination_with_offset_and_row_count.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_pagination_with_offset_and_row_count.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/db/select_pagination_with_offset_and_row_count.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/db/select_pagination_with_offset_fetch.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/db/select_pagination_with_offset_fetch.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/db/select_pagination_with_offset_fetch.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/db/select_pagination_with_offset_fetch.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_pagination_with_row_number_not_at_end.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/db/select_pagination_with_row_number_not_at_end.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_pagination_with_row_number_not_at_end.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/db/select_pagination_with_row_number_not_at_end.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/db/select_sharding_route_with_binding_tables.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/db/select_sharding_route_with_binding_tables.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/db/select_sharding_route_with_binding_tables.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/db/select_sharding_route_with_binding_tables.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/db/select_sharding_route_with_broadcast_table.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/db/select_sharding_route_with_broadcast_table.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/db/select_sharding_route_with_broadcast_table.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/db/select_sharding_route_with_broadcast_table.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_with_force_index_join.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/db/select_with_force_index_join.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_with_force_index_join.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/db/select_with_force_index_join.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/tbl/select_alias_as_keyword.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/dbtbl_with_replica_query/select_alias_as_keyword.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/tbl/select_alias_as_keyword.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/dbtbl_with_replica_query/select_alias_as_keyword.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/dbtbl_with_replica_query/select_alias_as_single_quote_string.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/dbtbl_with_replica_query/select_alias_as_single_quote_string.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/dbtbl_with_replica_query/select_alias_as_single_quote_string.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/dbtbl_with_replica_query/select_alias_as_single_quote_string.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/dbtbl_with_replica_query/select_avg.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/dbtbl_with_replica_query/select_avg.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/dbtbl_with_replica_query/select_avg.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/dbtbl_with_replica_query/select_avg.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/dbtbl_with_replica_query/select_count_with_sub.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/dbtbl_with_replica_query/select_count_with_sub.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/dbtbl_with_replica_query/select_count_with_sub.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/dbtbl_with_replica_query/select_count_with_sub.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/tbl/select_distinct_with_count_calculation.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/dbtbl_with_replica_query/select_distinct_with_count_calculation.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/tbl/select_distinct_with_count_calculation.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/dbtbl_with_replica_query/select_distinct_with_count_calculation.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/dbtbl_with_replica_query/select_distinct_with_count_group_by.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/dbtbl_with_replica_query/select_distinct_with_count_group_by.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/dbtbl_with_replica_query/select_distinct_with_count_group_by.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/dbtbl_with_replica_query/select_distinct_with_count_group_by.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/tbl/select_distinct_with_count_sum.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/dbtbl_with_replica_query/select_distinct_with_count_sum.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/tbl/select_distinct_with_count_sum.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/dbtbl_with_replica_query/select_distinct_with_count_sum.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/dbtbl_with_replica_query/select_distinct_with_multi_column.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/dbtbl_with_replica_query/select_distinct_with_multi_column.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/dbtbl_with_replica_query/select_distinct_with_multi_column.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/dbtbl_with_replica_query/select_distinct_with_multi_column.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/dbtbl_with_replica_query/select_distinct_with_multi_column_without_order_by.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/dbtbl_with_replica_query/select_distinct_with_multi_column_without_order_by.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/dbtbl_with_replica_query/select_distinct_with_multi_column_without_order_by.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/dbtbl_with_replica_query/select_distinct_with_multi_column_without_order_by.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/dbtbl_with_replica_query/select_distinct_with_owner_column_without_order_by.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/dbtbl_with_replica_query/select_distinct_with_owner_column_without_order_by.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/dbtbl_with_replica_query/select_distinct_with_owner_column_without_order_by.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/dbtbl_with_replica_query/select_distinct_with_owner_column_without_order_by.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/dbtbl_with_replica_query/select_distinct_with_owner_star.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/dbtbl_with_replica_query/select_distinct_with_owner_star.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/dbtbl_with_replica_query/select_distinct_with_owner_star.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/dbtbl_with_replica_query/select_distinct_with_owner_star.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/dbtbl_with_replica_query/select_distinct_with_owner_star_without_order_by.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/dbtbl_with_replica_query/select_distinct_with_owner_star_without_order_by.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/dbtbl_with_replica_query/select_distinct_with_owner_star_without_order_by.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/dbtbl_with_replica_query/select_distinct_with_owner_star_without_order_by.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/dbtbl_with_replica_query/select_distinct_with_single_column.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/dbtbl_with_replica_query/select_distinct_with_single_column.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/dbtbl_with_replica_query/select_distinct_with_single_column.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/dbtbl_with_replica_query/select_distinct_with_single_column.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/dbtbl_with_replica_query/select_distinct_with_single_column_without_order_by.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/dbtbl_with_replica_query/select_distinct_with_single_column_without_order_by.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/dbtbl_with_replica_query/select_distinct_with_single_column_without_order_by.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/dbtbl_with_replica_query/select_distinct_with_single_column_without_order_by.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/dbtbl_with_replica_query/select_distinct_with_star.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/dbtbl_with_replica_query/select_distinct_with_star.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/dbtbl_with_replica_query/select_distinct_with_star.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/dbtbl_with_replica_query/select_distinct_with_star.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/tbl/select_distinct_with_sum.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/dbtbl_with_replica_query/select_distinct_with_sum.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/tbl/select_distinct_with_sum.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/dbtbl_with_replica_query/select_distinct_with_sum.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/select_equal_with_single_table.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/dbtbl_with_replica_query/select_equal_with_single_table.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/select_equal_with_single_table.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/dbtbl_with_replica_query/select_equal_with_single_table.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/dbtbl_with_replica_query/select_full_route_with_binding_tables.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/dbtbl_with_replica_query/select_full_route_with_binding_tables.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/dbtbl_with_replica_query/select_full_route_with_binding_tables.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/dbtbl_with_replica_query/select_full_route_with_binding_tables.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/dbtbl_with_replica_query/select_group_by_with_count.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/dbtbl_with_replica_query/select_group_by_with_count.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/dbtbl_with_replica_query/select_group_by_with_count.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/dbtbl_with_replica_query/select_group_by_with_count.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/dbtbl_with_replica_query/select_group_by_with_keyword_alias.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/dbtbl_with_replica_query/select_group_by_with_keyword_alias.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/dbtbl_with_replica_query/select_group_by_with_keyword_alias.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/dbtbl_with_replica_query/select_group_by_with_keyword_alias.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/tbl/select_group_by_without_grouped_column.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/dbtbl_with_replica_query/select_group_by_without_grouped_column.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/tbl/select_group_by_without_grouped_column.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/dbtbl_with_replica_query/select_group_by_without_grouped_column.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/select_in_with_same_sharding_column.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/dbtbl_with_replica_query/select_in_with_same_sharding_column.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/select_in_with_same_sharding_column.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/dbtbl_with_replica_query/select_in_with_same_sharding_column.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/select_in_with_single_table.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/dbtbl_with_replica_query/select_in_with_single_table.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/select_in_with_single_table.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/dbtbl_with_replica_query/select_in_with_single_table.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/dbtbl_with_replica_query/select_max.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/dbtbl_with_replica_query/select_max.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/dbtbl_with_replica_query/select_max.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/dbtbl_with_replica_query/select_max.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_or_mix_and_with_binding_and_broadcast_tables.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/dbtbl_with_replica_query/select_or_mix_and_with_binding_and_broadcast_tables.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_or_mix_and_with_binding_and_broadcast_tables.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/dbtbl_with_replica_query/select_or_mix_and_with_binding_and_broadcast_tables.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/dbtbl_with_replica_query/select_or_mix_and_with_binding_tables.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/dbtbl_with_replica_query/select_or_mix_and_with_binding_tables.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/dbtbl_with_replica_query/select_or_mix_and_with_binding_tables.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/dbtbl_with_replica_query/select_or_mix_and_with_binding_tables.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/select_or_with_none_sharding_columns.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/dbtbl_with_replica_query/select_or_with_none_sharding_columns.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/select_or_with_none_sharding_columns.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/dbtbl_with_replica_query/select_or_with_none_sharding_columns.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/dbtbl_with_replica_query/select_order_by_with_multiple_stars.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/dbtbl_with_replica_query/select_order_by_with_multiple_stars.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/dbtbl_with_replica_query/select_order_by_with_multiple_stars.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/dbtbl_with_replica_query/select_order_by_with_multiple_stars.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/dbtbl_with_replica_query/select_order_by_with_ordered_column.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/dbtbl_with_replica_query/select_order_by_with_ordered_column.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/dbtbl_with_replica_query/select_order_by_with_ordered_column.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/dbtbl_with_replica_query/select_order_by_with_ordered_column.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/dbtbl_with_replica_query/select_order_by_with_star_no_table_alias.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/dbtbl_with_replica_query/select_order_by_with_star_no_table_alias.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/dbtbl_with_replica_query/select_order_by_with_star_no_table_alias.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/dbtbl_with_replica_query/select_order_by_with_star_no_table_alias.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/dbtbl_with_replica_query/select_order_by_with_star_table_alias.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/dbtbl_with_replica_query/select_order_by_with_star_table_alias.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/dbtbl_with_replica_query/select_order_by_with_star_table_alias.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/dbtbl_with_replica_query/select_order_by_with_star_table_alias.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/dbtbl_with_replica_query/select_order_by_with_table_star_table_name.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/dbtbl_with_replica_query/select_order_by_with_table_star_table_name.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/dbtbl_with_replica_query/select_order_by_with_table_star_table_name.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/dbtbl_with_replica_query/select_order_by_with_table_star_table_name.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/dbtbl_with_replica_query/select_pagination_with_group_by_and_order_by.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/dbtbl_with_replica_query/select_pagination_with_group_by_and_order_by.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/dbtbl_with_replica_query/select_pagination_with_group_by_and_order_by.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/dbtbl_with_replica_query/select_pagination_with_group_by_and_order_by.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/dbtbl_with_replica_query/select_pagination_with_offset_and_limit.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/dbtbl_with_replica_query/select_pagination_with_offset_and_limit.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/dbtbl_with_replica_query/select_pagination_with_offset_and_limit.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/dbtbl_with_replica_query/select_pagination_with_offset_and_limit.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/dbtbl_with_replica_query/select_pagination_with_offset_and_row_count.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/dbtbl_with_replica_query/select_pagination_with_offset_and_row_count.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/dbtbl_with_replica_query/select_pagination_with_offset_and_row_count.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/dbtbl_with_replica_query/select_pagination_with_offset_and_row_count.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/dbtbl_with_replica_query/select_pagination_with_row_count.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/dbtbl_with_replica_query/select_pagination_with_row_count.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/dbtbl_with_replica_query/select_pagination_with_row_count.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/dbtbl_with_replica_query/select_pagination_with_row_count.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/dbtbl_with_replica_query/select_pagination_with_row_number_and_limit.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/dbtbl_with_replica_query/select_pagination_with_row_number_and_limit.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/dbtbl_with_replica_query/select_pagination_with_row_number_and_limit.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/dbtbl_with_replica_query/select_pagination_with_row_number_and_limit.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/dbtbl_with_replica_query/select_pagination_with_row_number_not_at_end.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/dbtbl_with_replica_query/select_pagination_with_row_number_not_at_end.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/dbtbl_with_replica_query/select_pagination_with_row_number_not_at_end.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/dbtbl_with_replica_query/select_pagination_with_row_number_not_at_end.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/dbtbl_with_replica_query/select_pagination_with_top_and_limit.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/dbtbl_with_replica_query/select_pagination_with_top_and_limit.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/dbtbl_with_replica_query/select_pagination_with_top_and_limit.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/dbtbl_with_replica_query/select_pagination_with_top_and_limit.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_sharding_route_with_broadcast_table.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/dbtbl_with_replica_query/select_sharding_route_with_broadcast_table.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_sharding_route_with_broadcast_table.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/dbtbl_with_replica_query/select_sharding_route_with_broadcast_table.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/dbtbl_with_replica_query/select_sub_query_with_group_by.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/dbtbl_with_replica_query/select_sub_query_with_group_by.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/dbtbl_with_replica_query/select_sub_query_with_group_by.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/dbtbl_with_replica_query/select_sub_query_with_group_by.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/dbtbl_with_replica_query/select_with_expression.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/dbtbl_with_replica_query/select_with_expression.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/dbtbl_with_replica_query/select_with_expression.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/dbtbl_with_replica_query/select_with_expression.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/dbtbl_with_replica_query/select_with_force_index_join.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/dbtbl_with_replica_query/select_with_force_index_join.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/dbtbl_with_replica_query/select_with_force_index_join.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/dbtbl_with_replica_query/select_with_force_index_join.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/empty_order_item.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/empty_order_item.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/empty_order_item.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/empty_order_item.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/postgresql/select_avg.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/postgresql/select_avg.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/postgresql/select_avg.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/postgresql/select_avg.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/postgresql/select_count_tilde_concat.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/postgresql/select_count_tilde_concat.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/postgresql/select_count_tilde_concat.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/postgresql/select_count_tilde_concat.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/postgresql/select_group_by_with_avg.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/postgresql/select_group_by_with_avg.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/postgresql/select_group_by_with_avg.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/postgresql/select_group_by_with_avg.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_alias_as_keyword.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/select_alias_as_keyword.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_alias_as_keyword.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/select_alias_as_keyword.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/select_alias_as_single_quote_string.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/select_alias_as_single_quote_string.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/select_alias_as_single_quote_string.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/select_alias_as_single_quote_string.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/select_comparison_symbol_with_single_table.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/select_comparison_symbol_with_single_table.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/select_comparison_symbol_with_single_table.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/select_comparison_symbol_with_single_table.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_count_like_concat.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/select_count_like_concat.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_count_like_concat.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/select_count_like_concat.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_count_with_binding_tables.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/select_count_with_binding_tables.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_count_with_binding_tables.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/select_count_with_binding_tables.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/select_count_with_sub.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/select_count_with_sub.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/select_count_with_sub.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/select_count_with_sub.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_count_with_sub_with_whitespace.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/select_count_with_sub_with_whitespace.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_count_with_sub_with_whitespace.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/select_count_with_sub_with_whitespace.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/select_distinct_with_count_group_by.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/select_distinct_with_count_group_by.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/select_distinct_with_count_group_by.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/select_distinct_with_count_group_by.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/select_distinct_with_multi_column.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/select_distinct_with_multi_column.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/select_distinct_with_multi_column.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/select_distinct_with_multi_column.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/select_distinct_with_multi_column_without_order_by.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/select_distinct_with_multi_column_without_order_by.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/select_distinct_with_multi_column_without_order_by.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/select_distinct_with_multi_column_without_order_by.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_distinct_with_owner_column.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/select_distinct_with_owner_column.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_distinct_with_owner_column.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/select_distinct_with_owner_column.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/select_distinct_with_owner_star.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/select_distinct_with_owner_star.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/select_distinct_with_owner_star.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/select_distinct_with_owner_star.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/select_distinct_with_owner_star_without_order_by.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/select_distinct_with_owner_star_without_order_by.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/select_distinct_with_owner_star_without_order_by.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/select_distinct_with_owner_star_without_order_by.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_distinct_with_single_column.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/select_distinct_with_single_column.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_distinct_with_single_column.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/select_distinct_with_single_column.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/select_distinct_with_single_column_without_order_by.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/select_distinct_with_single_column_without_order_by.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/select_distinct_with_single_column_without_order_by.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/select_distinct_with_single_column_without_order_by.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_distinct_with_single_count_group_by.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/select_distinct_with_single_count_group_by.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_distinct_with_single_count_group_by.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/select_distinct_with_single_count_group_by.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/select_distinct_with_star.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/select_distinct_with_star.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/select_distinct_with_star.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/select_distinct_with_star.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/select_distinct_with_sum.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/select_distinct_with_sum.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/select_distinct_with_sum.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/select_distinct_with_sum.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_for_update.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/select_for_update.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_for_update.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/select_for_update.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/tbl/select_group_by_with_limit.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/select_group_by_with_limit.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/tbl/select_group_by_with_limit.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/select_group_by_with_limit.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/select_group_by_with_max.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/select_group_by_with_max.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/select_group_by_with_max.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/select_group_by_with_max.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/select_group_by_with_sum.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/select_group_by_with_sum.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/select_group_by_with_sum.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/select_group_by_with_sum.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_group_by_without_grouped_column.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/select_group_by_without_grouped_column.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_group_by_without_grouped_column.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/select_group_by_without_grouped_column.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/dbtbl_with_replica_query/select_in_with_same_sharding_column.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/select_in_with_same_sharding_column.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/dbtbl_with_replica_query/select_in_with_same_sharding_column.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/select_in_with_same_sharding_column.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/select_max.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/select_max.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/select_max.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/select_max.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/select_not_equal_with_single_table.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/select_not_equal_with_single_table.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/select_not_equal_with_single_table.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/select_not_equal_with_single_table.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/select_not_in_with_single_table.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/select_not_in_with_single_table.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/select_not_in_with_single_table.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/select_not_in_with_single_table.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/select_or_mix_and_for_complex_pattern.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/select_or_mix_and_for_complex_pattern.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/select_or_mix_and_for_complex_pattern.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/select_or_mix_and_for_complex_pattern.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/select_or_mix_and_for_simple_pattern.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/select_or_mix_and_for_simple_pattern.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/select_or_mix_and_for_simple_pattern.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/select_or_mix_and_for_simple_pattern.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/select_or_mix_and_with_binding_tables.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/select_or_mix_and_with_binding_tables.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/select_or_mix_and_with_binding_tables.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/select_or_mix_and_with_binding_tables.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/select_or_with_different_sharding_columns.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/select_or_with_different_sharding_columns.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/select_or_with_different_sharding_columns.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/select_or_with_different_sharding_columns.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/select_order_by_with_date.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/select_order_by_with_date.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/select_order_by_with_date.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/select_order_by_with_date.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/select_order_by_with_ordered_column.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/select_order_by_with_ordered_column.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/select_order_by_with_ordered_column.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/select_order_by_with_ordered_column.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/select_order_by_with_star_table_alias.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/select_order_by_with_star_table_alias.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/select_order_by_with_star_table_alias.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/select_order_by_with_star_table_alias.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/select_order_by_with_table_star_without_table_name.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/select_order_by_with_table_star_without_table_name.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/select_order_by_with_table_star_without_table_name.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/select_order_by_with_table_star_without_table_name.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/select_pagination_with_diff_group_by_and_order_by.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/select_pagination_with_diff_group_by_and_order_by.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/select_pagination_with_diff_group_by_and_order_by.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/select_pagination_with_diff_group_by_and_order_by.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_pagination_with_group_by_and_order_by.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/select_pagination_with_group_by_and_order_by.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_pagination_with_group_by_and_order_by.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/select_pagination_with_group_by_and_order_by.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/select_pagination_with_offset.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/select_pagination_with_offset.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/select_pagination_with_offset.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/select_pagination_with_offset.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/select_pagination_with_offset_and_row_count.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/select_pagination_with_offset_and_row_count.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/select_pagination_with_offset_and_row_count.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/select_pagination_with_offset_and_row_count.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/select_pagination_with_row_count.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/select_pagination_with_row_count.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/select_pagination_with_row_count.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/select_pagination_with_row_count.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/select_pagination_with_row_number_not_at_end.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/select_pagination_with_row_number_not_at_end.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/select_pagination_with_row_number_not_at_end.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/select_pagination_with_row_number_not_at_end.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/select_sub_query_with_group_by.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/select_sub_query_with_group_by.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/select_sub_query_with_group_by.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/select_sub_query_with_group_by.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_sum.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/select_sum.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_sum.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/select_sum.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_with_date_function.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/select_with_date_function.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_with_date_function.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/select_with_date_function.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_with_item_alias_match_order_by_and_group_by_items.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/select_with_item_alias_match_order_by_and_group_by_items.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_with_item_alias_match_order_by_and_group_by_items.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/select_with_item_alias_match_order_by_and_group_by_items.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/select_with_regexp.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/select_with_regexp.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/select_with_regexp.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/select_with_regexp.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/select_with_interval_function.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/select_with_interval_function.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/select_with_interval_function.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/select_with_interval_function.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_avg.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_avg.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_avg.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_avg.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_count.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_count.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_count.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_count.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/select_distinct_function.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_distinct_function.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/select_distinct_function.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_distinct_function.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_distinct_with_count.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_distinct_with_count.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_distinct_with_count.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_distinct_with_count.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/db/select_distinct_with_count_group_by.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_distinct_with_count_group_by.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/db/select_distinct_with_count_group_by.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_distinct_with_count_group_by.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_distinct_with_multi_column_without_order_by.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_distinct_with_multi_column_without_order_by.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_distinct_with_multi_column_without_order_by.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_distinct_with_multi_column_without_order_by.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/select_distinct_with_owner_column.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_distinct_with_owner_column.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/select_distinct_with_owner_column.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_distinct_with_owner_column.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_distinct_with_owner_column_without_order_by.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_distinct_with_owner_column_without_order_by.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_distinct_with_owner_column_without_order_by.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_distinct_with_owner_column_without_order_by.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_distinct_with_owner_star_without_order_by.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_distinct_with_owner_star_without_order_by.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_distinct_with_owner_star_without_order_by.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_distinct_with_owner_star_without_order_by.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/tbl/select_equal_with_single_table.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_equal_with_single_table.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/tbl/select_equal_with_single_table.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_equal_with_single_table.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/select_for_update.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_for_update.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/select_for_update.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_for_update.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_from_shadow_false.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_from_shadow_false.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_from_shadow_false.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_from_shadow_false.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_from_shadow_true.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_from_shadow_true.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_from_shadow_true.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_from_shadow_true.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_from_shadow_with_condition_true.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_from_shadow_with_condition_true.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_from_shadow_with_condition_true.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_from_shadow_with_condition_true.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_group_by_with_limit.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_group_by_with_limit.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_group_by_with_limit.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_group_by_with_limit.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/select_group_by_with_min.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_group_by_with_min.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/select_group_by_with_min.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_group_by_with_min.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_group_by_with_order_by_and_limit.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_group_by_with_order_by_and_limit.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_group_by_with_order_by_and_limit.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_group_by_with_order_by_and_limit.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/select_group_by_without_grouped_column.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_group_by_without_grouped_column.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/select_group_by_without_grouped_column.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_group_by_without_grouped_column.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/tbl/select_in_with_same_sharding_column.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_in_with_same_sharding_column.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/tbl/select_in_with_same_sharding_column.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_in_with_same_sharding_column.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/db/select_inner_join.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_inner_join.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/db/select_inner_join.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_inner_join.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/db/select_max.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_max.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/db/select_max.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_max.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_not_equal_with_single_table.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_not_equal_with_single_table.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_not_equal_with_single_table.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_not_equal_with_single_table.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_not_in_with_single_table.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_not_in_with_single_table.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_not_in_with_single_table.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_not_in_with_single_table.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_or_mix_and_for_complex_pattern.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_or_mix_and_for_complex_pattern.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_or_mix_and_for_complex_pattern.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_or_mix_and_for_complex_pattern.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_or_mix_and_for_simple_pattern.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_or_mix_and_for_simple_pattern.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_or_mix_and_for_simple_pattern.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_or_mix_and_for_simple_pattern.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/select_or_mix_and_with_binding_and_broadcast_tables.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_or_mix_and_with_binding_and_broadcast_tables.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/select_or_mix_and_with_binding_and_broadcast_tables.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_or_mix_and_with_binding_and_broadcast_tables.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_or_with_different_sharding_columns.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_or_with_different_sharding_columns.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_or_with_different_sharding_columns.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_or_with_different_sharding_columns.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/db/select_order_by_asc_and_index_desc.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_order_by_asc_and_index_desc.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/db/select_order_by_asc_and_index_desc.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_order_by_asc_and_index_desc.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_order_by_with_date.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_order_by_with_date.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_order_by_with_date.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_order_by_with_date.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_order_by_with_multiple_stars.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_order_by_with_multiple_stars.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_order_by_with_multiple_stars.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_order_by_with_multiple_stars.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/db/select_order_by_with_ordered_column.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_order_by_with_ordered_column.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/db/select_order_by_with_ordered_column.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_order_by_with_ordered_column.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_order_by_with_table_star_table_name.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_order_by_with_table_star_table_name.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_order_by_with_table_star_table_name.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_order_by_with_table_star_table_name.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/select_pagination_with_group_by_and_order_by.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_pagination_with_group_by_and_order_by.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/select_pagination_with_group_by_and_order_by.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_pagination_with_group_by_and_order_by.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/db/select_pagination_with_offset.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_pagination_with_offset.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/db/select_pagination_with_offset.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_pagination_with_offset.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_pagination_with_row_count.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_pagination_with_row_count.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_pagination_with_row_count.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_pagination_with_row_count.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_pagination_with_row_number_and_limit.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_pagination_with_row_number_and_limit.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_pagination_with_row_number_and_limit.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_pagination_with_row_number_and_limit.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_sharding_route_with_binding_tables.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_sharding_route_with_binding_tables.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_sharding_route_with_binding_tables.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_sharding_route_with_binding_tables.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/select_sum.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_sum.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/select_sum.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_sum.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/select_with_date_function.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_with_date_function.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/select_with_date_function.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_with_date_function.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/select_with_item_alias_match_order_by_and_group_by_items.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_with_item_alias_match_order_by_and_group_by_items.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/select_with_item_alias_match_order_by_and_group_by_items.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_with_item_alias_match_order_by_and_group_by_items.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/tbl/postgresql/select_count_tilde_concat.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/tbl/postgresql/select_count_tilde_concat.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/tbl/postgresql/select_count_tilde_concat.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/tbl/postgresql/select_count_tilde_concat.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/tbl/select_alias_as_single_quote_string.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/tbl/select_alias_as_single_quote_string.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/tbl/select_alias_as_single_quote_string.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/tbl/select_alias_as_single_quote_string.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/tbl/select_avg.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/tbl/select_avg.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/tbl/select_avg.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/tbl/select_avg.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/tbl/select_between_with_single_table.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/tbl/select_between_with_single_table.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/tbl/select_between_with_single_table.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/tbl/select_between_with_single_table.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/tbl/select_count_like_concat.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/tbl/select_count_like_concat.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/tbl/select_count_like_concat.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/tbl/select_count_like_concat.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/tbl/select_count_with_binding_tables.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/tbl/select_count_with_binding_tables.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/tbl/select_count_with_binding_tables.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/tbl/select_count_with_binding_tables.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/tbl/select_count_with_sub.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/tbl/select_count_with_sub.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/tbl/select_count_with_sub.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/tbl/select_count_with_sub.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/tbl/select_distinct_with_avg.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/tbl/select_distinct_with_avg.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/tbl/select_distinct_with_avg.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/tbl/select_distinct_with_avg.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/tbl/select_distinct_with_count.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/tbl/select_distinct_with_count.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/tbl/select_distinct_with_count.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/tbl/select_distinct_with_count.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/dbtbl_with_replica_query/select_distinct_with_count_calculation.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/tbl/select_distinct_with_count_calculation.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/dbtbl_with_replica_query/select_distinct_with_count_calculation.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/tbl/select_distinct_with_count_calculation.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/dbtbl_with_replica_query/select_distinct_with_count_sum.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/tbl/select_distinct_with_count_sum.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/dbtbl_with_replica_query/select_distinct_with_count_sum.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/tbl/select_distinct_with_count_sum.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/tbl/select_distinct_with_multi_column.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/tbl/select_distinct_with_multi_column.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/tbl/select_distinct_with_multi_column.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/tbl/select_distinct_with_multi_column.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/tbl/select_distinct_with_owner_column_without_order_by.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/tbl/select_distinct_with_owner_column_without_order_by.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/tbl/select_distinct_with_owner_column_without_order_by.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/tbl/select_distinct_with_owner_column_without_order_by.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/tbl/select_distinct_with_owner_star.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/tbl/select_distinct_with_owner_star.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/tbl/select_distinct_with_owner_star.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/tbl/select_distinct_with_owner_star.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/tbl/select_distinct_with_owner_star_without_order_by.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/tbl/select_distinct_with_owner_star_without_order_by.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/tbl/select_distinct_with_owner_star_without_order_by.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/tbl/select_distinct_with_owner_star_without_order_by.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/tbl/select_distinct_with_single_count_group_by.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/tbl/select_distinct_with_single_count_group_by.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/tbl/select_distinct_with_single_count_group_by.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/tbl/select_distinct_with_single_count_group_by.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/dbtbl_with_replica_query/select_distinct_with_sum.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/tbl/select_distinct_with_sum.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/dbtbl_with_replica_query/select_distinct_with_sum.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/tbl/select_distinct_with_sum.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_equal_with_single_table.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/tbl/select_equal_with_single_table.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_equal_with_single_table.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/tbl/select_equal_with_single_table.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/tbl/select_for_update.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/tbl/select_for_update.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/tbl/select_for_update.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/tbl/select_for_update.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/tbl/select_group_by_with_count.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/tbl/select_group_by_with_count.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/tbl/select_group_by_with_count.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/tbl/select_group_by_with_count.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/tbl/select_group_by_with_keyword_alias.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/tbl/select_group_by_with_keyword_alias.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/tbl/select_group_by_with_keyword_alias.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/tbl/select_group_by_with_keyword_alias.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/select_group_by_with_limit.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/tbl/select_group_by_with_limit.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/replica_query/select_group_by_with_limit.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/tbl/select_group_by_with_limit.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/tbl/select_group_by_with_sum.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/tbl/select_group_by_with_sum.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/tbl/select_group_by_with_sum.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/tbl/select_group_by_with_sum.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_in_with_same_sharding_column.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/tbl/select_in_with_same_sharding_column.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_in_with_same_sharding_column.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/tbl/select_in_with_same_sharding_column.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_in_with_single_table.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/tbl/select_in_with_single_table.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/shadow/select_in_with_single_table.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/tbl/select_in_with_single_table.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/tbl/select_inner_join.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/tbl/select_inner_join.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/tbl/select_inner_join.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/tbl/select_inner_join.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/db/select_or_mix_and_for_complex_pattern.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/tbl/select_or_mix_and_for_complex_pattern.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/db/select_or_mix_and_for_complex_pattern.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/tbl/select_or_mix_and_for_complex_pattern.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/tbl/select_or_mix_and_for_simple_pattern.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/tbl/select_or_mix_and_for_simple_pattern.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/tbl/select_or_mix_and_for_simple_pattern.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/tbl/select_or_mix_and_for_simple_pattern.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/tbl/select_or_with_none_sharding_columns.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/tbl/select_or_with_none_sharding_columns.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/tbl/select_or_with_none_sharding_columns.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/tbl/select_or_with_none_sharding_columns.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/tbl/select_order_by_desc_and_index_asc.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/tbl/select_order_by_desc_and_index_asc.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/tbl/select_order_by_desc_and_index_asc.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/tbl/select_order_by_desc_and_index_asc.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/tbl/select_order_by_with_alias_star_alias_name.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/tbl/select_order_by_with_alias_star_alias_name.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/tbl/select_order_by_with_alias_star_alias_name.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/tbl/select_order_by_with_alias_star_alias_name.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/tbl/select_order_by_with_date.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/tbl/select_order_by_with_date.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/tbl/select_order_by_with_date.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/tbl/select_order_by_with_date.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/tbl/select_order_by_with_ordered_column.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/tbl/select_order_by_with_ordered_column.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/tbl/select_order_by_with_ordered_column.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/tbl/select_order_by_with_ordered_column.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/tbl/select_order_by_with_star_table_alias.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/tbl/select_order_by_with_star_table_alias.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/tbl/select_order_by_with_star_table_alias.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/tbl/select_order_by_with_star_table_alias.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/tbl/select_order_by_with_table_star_without_table_name.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/tbl/select_order_by_with_table_star_without_table_name.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/tbl/select_order_by_with_table_star_without_table_name.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/tbl/select_order_by_with_table_star_without_table_name.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/tbl/select_pagination_with_group_by_and_order_by.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/tbl/select_pagination_with_group_by_and_order_by.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/tbl/select_pagination_with_group_by_and_order_by.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/tbl/select_pagination_with_group_by_and_order_by.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/tbl/select_pagination_with_offset_and_limit.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/tbl/select_pagination_with_offset_and_limit.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/tbl/select_pagination_with_offset_and_limit.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/tbl/select_pagination_with_offset_and_limit.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/tbl/select_pagination_with_offset_and_row_count.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/tbl/select_pagination_with_offset_and_row_count.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/tbl/select_pagination_with_offset_and_row_count.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/tbl/select_pagination_with_offset_and_row_count.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/tbl/select_pagination_with_row_count.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/tbl/select_pagination_with_row_count.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/tbl/select_pagination_with_row_count.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/tbl/select_pagination_with_row_count.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/tbl/select_pagination_with_row_number_not_at_end.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/tbl/select_pagination_with_row_number_not_at_end.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/tbl/select_pagination_with_row_number_not_at_end.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/tbl/select_pagination_with_row_number_not_at_end.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/tbl/select_sub_query_with_group_by.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/tbl/select_sub_query_with_group_by.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/tbl/select_sub_query_with_group_by.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/tbl/select_sub_query_with_group_by.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/tbl/select_sub_query_with_multiple_tables.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/tbl/select_sub_query_with_multiple_tables.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/tbl/select_sub_query_with_multiple_tables.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/tbl/select_sub_query_with_multiple_tables.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/tbl/select_sub_query_with_order_by.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/tbl/select_sub_query_with_order_by.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/tbl/select_sub_query_with_order_by.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/tbl/select_sub_query_with_order_by.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/tbl/select_with_date_function.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/tbl/select_with_date_function.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dataset/tbl/select_with_date_function.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dataset/tbl/select_with_date_function.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dql-integrate-test-cases.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dql-integrate-test-cases.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dql/dql-integrate-test-cases.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/cases/dql/dql-integrate-test-cases.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/env-docker.properties b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/env-docker.properties
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/env-docker.properties
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/env-docker.properties
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/env/db/dataset.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/env/db/dataset.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/env/db/dataset.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/env/db/dataset.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/env/shadow/dataset.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/env/shadow/dataset.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/env/shadow/dataset.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/env/shadow/dataset.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/env/tbl/authority.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/env/tbl/authority.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/env/tbl/authority.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/env/tbl/authority.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/env/tbl/schema.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/env/tbl/schema.xml
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/env/tbl/schema.xml
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/env/tbl/schema.xml
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/profile.properties b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/profile.properties
similarity index 100%
rename from shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/profile.properties
rename to shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/src/test/resources/integrate/profile.properties
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/Dockerfile b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/Dockerfile
deleted file mode 100644
index d7a763a..0000000
--- a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/Dockerfile
+++ /dev/null
@@ -1,27 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-FROM openjdk:8-jdk-alpine
-
-ARG APP_NAME
-ENV WAIT_VERSION 2.7.2
-
-ADD target/${APP_NAME}.tar.gz /opt
-ADD https://github.com/ufoscout/docker-compose-wait/releases/download/$WAIT_VERSION/wait /wait
-RUN chmod +x /wait
-RUN mv /opt/${APP_NAME} /opt/shardingsphere-proxy
-ENTRYPOINT /wait && /opt/shardingsphere-proxy/bin/start.sh && tail -f /opt/shardingsphere-proxy/logs/stdout.log
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/assembly/shardingsphere-proxy-assembly.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/assembly/shardingsphere-proxy-assembly.xml
deleted file mode 100644
index 1d6acf0..0000000
--- a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/assembly/shardingsphere-proxy-assembly.xml
+++ /dev/null
@@ -1,40 +0,0 @@
-<!--
- ~ Licensed to the Apache Software Foundation (ASF) under one or more
- ~ contributor license agreements. See the NOTICE file distributed with
- ~ this work for additional information regarding copyright ownership.
- ~ The ASF licenses this file to You under the Apache License, Version 2.0
- ~ (the "License"); you may not use this file except in compliance with
- ~ the License. You may obtain a copy of the License at
- ~
- ~ http://www.apache.org/licenses/LICENSE-2.0
- ~
- ~ Unless required by applicable law or agreed to in writing, software
- ~ distributed under the License is distributed on an "AS IS" BASIS,
- ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- ~ See the License for the specific language governing permissions and
- ~ limitations under the License.
- -->
-
-<assembly xmlns="http://maven.apache.org/ASSEMBLY/2.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://maven.apache.org/ASSEMBLY/2.0.0 http://maven.apache.org/xsd/assembly-2.0.0.xsd">
- <id>shardingsphere-proxy-bin</id>
- <formats>
- <format>tar.gz</format>
- </formats>
- <includeBaseDirectory>true</includeBaseDirectory>
-
- <fileSets>
- <fileSet>
- <directory>src/test/assembly/bin</directory>
- <outputDirectory>bin</outputDirectory>
- <fileMode>0755</fileMode>
- </fileSet>
- </fileSets>
-
- <dependencySets>
- <dependencySet>
- <outputDirectory>lib</outputDirectory>
- <fileMode>0644</fileMode>
- </dependencySet>
- </dependencySets>
-</assembly>
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/java/org/apache/shardingsphere/test/integration/cases/IntegrateTestCaseContext.java b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/java/org/apache/shardingsphere/test/integration/cases/IntegrateTestCaseContext.java
deleted file mode 100644
index 3969049..0000000
--- a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/java/org/apache/shardingsphere/test/integration/cases/IntegrateTestCaseContext.java
+++ /dev/null
@@ -1,34 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.apache.shardingsphere.test.integration.cases;
-
-import lombok.Getter;
-import lombok.RequiredArgsConstructor;
-import org.apache.shardingsphere.test.integration.cases.assertion.IntegrateTestCase;
-
-/**
- * Integrate test case context.
- */
-@RequiredArgsConstructor
-@Getter
-public final class IntegrateTestCaseContext {
-
- private final IntegrateTestCase testCase;
-
- private final String parentPath;
-}
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/java/org/apache/shardingsphere/test/integration/cases/IntegrateTestCasesLoader.java b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/java/org/apache/shardingsphere/test/integration/cases/IntegrateTestCasesLoader.java
deleted file mode 100644
index 3ed61fd..0000000
--- a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/java/org/apache/shardingsphere/test/integration/cases/IntegrateTestCasesLoader.java
+++ /dev/null
@@ -1,112 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.apache.shardingsphere.test.integration.cases;
-
-import com.google.common.base.Preconditions;
-import lombok.SneakyThrows;
-
-import javax.xml.bind.JAXBContext;
-import javax.xml.bind.JAXBException;
-import java.io.File;
-import java.io.FileReader;
-import java.io.IOException;
-import java.net.URISyntaxException;
-import java.net.URL;
-import java.nio.file.FileVisitResult;
-import java.nio.file.Files;
-import java.nio.file.Path;
-import java.nio.file.Paths;
-import java.nio.file.SimpleFileVisitor;
-import java.nio.file.attribute.BasicFileAttributes;
-import java.util.Collection;
-import java.util.LinkedHashMap;
-import java.util.LinkedList;
-import java.util.Map;
-import java.util.stream.Collectors;
-
-/**
- * Integrate test cases loader.
- */
-public final class IntegrateTestCasesLoader {
-
- private static final IntegrateTestCasesLoader INSTANCE = new IntegrateTestCasesLoader();
-
- private final Map<SQLCommandType, Collection<IntegrateTestCaseContext>> testCaseContexts = new LinkedHashMap<>();
-
- /**
- * Get singleton instance.
- *
- * @return singleton instance
- */
- public static IntegrateTestCasesLoader getInstance() {
- return INSTANCE;
- }
-
- /**
- * Get integrate test case contexts.
- *
- * @param sqlCommandType SQL command type
- * @return integrate test case contexts
- */
- public Collection<IntegrateTestCaseContext> getTestCaseContexts(final SQLCommandType sqlCommandType) {
- testCaseContexts.putIfAbsent(sqlCommandType, loadIntegrateTestCaseContexts(sqlCommandType));
- return testCaseContexts.get(sqlCommandType);
- }
-
- @SneakyThrows({IOException.class, URISyntaxException.class, JAXBException.class})
- private Collection<IntegrateTestCaseContext> loadIntegrateTestCaseContexts(final SQLCommandType sqlCommandType) {
- URL url = IntegrateTestCasesLoader.class.getClassLoader().getResource("integrate/cases/");
- Preconditions.checkNotNull(url, "Can not find integrate test cases.");
- return loadIntegrateTestCaseContexts(url, sqlCommandType);
- }
-
- private Collection<IntegrateTestCaseContext> loadIntegrateTestCaseContexts(final URL url, final SQLCommandType sqlCommandType) throws IOException, URISyntaxException, JAXBException {
- Collection<File> files = getFiles(url, sqlCommandType);
- Preconditions.checkNotNull(files, "Can not find integrate test cases.");
- Collection<IntegrateTestCaseContext> result = new LinkedList<>();
- for (File each : files) {
- result.addAll(getIntegrateTestCaseContexts(each));
- }
- return result;
- }
-
- private static Collection<File> getFiles(final URL url, final SQLCommandType sqlCommandType) throws IOException, URISyntaxException {
- Collection<File> result = new LinkedList<>();
- Files.walkFileTree(Paths.get(url.toURI()), new SimpleFileVisitor<Path>() {
-
- @Override
- public FileVisitResult visitFile(final Path file, final BasicFileAttributes basicFileAttributes) {
- if (file.getFileName().toString().startsWith(sqlCommandType.getFilePrefix()) && file.getFileName().toString().endsWith(".xml")) {
- result.add(file.toFile());
- }
- return FileVisitResult.CONTINUE;
- }
- });
- return result;
- }
-
- private Collection<IntegrateTestCaseContext> getIntegrateTestCaseContexts(final File file) throws IOException, JAXBException {
- return unmarshal(file.getPath()).getTestCases().stream().map(each -> new IntegrateTestCaseContext(each, file.getParent())).collect(Collectors.toList());
- }
-
- private static IntegrateTestCases unmarshal(final String integrateCasesFile) throws IOException, JAXBException {
- try (FileReader reader = new FileReader(integrateCasesFile)) {
- return (IntegrateTestCases) JAXBContext.newInstance(IntegrateTestCases.class).createUnmarshaller().unmarshal(reader);
- }
- }
-}
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/java/org/apache/shardingsphere/test/integration/cases/SQLCommandType.java b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/java/org/apache/shardingsphere/test/integration/cases/SQLCommandType.java
deleted file mode 100644
index 065f11f..0000000
--- a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/java/org/apache/shardingsphere/test/integration/cases/SQLCommandType.java
+++ /dev/null
@@ -1,78 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.apache.shardingsphere.test.integration.cases;
-
-import lombok.Getter;
-import lombok.RequiredArgsConstructor;
-import org.apache.shardingsphere.sql.parser.sql.common.statement.SQLStatement;
-import org.apache.shardingsphere.sql.parser.sql.common.statement.dal.DALStatement;
-import org.apache.shardingsphere.sql.parser.sql.common.statement.dcl.DCLStatement;
-import org.apache.shardingsphere.sql.parser.sql.common.statement.ddl.DDLStatement;
-import org.apache.shardingsphere.sql.parser.sql.common.statement.dml.DMLStatement;
-import org.apache.shardingsphere.sql.parser.sql.common.statement.dml.SelectStatement;
-import org.apache.shardingsphere.sql.parser.sql.common.statement.tcl.TCLStatement;
-
-/**
- * SQL command type.
- */
-@RequiredArgsConstructor
-@Getter
-public enum SQLCommandType {
-
- /**
- * Data Query Language.
- *
- * <p>Such as {@code SELECT}.</p>
- */
- DQL(SelectStatement.class, "dql-integrate-test-cases"),
-
- /**
- * Data Manipulation Language.
- *
- * <p>Such as {@code INSERT}, {@code UPDATE}, {@code DELETE}.</p>
- */
- DML(DMLStatement.class, "dml-integrate-test-cases"),
-
- /**
- * Data Definition Language.
- *
- * <p>Such as {@code CREATE}, {@code ALTER}, {@code DROP}, {@code TRUNCATE}.</p>
- */
- DDL(DDLStatement.class, "ddl-integrate-test-cases"),
-
- /**
- * Transaction Control Language.
- *
- * <p>Such as {@code SET}, {@code COMMIT}, {@code ROLLBACK}, {@code SAVEPOIINT}, {@code BEGIN}.</p>
- */
- TCL(TCLStatement.class, "tcl-integrate-test-cases"),
-
- /**
- * Database administrator Language.
- */
- DAL(DALStatement.class, "dal-integrate-test-cases"),
-
- /**
- * Database control Language.
- */
- DCL(DCLStatement.class, "dcl-integrate-test-cases");
-
- private final Class<? extends SQLStatement> sqlStatementClass;
-
- private final String filePrefix;
-}
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/java/org/apache/shardingsphere/test/integration/cases/assertion/IntegrateTestCase.java b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/java/org/apache/shardingsphere/test/integration/cases/assertion/IntegrateTestCase.java
deleted file mode 100644
index 847825a..0000000
--- a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/java/org/apache/shardingsphere/test/integration/cases/assertion/IntegrateTestCase.java
+++ /dev/null
@@ -1,46 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.apache.shardingsphere.test.integration.cases.assertion;
-
-import lombok.Getter;
-import lombok.Setter;
-
-import javax.xml.bind.annotation.XmlAccessType;
-import javax.xml.bind.annotation.XmlAccessorType;
-import javax.xml.bind.annotation.XmlAttribute;
-import javax.xml.bind.annotation.XmlElement;
-import java.util.Collection;
-import java.util.LinkedList;
-
-/**
- * JAXB definition of integrate test case.
- */
-@Getter
-@Setter
-@XmlAccessorType(XmlAccessType.FIELD)
-public final class IntegrateTestCase {
-
- @XmlAttribute(name = "sql")
- private String sql;
-
- @XmlAttribute(name = "db-types")
- private String dbTypes;
-
- @XmlElement(name = "assertion")
- private Collection<IntegrateTestCaseAssertion> assertions = new LinkedList<>();
-}
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/java/org/apache/shardingsphere/test/integration/cases/dataset/DataSet.java b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/java/org/apache/shardingsphere/test/integration/cases/dataset/DataSet.java
deleted file mode 100644
index 462ba32..0000000
--- a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/java/org/apache/shardingsphere/test/integration/cases/dataset/DataSet.java
+++ /dev/null
@@ -1,91 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.apache.shardingsphere.test.integration.cases.dataset;
-
-import lombok.Getter;
-import org.apache.shardingsphere.infra.datanode.DataNode;
-import org.apache.shardingsphere.sharding.algorithm.sharding.inline.InlineExpressionParser;
-import org.apache.shardingsphere.test.integration.cases.dataset.metadata.DataSetMetadata;
-import org.apache.shardingsphere.test.integration.cases.dataset.row.DataSetRow;
-
-import javax.xml.bind.annotation.XmlAttribute;
-import javax.xml.bind.annotation.XmlElement;
-import javax.xml.bind.annotation.XmlRootElement;
-import java.util.LinkedList;
-import java.util.List;
-import java.util.Optional;
-import java.util.stream.Collectors;
-
-/**
- * Data sets root xml entry.
- */
-@Getter
-@XmlRootElement(name = "dataset")
-public final class DataSet {
-
- @XmlAttribute(name = "update-count")
- private int updateCount;
-
- @XmlElement(name = "metadata")
- private final List<DataSetMetadata> metadataList = new LinkedList<>();
-
- @XmlElement(name = "row")
- private final List<DataSetRow> rows = new LinkedList<>();
-
- /**
- * Find data set meta data via table name.
- *
- * @param tableName table name
- * @return data set meta data belong to current table
- */
- public DataSetMetadata findMetadata(final String tableName) {
- Optional<DataSetMetadata> result = metadataList.stream().filter(each -> tableName.equals(each.getTableName())).findFirst();
- if (result.isPresent()) {
- return result.get();
- }
- throw new IllegalArgumentException(String.format("Cannot find expected metadata via table name: '%s'", tableName));
- }
-
- /**
- * Find data set meta data via data node.
- *
- * @param dataNode data node
- * @return data set meta data belong to current data node
- */
- public DataSetMetadata findMetadata(final DataNode dataNode) {
- Optional<DataSetMetadata> result = metadataList.stream().filter(each -> contains(new InlineExpressionParser(each.getDataNodes()).splitAndEvaluate(), dataNode)).findFirst();
- if (result.isPresent()) {
- return result.get();
- }
- throw new IllegalArgumentException(String.format("Cannot find data node: %s", dataNode));
- }
-
- private boolean contains(final List<String> dataNodes, final DataNode dataNode) {
- return dataNodes.stream().anyMatch(each -> new DataNode(each).equals(dataNode));
- }
-
- /**
- * Find data set rows via data node.
- *
- * @param dataNode data node
- * @return data set rows belong to current data node
- */
- public List<DataSetRow> findRows(final DataNode dataNode) {
- return rows.stream().filter(each -> new DataNode(each.getDataNode()).equals(dataNode)).collect(Collectors.toList());
- }
-}
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/java/org/apache/shardingsphere/test/integration/cases/dataset/DataSetLoader.java b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/java/org/apache/shardingsphere/test/integration/cases/dataset/DataSetLoader.java
deleted file mode 100644
index 384d55b..0000000
--- a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/java/org/apache/shardingsphere/test/integration/cases/dataset/DataSetLoader.java
+++ /dev/null
@@ -1,70 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.apache.shardingsphere.test.integration.cases.dataset;
-
-import lombok.AccessLevel;
-import lombok.NoArgsConstructor;
-import lombok.SneakyThrows;
-import org.apache.shardingsphere.infra.database.type.DatabaseType;
-
-import javax.xml.bind.JAXBContext;
-import javax.xml.bind.JAXBException;
-import java.io.File;
-import java.io.FileReader;
-import java.io.IOException;
-
-/**
- * Data set loader.
- */
-@NoArgsConstructor(access = AccessLevel.PRIVATE)
-public final class DataSetLoader {
-
- private static final String DATA_SET_FOLDER_NAME = "dataset";
-
- /**
- * Load data set.
- *
- * @param parentPath parent path of data set file
- * @param scenario scenario
- * @param databaseType database type
- * @param dataSetFile name of data set file
- * @return data set
- */
- @SneakyThrows({JAXBException.class, IOException.class})
- public static DataSet load(final String parentPath, final String scenario, final DatabaseType databaseType, final String dataSetFile) {
- try (FileReader reader = new FileReader(getFile(parentPath, scenario, databaseType, dataSetFile))) {
- return (DataSet) JAXBContext.newInstance(DataSet.class).createUnmarshaller().unmarshal(reader);
- }
- }
-
- private static String getFile(final String parentPath, final String scenario, final DatabaseType databaseType, final String dataSetFile) {
- String result = String.join(File.separator, parentPath, DATA_SET_FOLDER_NAME, scenario, databaseType.getName().toLowerCase(), dataSetFile);
- if (new File(result).exists()) {
- return result;
- }
- result = String.join(File.separator, parentPath, DATA_SET_FOLDER_NAME, scenario, dataSetFile);
- if (new File(result).exists()) {
- return result;
- }
- result = String.join(File.separator, parentPath, DATA_SET_FOLDER_NAME, dataSetFile);
- if (new File(result).exists()) {
- return result;
- }
- throw new IllegalArgumentException(String.format("%s not found, path=%s, scenario=%s, databaseType=%s", dataSetFile, parentPath, scenario, databaseType.getName()));
- }
-}
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/java/org/apache/shardingsphere/test/integration/cases/dataset/metadata/DataSetColumn.java b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/java/org/apache/shardingsphere/test/integration/cases/dataset/metadata/DataSetColumn.java
deleted file mode 100644
index be15ef0..0000000
--- a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/java/org/apache/shardingsphere/test/integration/cases/dataset/metadata/DataSetColumn.java
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.apache.shardingsphere.test.integration.cases.dataset.metadata;
-
-import lombok.EqualsAndHashCode;
-import lombok.Getter;
-import lombok.Setter;
-
-import javax.xml.bind.annotation.XmlAccessType;
-import javax.xml.bind.annotation.XmlAccessorType;
-import javax.xml.bind.annotation.XmlAttribute;
-
-@Getter
-@Setter
-@XmlAccessorType(XmlAccessType.FIELD)
-@EqualsAndHashCode
-public final class DataSetColumn {
-
- @XmlAttribute(required = true)
- private String name;
-
- @XmlAttribute
- private String type;
-}
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/java/org/apache/shardingsphere/test/integration/cases/dataset/metadata/DataSetIndex.java b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/java/org/apache/shardingsphere/test/integration/cases/dataset/metadata/DataSetIndex.java
deleted file mode 100644
index ec8a214..0000000
--- a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/java/org/apache/shardingsphere/test/integration/cases/dataset/metadata/DataSetIndex.java
+++ /dev/null
@@ -1,40 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.apache.shardingsphere.test.integration.cases.dataset.metadata;
-
-import lombok.Getter;
-import lombok.Setter;
-
-import javax.xml.bind.annotation.XmlAccessType;
-import javax.xml.bind.annotation.XmlAccessorType;
-import javax.xml.bind.annotation.XmlAttribute;
-
-@Getter
-@Setter
-@XmlAccessorType(XmlAccessType.FIELD)
-public final class DataSetIndex {
-
- @XmlAttribute
- private String name;
-
- @XmlAttribute
- private String columns;
-
- @XmlAttribute
- private boolean unique;
-}
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/java/org/apache/shardingsphere/test/integration/cases/dataset/metadata/DataSetMetadata.java b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/java/org/apache/shardingsphere/test/integration/cases/dataset/metadata/DataSetMetadata.java
deleted file mode 100644
index ab98f68..0000000
--- a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/java/org/apache/shardingsphere/test/integration/cases/dataset/metadata/DataSetMetadata.java
+++ /dev/null
@@ -1,46 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.apache.shardingsphere.test.integration.cases.dataset.metadata;
-
-import lombok.Getter;
-import lombok.Setter;
-
-import javax.xml.bind.annotation.XmlAccessType;
-import javax.xml.bind.annotation.XmlAccessorType;
-import javax.xml.bind.annotation.XmlAttribute;
-import javax.xml.bind.annotation.XmlElement;
-import java.util.LinkedList;
-import java.util.List;
-
-@Getter
-@Setter
-@XmlAccessorType(XmlAccessType.FIELD)
-public final class DataSetMetadata {
-
- @XmlAttribute(name = "data-nodes")
- private String dataNodes;
-
- @XmlAttribute(name = "table-name")
- private String tableName;
-
- @XmlElement(name = "column")
- private final List<DataSetColumn> columns = new LinkedList<>();
-
- @XmlElement(name = "index")
- private final List<DataSetIndex> indexes = new LinkedList<>();
-}
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/java/org/apache/shardingsphere/test/integration/cases/dataset/row/DataSetRow.java b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/java/org/apache/shardingsphere/test/integration/cases/dataset/row/DataSetRow.java
deleted file mode 100644
index c580176..0000000
--- a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/java/org/apache/shardingsphere/test/integration/cases/dataset/row/DataSetRow.java
+++ /dev/null
@@ -1,51 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.apache.shardingsphere.test.integration.cases.dataset.row;
-
-import com.google.common.base.Splitter;
-import lombok.Getter;
-import lombok.Setter;
-
-import javax.xml.bind.annotation.XmlAccessType;
-import javax.xml.bind.annotation.XmlAccessorType;
-import javax.xml.bind.annotation.XmlAttribute;
-import java.util.List;
-
-/**
- * Data set row.
- */
-@Getter
-@Setter
-@XmlAccessorType(XmlAccessType.FIELD)
-public final class DataSetRow {
-
- @XmlAttribute(name = "data-node")
- private String dataNode;
-
- @XmlAttribute(required = true)
- private String values;
-
- /**
- * Get values.
- *
- * @return value list
- */
- public List<String> getValues() {
- return Splitter.on(",").trimResults().splitToList(values);
- }
-}
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/java/org/apache/shardingsphere/test/integration/cases/value/SQLValue.java b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/java/org/apache/shardingsphere/test/integration/cases/value/SQLValue.java
deleted file mode 100644
index ba2e8aa..0000000
--- a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/java/org/apache/shardingsphere/test/integration/cases/value/SQLValue.java
+++ /dev/null
@@ -1,70 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.apache.shardingsphere.test.integration.cases.value;
-
-import lombok.Getter;
-
-import java.sql.Date;
-import java.text.ParseException;
-import java.text.SimpleDateFormat;
-
-/**
- * SQL value.
- */
-@Getter
-public final class SQLValue {
-
- private final Object value;
-
- private final int index;
-
- public SQLValue(final String value, final String type, final int index) throws ParseException {
- this.value = getValue(value, type);
- this.index = index;
- }
-
- private Object getValue(final String value, final String type) throws ParseException {
- if (null == type || "varchar".equals(type) || "char".equals(type) || "String".equals(type) || "json".equals(type)) {
- return value;
- }
- if ("int".equals(type)) {
- return Integer.valueOf(value);
- }
- if ("numeric".equals(type) && !value.contains("//.")) {
- return Long.valueOf(value);
- }
- if ("numeric".equals(type) && value.contains("//.")) {
- return Double.valueOf(value);
- }
- if ("datetime".equals(type)) {
- return new Date(new SimpleDateFormat("yyyy-MM-dd").parse(value).getTime());
- }
- throw new UnsupportedOperationException(String.format("Cannot support type: `%s`", type));
- }
-
- @Override
- public String toString() {
- if (value instanceof String) {
- return "'" + value + "'";
- }
- if (value instanceof Date) {
- return new SimpleDateFormat("yyyy-MM-dd").format(value);
- }
- return value.toString();
- }
-}
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/java/org/apache/shardingsphere/test/integration/engine/it/BaseIT.java b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/java/org/apache/shardingsphere/test/integration/engine/it/BaseIT.java
deleted file mode 100644
index 32f7b87..0000000
--- a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/java/org/apache/shardingsphere/test/integration/engine/it/BaseIT.java
+++ /dev/null
@@ -1,86 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.apache.shardingsphere.test.integration.engine.it;
-
-import lombok.AccessLevel;
-import lombok.Getter;
-import org.apache.shardingsphere.driver.api.yaml.YamlShardingSphereDataSourceFactory;
-import org.apache.shardingsphere.driver.jdbc.core.datasource.ShardingSphereDataSource;
-import org.apache.shardingsphere.infra.database.type.DatabaseType;
-import org.apache.shardingsphere.test.integration.env.EnvironmentPath;
-import org.apache.shardingsphere.test.integration.env.IntegrateTestEnvironment;
-import org.apache.shardingsphere.test.integration.env.datasource.builder.ActualDataSourceBuilder;
-import org.apache.shardingsphere.test.integration.env.datasource.builder.ProxyDataSourceBuilder;
-import org.junit.After;
-import org.junit.runner.RunWith;
-import org.junit.runners.Parameterized;
-
-import javax.sql.DataSource;
-import javax.xml.bind.JAXBException;
-import java.io.File;
-import java.io.IOException;
-import java.sql.SQLException;
-import java.util.Map;
-import java.util.TimeZone;
-
-@RunWith(Parameterized.class)
-@Getter(AccessLevel.PROTECTED)
-public abstract class BaseIT {
-
- public static final String NOT_VERIFY_FLAG = "NOT_VERIFY";
-
- private final String adapter;
-
- private final String scenario;
-
- private final DatabaseType databaseType;
-
- private final Map<String, DataSource> actualDataSources;
-
- private DataSource targetDataSource;
-
- static {
- TimeZone.setDefault(TimeZone.getTimeZone("UTC"));
- }
-
- BaseIT(final String adapter, final String scenario, final DatabaseType databaseType) throws IOException, JAXBException, SQLException {
- this.adapter = adapter;
- this.scenario = scenario;
- this.databaseType = databaseType;
- actualDataSources = ActualDataSourceBuilder.createActualDataSources(scenario, databaseType);
- targetDataSource = createTargetDataSource();
- }
-
- private DataSource createTargetDataSource() throws SQLException, IOException {
- if ("proxy".equalsIgnoreCase(adapter)) {
- return ProxyDataSourceBuilder.build(scenario, databaseType, IntegrateTestEnvironment.getInstance().getProxyEnvironments().get(scenario));
- }
- return YamlShardingSphereDataSourceFactory.createDataSource(actualDataSources, new File(EnvironmentPath.getRulesConfigurationFile(scenario)));
- }
-
- protected final void resetTargetDataSource() throws IOException, SQLException {
- targetDataSource = createTargetDataSource();
- }
-
- @After
- public final void tearDown() {
- if (targetDataSource instanceof ShardingSphereDataSource) {
- ((ShardingSphereDataSource) targetDataSource).getMetaDataContexts().getExecutorEngine().close();
- }
- }
-}
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/java/org/apache/shardingsphere/test/integration/engine/it/BatchIT.java b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/java/org/apache/shardingsphere/test/integration/engine/it/BatchIT.java
deleted file mode 100644
index 930600f..0000000
--- a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/java/org/apache/shardingsphere/test/integration/engine/it/BatchIT.java
+++ /dev/null
@@ -1,188 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.apache.shardingsphere.test.integration.engine.it;
-
-import lombok.AccessLevel;
-import lombok.Getter;
-import org.apache.shardingsphere.infra.database.type.DatabaseType;
-import org.apache.shardingsphere.infra.datanode.DataNode;
-import org.apache.shardingsphere.sharding.algorithm.sharding.inline.InlineExpressionParser;
-import org.apache.shardingsphere.test.integration.cases.IntegrateTestCaseContext;
-import org.apache.shardingsphere.test.integration.cases.assertion.IntegrateTestCaseAssertion;
-import org.apache.shardingsphere.test.integration.cases.dataset.DataSet;
-import org.apache.shardingsphere.test.integration.cases.dataset.DataSetLoader;
-import org.apache.shardingsphere.test.integration.cases.dataset.metadata.DataSetColumn;
-import org.apache.shardingsphere.test.integration.cases.dataset.metadata.DataSetMetadata;
-import org.apache.shardingsphere.test.integration.cases.dataset.row.DataSetRow;
-import org.apache.shardingsphere.test.integration.env.EnvironmentPath;
-import org.apache.shardingsphere.test.integration.env.dataset.DataSetEnvironmentManager;
-import org.apache.shardingsphere.test.integration.env.schema.SchemaEnvironmentManager;
-import org.junit.After;
-import org.junit.AfterClass;
-import org.junit.Before;
-import org.junit.BeforeClass;
-
-import javax.xml.bind.JAXBException;
-import java.io.IOException;
-import java.sql.Connection;
-import java.sql.PreparedStatement;
-import java.sql.ResultSet;
-import java.sql.ResultSetMetaData;
-import java.sql.SQLException;
-import java.sql.Types;
-import java.text.ParseException;
-import java.text.SimpleDateFormat;
-import java.util.Collection;
-import java.util.Comparator;
-import java.util.HashSet;
-import java.util.LinkedList;
-import java.util.List;
-import java.util.Set;
-
-import static org.hamcrest.CoreMatchers.is;
-import static org.junit.Assert.assertThat;
-
-@Getter(AccessLevel.PROTECTED)
-public abstract class BatchIT extends BaseIT {
-
- private static DataSetEnvironmentManager dataSetEnvironmentManager;
-
- private final IntegrateTestCaseContext testCaseContext;
-
- private final String sql;
-
- private final Collection<DataSet> dataSets;
-
- protected BatchIT(final IntegrateTestCaseContext testCaseContext,
- final String adapter, final String scenario, final DatabaseType databaseType, final String sql) throws IOException, JAXBException, SQLException {
- super(adapter, scenario, databaseType);
- this.testCaseContext = testCaseContext;
- this.sql = sql;
- dataSets = new LinkedList<>();
- for (IntegrateTestCaseAssertion each : testCaseContext.getTestCase().getAssertions()) {
- dataSets.add(DataSetLoader.load(testCaseContext.getParentPath(), scenario, databaseType, each.getExpectedDataFile()));
- }
- dataSetEnvironmentManager = new DataSetEnvironmentManager(EnvironmentPath.getDataSetFile(scenario), getActualDataSources());
- }
-
- @BeforeClass
- public static void initDatabasesAndTables() throws JAXBException, IOException {
- SchemaEnvironmentManager.createDatabases();
- SchemaEnvironmentManager.dropTables();
- SchemaEnvironmentManager.createTables();
- }
-
- @AfterClass
- public static void destroyDatabasesAndTables() throws IOException, JAXBException {
- SchemaEnvironmentManager.dropDatabases();
- }
-
- @Before
- public void fillData() throws SQLException, ParseException {
- dataSetEnvironmentManager.fillData();
- }
-
- @After
- public void clearData() {
- dataSetEnvironmentManager.clearData();
- }
-
- protected final void assertDataSet(final int[] actualUpdateCounts) throws SQLException {
- Collection<DataSet> expectedList = new LinkedList<>();
- assertThat(actualUpdateCounts.length, is(dataSets.size()));
- int count = 0;
- for (DataSet each : dataSets) {
- assertThat(actualUpdateCounts[count], is(each.getUpdateCount()));
- expectedList.add(each);
- count++;
- }
- DataSet expected = merge(expectedList);
- assertThat("Only support single table for DML.", expected.getMetadataList().size(), is(1));
- DataSetMetadata expectedDataSetMetadata = expected.getMetadataList().get(0);
- for (String each : new InlineExpressionParser(expectedDataSetMetadata.getDataNodes()).splitAndEvaluate()) {
- DataNode dataNode = new DataNode(each);
- try (Connection connection = getActualDataSources().get(dataNode.getDataSourceName()).getConnection();
- PreparedStatement preparedStatement = connection.prepareStatement(String.format("SELECT * FROM %s ORDER BY 1", dataNode.getTableName()))) {
- assertDataSet(preparedStatement, expected.findRows(dataNode), expectedDataSetMetadata);
- }
- }
- }
-
- private void assertDataSet(final PreparedStatement actualPreparedStatement, final List<DataSetRow> expectedDataSetRows, final DataSetMetadata expectedDataSetMetadata) throws SQLException {
- try (ResultSet actualResultSet = actualPreparedStatement.executeQuery()) {
- assertMetaData(actualResultSet.getMetaData(), expectedDataSetMetadata.getColumns());
- assertRows(actualResultSet, expectedDataSetRows);
- }
- }
-
- private DataSet merge(final Collection<DataSet> expectedList) {
- DataSet result = new DataSet();
- Set<List<String>> existedRowValues = new HashSet<>();
- for (DataSet each : expectedList) {
- mergeMetadata(each, result);
- mergeRow(each, result, existedRowValues);
- }
- sortRow(result);
- return result;
- }
-
- private void mergeMetadata(final DataSet original, final DataSet dist) {
- if (dist.getMetadataList().isEmpty()) {
- dist.getMetadataList().addAll(original.getMetadataList());
- }
- }
-
- private void mergeRow(final DataSet original, final DataSet dist, final Set<List<String>> existedRowValues) {
- for (DataSetRow each : original.getRows()) {
- if (existedRowValues.add(each.getValues())) {
- dist.getRows().add(each);
- }
- }
- }
-
- private void sortRow(final DataSet dataSet) {
- dataSet.getRows().sort(Comparator.comparingInt(o -> Integer.parseInt(o.getValues().get(0))));
- }
-
- private void assertMetaData(final ResultSetMetaData actualMetaData, final Collection<DataSetColumn> columnMetadataList) throws SQLException {
- assertThat(actualMetaData.getColumnCount(), is(columnMetadataList.size()));
- int index = 1;
- for (DataSetColumn each : columnMetadataList) {
- assertThat(actualMetaData.getColumnLabel(index++), is(each.getName()));
- }
- }
-
- private void assertRows(final ResultSet actualResultSet, final List<DataSetRow> expectedDatSetRows) throws SQLException {
- int count = 0;
- while (actualResultSet.next()) {
- int index = 1;
- for (String each : expectedDatSetRows.get(count).getValues()) {
- if (Types.DATE == actualResultSet.getMetaData().getColumnType(index)) {
- if (!NOT_VERIFY_FLAG.equals(each)) {
- assertThat(new SimpleDateFormat("yyyy-MM-dd").format(actualResultSet.getDate(index)), is(each));
- }
- } else {
- assertThat(String.valueOf(actualResultSet.getObject(index)), is(each));
- }
- index++;
- }
- count++;
- }
- assertThat("Size of actual result set is different with size of expected dat set rows.", count, is(expectedDatSetRows.size()));
- }
-}
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/java/org/apache/shardingsphere/test/integration/engine/it/SingleIT.java b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/java/org/apache/shardingsphere/test/integration/engine/it/SingleIT.java
deleted file mode 100644
index 55dd926..0000000
--- a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/java/org/apache/shardingsphere/test/integration/engine/it/SingleIT.java
+++ /dev/null
@@ -1,69 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.apache.shardingsphere.test.integration.engine.it;
-
-import lombok.AccessLevel;
-import lombok.Getter;
-import org.apache.shardingsphere.infra.database.type.DatabaseType;
-import org.apache.shardingsphere.test.integration.cases.assertion.IntegrateTestCaseAssertion;
-import org.apache.shardingsphere.test.integration.engine.param.SQLExecuteType;
-import org.apache.shardingsphere.test.integration.cases.value.SQLValue;
-import org.apache.shardingsphere.test.integration.cases.dataset.DataSet;
-import org.apache.shardingsphere.test.integration.cases.dataset.DataSetLoader;
-import org.apache.shardingsphere.test.integration.engine.watcher.ITWatcher;
-import org.junit.Rule;
-
-import javax.xml.bind.JAXBException;
-import java.io.IOException;
-import java.sql.SQLException;
-import java.text.ParseException;
-import java.util.Collections;
-import java.util.List;
-import java.util.stream.Collectors;
-
-@Getter(AccessLevel.PROTECTED)
-public abstract class SingleIT extends BaseIT {
-
- @Rule
- public ITWatcher watcher = new ITWatcher();
-
- private final String caseIdentifier;
-
- private final IntegrateTestCaseAssertion assertion;
-
- private final SQLExecuteType sqlExecuteType;
-
- private final DataSet dataSet;
-
- private final String sql;
-
- protected SingleIT(final String parentPath, final IntegrateTestCaseAssertion assertion, final String adapter, final String scenario,
- final DatabaseType databaseType, final SQLExecuteType sqlExecuteType, final String sql) throws IOException, JAXBException, SQLException, ParseException {
- super(adapter, scenario, databaseType);
- caseIdentifier = sql;
- this.assertion = assertion;
- this.sqlExecuteType = sqlExecuteType;
- this.sql = sqlExecuteType == SQLExecuteType.Literal ? getLiteralSQL(sql) : sql;
- dataSet = null == assertion ? null : DataSetLoader.load(parentPath, scenario, databaseType, assertion.getExpectedDataFile());
- }
-
- private String getLiteralSQL(final String sql) throws ParseException {
- List<Object> parameters = null == assertion ? Collections.emptyList() : assertion.getSQLValues().stream().map(SQLValue::toString).collect(Collectors.toList());
- return parameters.isEmpty() ? sql : String.format(sql.replace("%", "$").replace("?", "%s"), parameters.toArray()).replace("$", "%").replace("%%", "%").replace("'%'", "'%%'");
- }
-}
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/java/org/apache/shardingsphere/test/integration/engine/it/dcl/GeneralDCLIT.java b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/java/org/apache/shardingsphere/test/integration/engine/it/dcl/GeneralDCLIT.java
deleted file mode 100644
index a4d9996..0000000
--- a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/java/org/apache/shardingsphere/test/integration/engine/it/dcl/GeneralDCLIT.java
+++ /dev/null
@@ -1,68 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.apache.shardingsphere.test.integration.engine.it.dcl;
-
-import org.apache.shardingsphere.infra.database.type.DatabaseTypeRegistry;
-import org.apache.shardingsphere.test.integration.cases.SQLCommandType;
-import org.apache.shardingsphere.test.integration.cases.assertion.IntegrateTestCaseAssertion;
-import org.apache.shardingsphere.test.integration.engine.param.SQLExecuteType;
-import org.apache.shardingsphere.test.integration.engine.param.ParameterizedArrayFactory;
-import org.junit.Test;
-import org.junit.runners.Parameterized.Parameters;
-
-import javax.xml.bind.JAXBException;
-import java.io.IOException;
-import java.sql.Connection;
-import java.sql.SQLException;
-import java.text.ParseException;
-import java.util.Collection;
-
-public final class GeneralDCLIT extends BaseDCLIT {
-
- public GeneralDCLIT(final String parentPath, final IntegrateTestCaseAssertion assertion, final String adapter, final String scenario,
- final String databaseType, final SQLExecuteType sqlExecuteType, final String sql) throws IOException, JAXBException, SQLException, ParseException {
- super(parentPath, assertion, adapter, scenario, DatabaseTypeRegistry.getActualDatabaseType(databaseType), sqlExecuteType, sql);
- }
-
- @Parameters(name = "{2}: {3} -> {4} -> {5} -> {6}")
- public static Collection<Object[]> getParameters() {
- return ParameterizedArrayFactory.getAssertionParameterizedArray(SQLCommandType.DCL);
- }
-
- @Test
- public void assertExecuteUpdate() throws SQLException {
- try (Connection connection = getTargetDataSource().getConnection()) {
- if (SQLExecuteType.Literal == getSqlExecuteType()) {
- connection.createStatement().executeUpdate(getSql());
- } else {
- connection.prepareStatement(getSql()).executeUpdate();
- }
- }
- }
-
- @Test
- public void assertExecute() throws SQLException {
- try (Connection connection = getTargetDataSource().getConnection()) {
- if (SQLExecuteType.Literal == getSqlExecuteType()) {
- connection.createStatement().execute(getSql());
- } else {
- connection.prepareStatement(getSql()).execute();
- }
- }
- }
-}
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/java/org/apache/shardingsphere/test/integration/engine/it/ddl/BaseDDLIT.java b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/java/org/apache/shardingsphere/test/integration/engine/it/ddl/BaseDDLIT.java
deleted file mode 100644
index 3cec03f..0000000
--- a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/java/org/apache/shardingsphere/test/integration/engine/it/ddl/BaseDDLIT.java
+++ /dev/null
@@ -1,222 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.apache.shardingsphere.test.integration.engine.it.ddl;
-
-import com.google.common.base.Splitter;
-import org.apache.shardingsphere.infra.database.type.DatabaseType;
-import org.apache.shardingsphere.infra.datanode.DataNode;
-import org.apache.shardingsphere.sharding.algorithm.sharding.inline.InlineExpressionParser;
-import org.apache.shardingsphere.test.integration.cases.assertion.IntegrateTestCaseAssertion;
-import org.apache.shardingsphere.test.integration.engine.param.SQLExecuteType;
-import org.apache.shardingsphere.test.integration.cases.dataset.metadata.DataSetColumn;
-import org.apache.shardingsphere.test.integration.cases.dataset.metadata.DataSetIndex;
-import org.apache.shardingsphere.test.integration.cases.dataset.metadata.DataSetMetadata;
-import org.apache.shardingsphere.test.integration.engine.it.SingleIT;
-import org.apache.shardingsphere.test.integration.env.EnvironmentPath;
-import org.apache.shardingsphere.test.integration.env.dataset.DataSetEnvironmentManager;
-import org.apache.shardingsphere.test.integration.env.schema.SchemaEnvironmentManager;
-import org.junit.After;
-import org.junit.AfterClass;
-import org.junit.Before;
-import org.junit.BeforeClass;
-
-import javax.xml.bind.JAXBException;
-import java.io.IOException;
-import java.sql.Connection;
-import java.sql.DatabaseMetaData;
-import java.sql.PreparedStatement;
-import java.sql.ResultSet;
-import java.sql.SQLException;
-import java.text.ParseException;
-import java.util.Collection;
-import java.util.LinkedHashSet;
-import java.util.LinkedList;
-import java.util.List;
-import java.util.Set;
-import java.util.stream.Collectors;
-
-import static org.hamcrest.CoreMatchers.is;
-import static org.junit.Assert.assertFalse;
-import static org.junit.Assert.assertNotNull;
-import static org.junit.Assert.assertThat;
-
-public abstract class BaseDDLIT extends SingleIT {
-
- private final DataSetEnvironmentManager dataSetEnvironmentManager;
-
- protected BaseDDLIT(final String parentPath, final IntegrateTestCaseAssertion assertion, final String adapter, final String scenario,
- final DatabaseType databaseType, final SQLExecuteType sqlExecuteType, final String sql) throws IOException, JAXBException, SQLException, ParseException {
- super(parentPath, assertion, adapter, scenario, databaseType, sqlExecuteType, sql);
- dataSetEnvironmentManager = new DataSetEnvironmentManager(EnvironmentPath.getDataSetFile(scenario), getActualDataSources());
- assertNotNull("Expected affected table is required", assertion.getInitialSQL());
- assertNotNull("Expected affected table is required", assertion.getInitialSQL().getAffectedTable());
- }
-
- @BeforeClass
- public static void initDatabases() throws IOException, JAXBException {
- SchemaEnvironmentManager.createDatabases();
- }
-
- @AfterClass
- public static void destroyDatabases() throws IOException, JAXBException {
- SchemaEnvironmentManager.dropDatabases();
- }
-
- @Before
- public final void initTables() throws SQLException, ParseException, IOException, JAXBException {
- SchemaEnvironmentManager.createTables();
- dataSetEnvironmentManager.fillData();
- try (Connection connection = getTargetDataSource().getConnection()) {
- executeInitSQLs(connection);
- }
- resetTargetDataSource();
- }
-
- private void executeInitSQLs(final Connection connection) throws SQLException {
- if (null == getAssertion().getInitialSQL().getSql()) {
- return;
- }
- for (String each : Splitter.on(";").trimResults().splitToList(getAssertion().getInitialSQL().getSql())) {
- connection.prepareStatement(each).executeUpdate();
- }
- }
-
- @After
- public final void destroyTables() throws JAXBException, IOException, SQLException {
- SchemaEnvironmentManager.dropTables();
- try (Connection connection = getTargetDataSource().getConnection()) {
- dropInitializedTable(connection);
- }
- }
-
- private void dropInitializedTable(final Connection connection) {
- try (PreparedStatement preparedStatement = connection.prepareStatement(String.format("DROP TABLE %s", getAssertion().getInitialSQL().getAffectedTable()))) {
- preparedStatement.executeUpdate();
- } catch (final SQLException ignored) {
- }
- }
-
- protected final void assertTableMetaData() throws SQLException {
- String tableName = getAssertion().getInitialSQL().getAffectedTable();
- DataSetMetadata expected = getDataSet().findMetadata(tableName);
- Collection<DataNode> dataNodes = new InlineExpressionParser(expected.getDataNodes()).splitAndEvaluate().stream().map(DataNode::new).collect(Collectors.toList());
- if (expected.getColumns().isEmpty()) {
- assertNotContainsTable(dataNodes);
- return;
- }
- assertTableMetaData(getActualColumns(dataNodes), getActualIndexes(dataNodes), expected);
- }
-
- private void assertTableMetaData(final List<DataSetColumn> actualColumns, final List<DataSetIndex> actualIndexes, final DataSetMetadata expected) {
- assertColumnMetaData(actualColumns, expected.getColumns());
- assertIndexMetaData(actualIndexes, expected.getIndexes());
- }
-
- private void assertNotContainsTable(final Collection<DataNode> dataNodes) throws SQLException {
- for (DataNode each : dataNodes) {
- try (Connection connection = getActualDataSources().get(each.getDataSourceName()).getConnection()) {
- assertNotContainsTable(connection, each.getTableName());
- }
- }
- }
-
- private void assertNotContainsTable(final Connection connection, final String tableName) throws SQLException {
- assertFalse(String.format("Table `%s` should not existed", tableName), connection.getMetaData().getTables(null, null, tableName, new String[]{"TABLE"}).next());
- }
-
- private List<DataSetColumn> getActualColumns(final Collection<DataNode> dataNodes) throws SQLException {
- Set<DataSetColumn> result = new LinkedHashSet<>();
- for (DataNode each : dataNodes) {
- try (Connection connection = getActualDataSources().get(each.getDataSourceName()).getConnection()) {
- result.addAll(getActualColumns(connection, each.getTableName()));
- }
- }
- return new LinkedList<>(result);
- }
-
- private List<DataSetColumn> getActualColumns(final Connection connection, final String tableName) throws SQLException {
- DatabaseMetaData metaData = connection.getMetaData();
- try (ResultSet resultSet = metaData.getColumns(null, null, tableName, null)) {
- List<DataSetColumn> result = new LinkedList<>();
- while (resultSet.next()) {
- DataSetColumn each = new DataSetColumn();
- each.setName(resultSet.getString("COLUMN_NAME"));
- each.setType(resultSet.getString("TYPE_NAME").toLowerCase());
- result.add(each);
- }
- return result;
- }
- }
-
- private List<DataSetIndex> getActualIndexes(final Collection<DataNode> dataNodes) throws SQLException {
- Set<DataSetIndex> result = new LinkedHashSet<>();
- for (DataNode each : dataNodes) {
- try (Connection connection = getActualDataSources().get(each.getDataSourceName()).getConnection()) {
- result.addAll(getActualIndexes(connection, each.getTableName()));
- }
- }
- return new LinkedList<>(result);
- }
-
- private List<DataSetIndex> getActualIndexes(final Connection connection, final String tableName) throws SQLException {
- DatabaseMetaData metaData = connection.getMetaData();
- try (ResultSet resultSet = metaData.getIndexInfo(null, null, tableName, false, false)) {
- List<DataSetIndex> result = new LinkedList<>();
- while (resultSet.next()) {
- DataSetIndex each = new DataSetIndex();
- each.setName(resultSet.getString("INDEX_NAME"));
- each.setUnique(!resultSet.getBoolean("NON_UNIQUE"));
- each.setColumns(resultSet.getString("COLUMN_NAME"));
- result.add(each);
- }
- return result;
- }
- }
-
- private void assertColumnMetaData(final List<DataSetColumn> actual, final List<DataSetColumn> expected) {
- assertThat("Size of actual columns is different with size of expected columns.", actual.size(), is(expected.size()));
- for (int i = 0; i < actual.size(); i++) {
- assertColumnMetaData(actual.get(i), expected.get(i));
- }
- }
-
- private void assertColumnMetaData(final DataSetColumn actual, final DataSetColumn expected) {
- assertThat("Mismatched column name.", actual.getName(), is(expected.getName()));
- if ("MySQL".equals(getDatabaseType().getName()) && "integer".equals(expected.getType())) {
- assertThat("Mismatched column type.", actual.getType(), is("int"));
- } else if ("PostgreSQL".equals(getDatabaseType().getName()) && "integer".equals(expected.getType())) {
- assertThat("Mismatched column type.", actual.getType(), is("int4"));
- } else {
- assertThat("Mismatched column type.", actual.getType(), is(expected.getType()));
- }
- }
-
- private void assertIndexMetaData(final List<DataSetIndex> actual, final List<DataSetIndex> expected) {
- for (DataSetIndex each : expected) {
- assertIndexMetaData(actual, each);
- }
- }
-
- private void assertIndexMetaData(final List<DataSetIndex> actual, final DataSetIndex expected) {
- for (DataSetIndex each : actual) {
- if (expected.getName().equals(each.getName())) {
- assertThat(each.isUnique(), is(expected.isUnique()));
- }
- }
- }
-}
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/java/org/apache/shardingsphere/test/integration/engine/it/ddl/GeneralDDLIT.java b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/java/org/apache/shardingsphere/test/integration/engine/it/ddl/GeneralDDLIT.java
deleted file mode 100644
index 5b12f1d..0000000
--- a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/java/org/apache/shardingsphere/test/integration/engine/it/ddl/GeneralDDLIT.java
+++ /dev/null
@@ -1,72 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.apache.shardingsphere.test.integration.engine.it.ddl;
-
-import org.apache.shardingsphere.infra.database.type.DatabaseTypeRegistry;
-import org.apache.shardingsphere.test.integration.cases.SQLCommandType;
-import org.apache.shardingsphere.test.integration.cases.assertion.IntegrateTestCaseAssertion;
-import org.apache.shardingsphere.test.integration.engine.param.SQLExecuteType;
-import org.apache.shardingsphere.test.integration.engine.param.ParameterizedArrayFactory;
-import org.junit.Test;
-import org.junit.runners.Parameterized.Parameters;
-
-import javax.xml.bind.JAXBException;
-import java.io.IOException;
-import java.sql.Connection;
-import java.sql.SQLException;
-import java.text.ParseException;
-import java.util.Collection;
-
-public final class GeneralDDLIT extends BaseDDLIT {
-
- public GeneralDDLIT(final String parentPath, final IntegrateTestCaseAssertion assertion, final String adapter, final String scenario,
- final String databaseType, final SQLExecuteType sqlExecuteType, final String sql) throws IOException, JAXBException, SQLException, ParseException {
- super(parentPath, assertion, adapter, scenario, DatabaseTypeRegistry.getActualDatabaseType(databaseType), sqlExecuteType, sql);
- }
-
- @Parameters(name = "{2}: {3} -> {4} -> {5} -> {6}")
- public static Collection<Object[]> getParameters() {
- return ParameterizedArrayFactory.getAssertionParameterizedArray(SQLCommandType.DDL);
- }
-
- @SuppressWarnings("JUnitTestMethodWithNoAssertions")
- @Test
- public void assertExecuteUpdate() throws SQLException {
- try (Connection connection = getTargetDataSource().getConnection()) {
- if (SQLExecuteType.Literal == getSqlExecuteType()) {
- connection.createStatement().executeUpdate(getSql());
- } else {
- connection.prepareStatement(getSql()).executeUpdate();
- }
- assertTableMetaData();
- }
- }
-
- @SuppressWarnings("JUnitTestMethodWithNoAssertions")
- @Test
- public void assertExecute() throws SQLException {
- try (Connection connection = getTargetDataSource().getConnection()) {
- if (SQLExecuteType.Literal == getSqlExecuteType()) {
- connection.createStatement().execute(getSql());
- } else {
- connection.prepareStatement(getSql()).execute();
- }
- assertTableMetaData();
- }
- }
-}
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/java/org/apache/shardingsphere/test/integration/engine/it/dml/BaseDMLIT.java b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/java/org/apache/shardingsphere/test/integration/engine/it/dml/BaseDMLIT.java
deleted file mode 100644
index 331540d..0000000
--- a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/java/org/apache/shardingsphere/test/integration/engine/it/dml/BaseDMLIT.java
+++ /dev/null
@@ -1,159 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.apache.shardingsphere.test.integration.engine.it.dml;
-
-import org.apache.shardingsphere.infra.database.type.DatabaseType;
-import org.apache.shardingsphere.infra.database.type.dialect.PostgreSQLDatabaseType;
-import org.apache.shardingsphere.infra.datanode.DataNode;
-import org.apache.shardingsphere.sharding.algorithm.sharding.inline.InlineExpressionParser;
-import org.apache.shardingsphere.test.integration.cases.assertion.IntegrateTestCaseAssertion;
-import org.apache.shardingsphere.test.integration.engine.param.SQLExecuteType;
-import org.apache.shardingsphere.test.integration.cases.dataset.metadata.DataSetColumn;
-import org.apache.shardingsphere.test.integration.cases.dataset.metadata.DataSetMetadata;
-import org.apache.shardingsphere.test.integration.cases.dataset.row.DataSetRow;
-import org.apache.shardingsphere.test.integration.engine.it.SingleIT;
-import org.apache.shardingsphere.test.integration.env.EnvironmentPath;
-import org.apache.shardingsphere.test.integration.env.dataset.DataSetEnvironmentManager;
-import org.apache.shardingsphere.test.integration.env.schema.SchemaEnvironmentManager;
-import org.junit.After;
-import org.junit.AfterClass;
-import org.junit.Before;
-import org.junit.BeforeClass;
-
-import javax.xml.bind.JAXBException;
-import java.io.IOException;
-import java.sql.Connection;
-import java.sql.PreparedStatement;
-import java.sql.ResultSet;
-import java.sql.ResultSetMetaData;
-import java.sql.SQLException;
-import java.sql.Statement;
-import java.sql.Types;
-import java.text.ParseException;
-import java.text.SimpleDateFormat;
-import java.util.Collection;
-import java.util.List;
-
-import static org.hamcrest.CoreMatchers.is;
-import static org.junit.Assert.assertThat;
-
-public abstract class BaseDMLIT extends SingleIT {
-
- private final DataSetEnvironmentManager dataSetEnvironmentManager;
-
- protected BaseDMLIT(final String parentPath, final IntegrateTestCaseAssertion assertion, final String adapter, final String scenario,
- final DatabaseType databaseType, final SQLExecuteType sqlExecuteType, final String sql) throws IOException, JAXBException, SQLException, ParseException {
- super(parentPath, assertion, adapter, scenario, databaseType, sqlExecuteType, sql);
- dataSetEnvironmentManager = new DataSetEnvironmentManager(EnvironmentPath.getDataSetFile(scenario), getActualDataSources());
- }
-
- @BeforeClass
- public static void initDatabasesAndTables() throws IOException, JAXBException {
- SchemaEnvironmentManager.createDatabases();
- SchemaEnvironmentManager.createTables();
- }
-
- @AfterClass
- public static void destroyDatabases() throws IOException, JAXBException {
- SchemaEnvironmentManager.dropDatabases();
- }
-
- @Before
- public final void fillData() throws SQLException, ParseException {
- dataSetEnvironmentManager.fillData();
- }
-
- @After
- public final void clearData() {
- dataSetEnvironmentManager.clearData();
- }
-
- protected final void assertDataSet(final int actualUpdateCount) throws SQLException {
- assertThat("Only support single table for DML.", getDataSet().getMetadataList().size(), is(1));
- assertThat(actualUpdateCount, is(getDataSet().getUpdateCount()));
- DataSetMetadata expectedDataSetMetadata = getDataSet().getMetadataList().get(0);
- for (String each : new InlineExpressionParser(expectedDataSetMetadata.getDataNodes()).splitAndEvaluate()) {
- DataNode dataNode = new DataNode(each);
- try (
- Connection connection = getActualDataSources().get(dataNode.getDataSourceName()).getConnection();
- PreparedStatement preparedStatement = connection.prepareStatement(generateFetchActualDataSQL(dataNode))) {
- assertDataSet(preparedStatement, expectedDataSetMetadata, getDataSet().findRows(dataNode));
- }
- }
- }
-
- private void assertDataSet(final PreparedStatement actualPreparedStatement, final DataSetMetadata expectedDataSetMetadata, final List<DataSetRow> expectedDataSetRows) throws SQLException {
- try (ResultSet actualResultSet = actualPreparedStatement.executeQuery()) {
- assertMetaData(actualResultSet.getMetaData(), expectedDataSetMetadata.getColumns());
- assertRows(actualResultSet, expectedDataSetRows);
- }
- }
-
- private String generateFetchActualDataSQL(final DataNode dataNode) throws SQLException {
- if (getDatabaseType() instanceof PostgreSQLDatabaseType) {
- String primaryKeyColumnName = getPrimaryKeyColumnNameForPostgreSQL(dataNode);
- return String.format("SELECT * FROM %s ORDER BY %s ASC", dataNode.getTableName(), primaryKeyColumnName);
- }
- return String.format("SELECT * FROM %s", dataNode.getTableName());
- }
-
- private String getPrimaryKeyColumnNameForPostgreSQL(final DataNode dataNode) throws SQLException {
- String sql = String.format("SELECT a.attname, format_type(a.atttypid, a.atttypmod) AS data_type "
- + "FROM pg_index i JOIN pg_attribute a ON a.attrelid = i.indrelid AND a.attnum = ANY(i.indkey) WHERE i.indrelid = '%s'::regclass AND i.indisprimary", dataNode.getTableName());
- try (
- Connection connection = getActualDataSources().get(dataNode.getDataSourceName()).getConnection();
- Statement statement = connection.createStatement();
- ResultSet resultSet = statement.executeQuery(sql)) {
- if (resultSet.next()) {
- return resultSet.getString("attname");
- }
- throw new SQLException(String.format("Can not get primary key of `%s`", dataNode.getTableName()));
- }
- }
-
- private void assertMetaData(final ResultSetMetaData actual, final Collection<DataSetColumn> expected) throws SQLException {
- assertThat(actual.getColumnCount(), is(expected.size()));
- int index = 1;
- for (DataSetColumn each : expected) {
- assertThat(actual.getColumnLabel(index++), is(each.getName()));
- }
- }
-
- private void assertRows(final ResultSet actual, final List<DataSetRow> expected) throws SQLException {
- int rowCount = 0;
- while (actual.next()) {
- int columnIndex = 1;
- for (String each : expected.get(rowCount).getValues()) {
- assertValue(actual, columnIndex, each);
- columnIndex++;
- }
- rowCount++;
- }
- assertThat("Size of actual result set is different with size of expected dat set rows.", rowCount, is(expected.size()));
- }
-
- private void assertValue(final ResultSet actual, final int columnIndex, final String expected) throws SQLException {
- if (Types.DATE == actual.getMetaData().getColumnType(columnIndex)) {
- if (!NOT_VERIFY_FLAG.equals(expected)) {
- assertThat(new SimpleDateFormat("yyyy-MM-dd").format(actual.getDate(columnIndex)), is(expected));
- }
- } else {
- assertThat(String.valueOf(actual.getObject(columnIndex)), is(expected));
- }
- }
-}
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/java/org/apache/shardingsphere/test/integration/engine/it/dml/BatchDMLIT.java b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/java/org/apache/shardingsphere/test/integration/engine/it/dml/BatchDMLIT.java
deleted file mode 100644
index 475a692..0000000
--- a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/java/org/apache/shardingsphere/test/integration/engine/it/dml/BatchDMLIT.java
+++ /dev/null
@@ -1,109 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.apache.shardingsphere.test.integration.engine.it.dml;
-
-import org.apache.shardingsphere.infra.database.type.DatabaseTypeRegistry;
-import org.apache.shardingsphere.test.integration.cases.SQLCommandType;
-import org.apache.shardingsphere.test.integration.cases.IntegrateTestCaseContext;
-import org.apache.shardingsphere.test.integration.cases.assertion.IntegrateTestCaseAssertion;
-import org.apache.shardingsphere.test.integration.cases.value.SQLValue;
-import org.apache.shardingsphere.test.integration.engine.it.BatchIT;
-import org.apache.shardingsphere.test.integration.engine.param.ParameterizedArrayFactory;
-import org.junit.Test;
-import org.junit.runners.Parameterized.Parameters;
-
-import javax.xml.bind.JAXBException;
-import java.io.IOException;
-import java.sql.Connection;
-import java.sql.PreparedStatement;
-import java.sql.SQLException;
-import java.text.ParseException;
-import java.util.Collection;
-
-import static org.hamcrest.CoreMatchers.is;
-import static org.junit.Assert.assertThat;
-
-public final class BatchDMLIT extends BatchIT {
-
- private final IntegrateTestCaseContext testCaseContext;
-
- public BatchDMLIT(final IntegrateTestCaseContext testCaseContext, final String adapter,
- final String scenario, final String databaseType, final String sql) throws IOException, JAXBException, SQLException {
- super(testCaseContext, adapter, scenario, DatabaseTypeRegistry.getActualDatabaseType(databaseType), sql);
- this.testCaseContext = testCaseContext;
- }
-
- @Parameters(name = "{1}: {2} -> {3} -> {4}")
- public static Collection<Object[]> getParameters() {
- return ParameterizedArrayFactory.getCaseParameterizedArray(SQLCommandType.DML);
- }
-
- @Test
- public void assertExecuteBatch() throws SQLException, ParseException {
- // TODO fix replica_query
- if ("replica_query".equals(getScenario())) {
- return;
- }
- // TODO fix shadow
- if ("shadow".equals(getScenario())) {
- return;
- }
- int[] actualUpdateCounts;
- try (Connection connection = getTargetDataSource().getConnection()) {
- actualUpdateCounts = executeBatchForPreparedStatement(connection);
- }
- assertDataSet(actualUpdateCounts);
- }
-
- private int[] executeBatchForPreparedStatement(final Connection connection) throws SQLException, ParseException {
- try (PreparedStatement preparedStatement = connection.prepareStatement(getSql())) {
- for (IntegrateTestCaseAssertion each : testCaseContext.getTestCase().getAssertions()) {
- addBatch(preparedStatement, each);
- }
- return preparedStatement.executeBatch();
- }
- }
-
- private void addBatch(final PreparedStatement preparedStatement, final IntegrateTestCaseAssertion assertion) throws ParseException, SQLException {
- for (SQLValue each : assertion.getSQLValues()) {
- preparedStatement.setObject(each.getIndex(), each.getValue());
- }
- preparedStatement.addBatch();
- }
-
- @Test
- public void assertClearBatch() throws SQLException, ParseException {
- // TODO fix replica_query
- if ("replica_query".equals(getScenario())) {
- return;
- }
- // TODO fix shadow
- if ("shadow".equals(getScenario())) {
- return;
- }
- try (Connection connection = getTargetDataSource().getConnection()) {
- try (PreparedStatement preparedStatement = connection.prepareStatement(getSql())) {
- for (IntegrateTestCaseAssertion each : testCaseContext.getTestCase().getAssertions()) {
- addBatch(preparedStatement, each);
- }
- preparedStatement.clearBatch();
- assertThat(preparedStatement.executeBatch().length, is(0));
- }
- }
- }
-}
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/java/org/apache/shardingsphere/test/integration/engine/it/dml/GeneralDMLIT.java b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/java/org/apache/shardingsphere/test/integration/engine/it/dml/GeneralDMLIT.java
deleted file mode 100644
index eac8a8d..0000000
--- a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/java/org/apache/shardingsphere/test/integration/engine/it/dml/GeneralDMLIT.java
+++ /dev/null
@@ -1,120 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.apache.shardingsphere.test.integration.engine.it.dml;
-
-import org.apache.shardingsphere.infra.database.type.DatabaseTypeRegistry;
-import org.apache.shardingsphere.test.integration.cases.SQLCommandType;
-import org.apache.shardingsphere.test.integration.cases.assertion.IntegrateTestCaseAssertion;
-import org.apache.shardingsphere.test.integration.engine.param.SQLExecuteType;
-import org.apache.shardingsphere.test.integration.cases.value.SQLValue;
-import org.apache.shardingsphere.test.integration.engine.param.ParameterizedArrayFactory;
-import org.junit.Test;
-import org.junit.runners.Parameterized.Parameters;
-
-import javax.xml.bind.JAXBException;
-import java.io.IOException;
-import java.sql.Connection;
-import java.sql.PreparedStatement;
-import java.sql.SQLException;
-import java.sql.Statement;
-import java.text.ParseException;
-import java.util.Collection;
-
-import static org.junit.Assert.assertFalse;
-
-public final class GeneralDMLIT extends BaseDMLIT {
-
- private final IntegrateTestCaseAssertion assertion;
-
- public GeneralDMLIT(final String parentPath, final IntegrateTestCaseAssertion assertion, final String adapter, final String scenario,
- final String databaseType, final SQLExecuteType sqlExecuteType, final String sql) throws IOException, JAXBException, SQLException, ParseException {
- super(parentPath, assertion, adapter, scenario, DatabaseTypeRegistry.getActualDatabaseType(databaseType), sqlExecuteType, sql);
- this.assertion = assertion;
- }
-
- @Parameters(name = "{2}: {3} -> {4} -> {5} -> {6}")
- public static Collection<Object[]> getParameters() {
- return ParameterizedArrayFactory.getAssertionParameterizedArray(SQLCommandType.DML);
- }
-
- @Test
- public void assertExecuteUpdate() throws SQLException, ParseException {
- // TODO fix replica-query
- if ("replica_query".equals(getScenario())) {
- return;
- }
- // TODO fix shadow
- if ("shadow".equals(getScenario())) {
- return;
- }
- int actualUpdateCount;
- try (Connection connection = getTargetDataSource().getConnection()) {
- actualUpdateCount = SQLExecuteType.Literal == getSqlExecuteType() ? executeUpdateForStatement(connection) : executeUpdateForPreparedStatement(connection);
- }
- assertDataSet(actualUpdateCount);
- }
-
- private int executeUpdateForStatement(final Connection connection) throws SQLException {
- try (Statement statement = connection.createStatement()) {
- return statement.executeUpdate(getSql());
- }
- }
-
- private int executeUpdateForPreparedStatement(final Connection connection) throws SQLException, ParseException {
- try (PreparedStatement preparedStatement = connection.prepareStatement(getSql())) {
- for (SQLValue each : assertion.getSQLValues()) {
- preparedStatement.setObject(each.getIndex(), each.getValue());
- }
- return preparedStatement.executeUpdate();
- }
- }
-
- @Test
- public void assertExecute() throws SQLException, ParseException {
- // TODO fix replica_query
- if ("replica_query".equals(getScenario())) {
- return;
- }
- // TODO fix shadow
- if ("shadow".equals(getScenario())) {
- return;
- }
- int actualUpdateCount;
- try (Connection connection = getTargetDataSource().getConnection()) {
- actualUpdateCount = SQLExecuteType.Literal == getSqlExecuteType() ? executeForStatement(connection) : executeForPreparedStatement(connection);
- }
- assertDataSet(actualUpdateCount);
- }
-
- private int executeForStatement(final Connection connection) throws SQLException {
- try (Statement statement = connection.createStatement()) {
- assertFalse("Not a DML statement.", statement.execute(getSql()));
- return statement.getUpdateCount();
- }
- }
-
- private int executeForPreparedStatement(final Connection connection) throws SQLException, ParseException {
- try (PreparedStatement preparedStatement = connection.prepareStatement(getSql())) {
- for (SQLValue each : assertion.getSQLValues()) {
- preparedStatement.setObject(each.getIndex(), each.getValue());
- }
- assertFalse("Not a DML statement.", preparedStatement.execute());
- return preparedStatement.getUpdateCount();
- }
- }
-}
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/java/org/apache/shardingsphere/test/integration/engine/it/dql/AdditionalDQLIT.java b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/java/org/apache/shardingsphere/test/integration/engine/it/dql/AdditionalDQLIT.java
deleted file mode 100644
index 873d9fe..0000000
--- a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/java/org/apache/shardingsphere/test/integration/engine/it/dql/AdditionalDQLIT.java
+++ /dev/null
@@ -1,183 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.apache.shardingsphere.test.integration.engine.it.dql;
-
-import org.apache.shardingsphere.infra.database.type.DatabaseType;
-import org.apache.shardingsphere.test.integration.cases.SQLCommandType;
-import org.apache.shardingsphere.test.integration.cases.assertion.IntegrateTestCaseAssertion;
-import org.apache.shardingsphere.test.integration.engine.param.SQLExecuteType;
-import org.apache.shardingsphere.test.integration.cases.value.SQLValue;
-import org.apache.shardingsphere.test.integration.engine.param.ParameterizedArrayFactory;
-import org.apache.shardingsphere.test.integration.env.IntegrateTestEnvironment;
-import org.junit.Test;
-import org.junit.runners.Parameterized.Parameters;
-
-import javax.xml.bind.JAXBException;
-import java.io.IOException;
-import java.sql.Connection;
-import java.sql.PreparedStatement;
-import java.sql.ResultSet;
-import java.sql.SQLException;
-import java.sql.Statement;
-import java.text.ParseException;
-import java.util.Collection;
-import java.util.Collections;
-
-import static org.junit.Assert.assertTrue;
-
-public final class AdditionalDQLIT extends BaseDQLIT {
-
- private final IntegrateTestCaseAssertion assertion;
-
- public AdditionalDQLIT(final String parentPath, final IntegrateTestCaseAssertion assertion, final String adapter, final String scenario,
- final DatabaseType databaseType, final SQLExecuteType sqlExecuteType, final String sql) throws IOException, JAXBException, SQLException, ParseException {
- super(parentPath, assertion, adapter, scenario, databaseType, sqlExecuteType, sql);
- this.assertion = assertion;
- }
-
- @Parameters(name = "{2} -> {3} -> {4} -> {5}")
- public static Collection<Object[]> getParameters() {
- return IntegrateTestEnvironment.getInstance().isRunAdditionalTestCases() ? ParameterizedArrayFactory.getAssertionParameterizedArray(SQLCommandType.DQL) : Collections.emptyList();
- }
-
- @Test
- public void assertExecuteQueryWithResultSetTypeAndResultSetConcurrency() throws SQLException, ParseException {
- try (Connection connection = getTargetDataSource().getConnection()) {
- if (SQLExecuteType.Literal == getSqlExecuteType()) {
- assertExecuteQueryForStatementWithResultSetTypeAndResultSetConcurrency(connection);
- } else {
- assertExecuteQueryForPreparedStatementWithResultSetTypeAndResultSetConcurrency(connection);
- }
- }
- }
-
- private void assertExecuteQueryForStatementWithResultSetTypeAndResultSetConcurrency(final Connection connection) throws SQLException, ParseException {
- try (
- Statement statement = connection.createStatement(ResultSet.TYPE_FORWARD_ONLY, ResultSet.CONCUR_READ_ONLY);
- ResultSet resultSet = statement.executeQuery(String.format(getSql(), assertion.getSQLValues().toArray()))) {
- assertResultSet(resultSet);
- }
- }
-
- private void assertExecuteQueryForPreparedStatementWithResultSetTypeAndResultSetConcurrency(final Connection connection) throws SQLException, ParseException {
- try (PreparedStatement preparedStatement = connection.prepareStatement(getSql(), ResultSet.TYPE_FORWARD_ONLY, ResultSet.CONCUR_READ_ONLY)) {
- for (SQLValue each : assertion.getSQLValues()) {
- preparedStatement.setObject(each.getIndex(), each.getValue());
- }
- try (ResultSet resultSet = preparedStatement.executeQuery()) {
- assertResultSet(resultSet);
- }
- }
- }
-
- @Test
- public void assertExecuteQueryWithResultSetTypeAndResultSetConcurrencyAndResultSetHoldability() throws SQLException, ParseException {
- try (Connection connection = getTargetDataSource().getConnection()) {
- if (SQLExecuteType.Literal == getSqlExecuteType()) {
- assertExecuteQueryForStatementWithResultSetTypeAndResultSetConcurrencyAndResultSetHoldability(connection);
- } else {
- assertExecuteQueryForPreparedStatementWithResultSetTypeAndResultSetConcurrencyAndResultSetHoldability(connection);
- }
- }
- }
-
- private void assertExecuteQueryForStatementWithResultSetTypeAndResultSetConcurrencyAndResultSetHoldability(final Connection connection)
- throws SQLException, ParseException {
- try (
- Statement statement = connection.createStatement(ResultSet.TYPE_FORWARD_ONLY, ResultSet.CONCUR_READ_ONLY, ResultSet.HOLD_CURSORS_OVER_COMMIT);
- ResultSet resultSet = statement.executeQuery(String.format(getSql(), assertion.getSQLValues().toArray()))) {
- assertResultSet(resultSet);
- }
- }
-
- private void assertExecuteQueryForPreparedStatementWithResultSetTypeAndResultSetConcurrencyAndResultSetHoldability(final Connection connection)
- throws SQLException, ParseException {
- try (PreparedStatement preparedStatement = connection.prepareStatement(getSql(), ResultSet.TYPE_FORWARD_ONLY, ResultSet.CONCUR_READ_ONLY, ResultSet.HOLD_CURSORS_OVER_COMMIT)) {
- for (SQLValue each : assertion.getSQLValues()) {
- preparedStatement.setObject(each.getIndex(), each.getValue());
- }
- try (ResultSet resultSet = preparedStatement.executeQuery()) {
- assertResultSet(resultSet);
- }
- }
- }
-
- @Test
- public void assertExecuteWithResultSetTypeAndResultSetConcurrency() throws SQLException, ParseException {
- try (Connection connection = getTargetDataSource().getConnection()) {
- if (SQLExecuteType.Literal == getSqlExecuteType()) {
- assertExecuteForStatementWithResultSetTypeAndResultSetConcurrency(connection);
- } else {
- assertExecuteForPreparedStatementWithResultSetTypeAndResultSetConcurrency(connection);
- }
- }
- }
-
- private void assertExecuteForStatementWithResultSetTypeAndResultSetConcurrency(final Connection connection) throws SQLException, ParseException {
- try (Statement statement = connection.createStatement(ResultSet.TYPE_FORWARD_ONLY, ResultSet.CONCUR_READ_ONLY)) {
- assertTrue("Not a query statement.", statement.execute(String.format(getSql(), assertion.getSQLValues().toArray())));
- try (ResultSet resultSet = statement.getResultSet()) {
- assertResultSet(resultSet);
- }
- }
- }
-
- private void assertExecuteForPreparedStatementWithResultSetTypeAndResultSetConcurrency(final Connection connection) throws SQLException, ParseException {
- try (PreparedStatement preparedStatement = connection.prepareStatement(getSql(), ResultSet.TYPE_FORWARD_ONLY, ResultSet.CONCUR_READ_ONLY)) {
- for (SQLValue each : assertion.getSQLValues()) {
- preparedStatement.setObject(each.getIndex(), each.getValue());
- }
- assertTrue("Not a query statement.", preparedStatement.execute());
- try (ResultSet resultSet = preparedStatement.getResultSet()) {
- assertResultSet(resultSet);
- }
- }
- }
-
- @Test
- public void assertExecuteWithResultSetTypeAndResultSetConcurrencyAndResultSetHoldability() throws SQLException, ParseException {
- try (Connection connection = getTargetDataSource().getConnection()) {
- if (SQLExecuteType.Literal == getSqlExecuteType()) {
- assertExecuteForStatementWithResultSetTypeAndResultSetConcurrencyAndResultSetHoldability(connection);
- } else {
- assertExecuteForPreparedStatementWithResultSetTypeAndResultSetConcurrencyAndResultSetHoldability(connection);
- }
- }
- }
-
- private void assertExecuteForStatementWithResultSetTypeAndResultSetConcurrencyAndResultSetHoldability(final Connection connection) throws SQLException, ParseException {
- try (Statement statement = connection.createStatement(ResultSet.TYPE_FORWARD_ONLY, ResultSet.CONCUR_READ_ONLY, ResultSet.HOLD_CURSORS_OVER_COMMIT)) {
- assertTrue("Not a query statement.", statement.execute(String.format(getSql(), assertion.getSQLValues().toArray())));
- try (ResultSet resultSet = statement.getResultSet()) {
- assertResultSet(resultSet);
- }
- }
- }
-
- private void assertExecuteForPreparedStatementWithResultSetTypeAndResultSetConcurrencyAndResultSetHoldability(final Connection connection) throws SQLException, ParseException {
- try (PreparedStatement preparedStatement = connection.prepareStatement(getSql(), ResultSet.TYPE_FORWARD_ONLY, ResultSet.CONCUR_READ_ONLY, ResultSet.HOLD_CURSORS_OVER_COMMIT)) {
- for (SQLValue each : assertion.getSQLValues()) {
- preparedStatement.setObject(each.getIndex(), each.getValue());
- }
- assertTrue("Not a query statement.", preparedStatement.execute());
- try (ResultSet resultSet = preparedStatement.getResultSet()) {
- assertResultSet(resultSet);
- }
- }
- }
-}
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/java/org/apache/shardingsphere/test/integration/engine/it/dql/BaseDQLIT.java b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/java/org/apache/shardingsphere/test/integration/engine/it/dql/BaseDQLIT.java
deleted file mode 100644
index 4987279d..0000000
--- a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/java/org/apache/shardingsphere/test/integration/engine/it/dql/BaseDQLIT.java
+++ /dev/null
@@ -1,140 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.apache.shardingsphere.test.integration.engine.it.dql;
-
-import org.apache.shardingsphere.infra.database.type.DatabaseType;
-import org.apache.shardingsphere.test.integration.cases.assertion.IntegrateTestCaseAssertion;
-import org.apache.shardingsphere.test.integration.engine.param.SQLExecuteType;
-import org.apache.shardingsphere.test.integration.cases.dataset.metadata.DataSetColumn;
-import org.apache.shardingsphere.test.integration.cases.dataset.metadata.DataSetMetadata;
-import org.apache.shardingsphere.test.integration.cases.dataset.row.DataSetRow;
-import org.apache.shardingsphere.test.integration.engine.it.SingleIT;
-import org.apache.shardingsphere.test.integration.env.EnvironmentPath;
-import org.apache.shardingsphere.test.integration.env.IntegrateTestEnvironment;
-import org.apache.shardingsphere.test.integration.env.dataset.DataSetEnvironmentManager;
-import org.apache.shardingsphere.test.integration.env.datasource.builder.ActualDataSourceBuilder;
-import org.apache.shardingsphere.test.integration.env.schema.SchemaEnvironmentManager;
-import org.junit.AfterClass;
-import org.junit.BeforeClass;
-
-import javax.xml.bind.JAXBException;
-import java.io.IOException;
-import java.sql.ResultSet;
-import java.sql.ResultSetMetaData;
-import java.sql.SQLException;
-import java.sql.Types;
-import java.text.ParseException;
-import java.text.SimpleDateFormat;
-import java.util.Collection;
-import java.util.LinkedList;
-import java.util.List;
-
-import static org.hamcrest.CoreMatchers.is;
-import static org.junit.Assert.assertThat;
-import static org.junit.Assert.assertTrue;
-
-public abstract class BaseDQLIT extends SingleIT {
-
- protected BaseDQLIT(final String parentPath, final IntegrateTestCaseAssertion assertion, final String adapter, final String scenario,
- final DatabaseType databaseType, final SQLExecuteType sqlExecuteType, final String sql) throws IOException, JAXBException, SQLException, ParseException {
- super(parentPath, assertion, adapter, scenario, databaseType, sqlExecuteType, sql);
- }
-
- @BeforeClass
- public static void fillData() throws IOException, JAXBException, SQLException, ParseException {
- SchemaEnvironmentManager.createDatabases();
- SchemaEnvironmentManager.createTables();
- for (DatabaseType each : IntegrateTestEnvironment.getInstance().getDatabaseEnvironments().keySet()) {
- fillData(each);
- }
- }
-
- private static void fillData(final DatabaseType databaseType) throws SQLException, ParseException, IOException, JAXBException {
- for (String each : IntegrateTestEnvironment.getInstance().getScenarios()) {
- new DataSetEnvironmentManager(EnvironmentPath.getDataSetFile(each), ActualDataSourceBuilder.createActualDataSources(each, databaseType)).fillData();
- }
- }
-
- @AfterClass
- public static void clearData() throws IOException, JAXBException {
- SchemaEnvironmentManager.dropDatabases();
- }
-
- protected final void assertResultSet(final ResultSet resultSet) throws SQLException {
- assertMetaData(resultSet.getMetaData(), getExpectedColumns());
- assertRows(resultSet, getDataSet().getRows());
- }
-
- private Collection<DataSetColumn> getExpectedColumns() {
- Collection<DataSetColumn> result = new LinkedList<>();
- for (DataSetMetadata each : getDataSet().getMetadataList()) {
- result.addAll(each.getColumns());
- }
- return result;
- }
-
- private void assertMetaData(final ResultSetMetaData actual, final Collection<DataSetColumn> expected) throws SQLException {
- // TODO Fix shadow
- if ("shadow".equals(getScenario())) {
- return;
- }
- assertThat(actual.getColumnCount(), is(expected.size()));
- int index = 1;
- for (DataSetColumn each : expected) {
- assertThat(actual.getColumnLabel(index++).toLowerCase(), is(each.getName().toLowerCase()));
- }
- }
-
- private void assertRows(final ResultSet actual, final List<DataSetRow> expected) throws SQLException {
- int rowCount = 0;
- ResultSetMetaData actualMetaData = actual.getMetaData();
- while (actual.next()) {
- assertTrue("Size of actual result set is different with size of expected dat set rows.", rowCount < expected.size());
- assertRow(actual, actualMetaData, expected.get(rowCount));
- rowCount++;
- }
- assertThat("Size of actual result set is different with size of expected dat set rows.", rowCount, is(expected.size()));
- }
-
- private void assertRow(final ResultSet actual, final ResultSetMetaData actualMetaData, final DataSetRow expected) throws SQLException {
- int columnIndex = 1;
- for (String each : expected.getValues()) {
- String columnLabel = actualMetaData.getColumnLabel(columnIndex);
- if (Types.DATE == actual.getMetaData().getColumnType(columnIndex)) {
- assertDateValue(actual, columnIndex, columnLabel, each);
- } else {
- assertObjectValue(actual, columnIndex, columnLabel, each);
- }
- columnIndex++;
- }
- }
-
- private void assertDateValue(final ResultSet actual, final int columnIndex, final String columnLabel, final String expected) throws SQLException {
- if (NOT_VERIFY_FLAG.equals(expected)) {
- return;
- }
- SimpleDateFormat dateFormat = new SimpleDateFormat("yyyy-MM-dd");
- assertThat(dateFormat.format(actual.getDate(columnIndex)), is(expected));
- assertThat(dateFormat.format(actual.getDate(columnLabel)), is(expected));
- }
-
- private void assertObjectValue(final ResultSet actual, final int columnIndex, final String columnLabel, final String expected) throws SQLException {
- assertThat(String.valueOf(actual.getObject(columnIndex)), is(expected));
- assertThat(String.valueOf(actual.getObject(columnLabel)), is(expected));
- }
-}
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/java/org/apache/shardingsphere/test/integration/engine/it/dql/GeneralDQLIT.java b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/java/org/apache/shardingsphere/test/integration/engine/it/dql/GeneralDQLIT.java
deleted file mode 100644
index eb913d9..0000000
--- a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/java/org/apache/shardingsphere/test/integration/engine/it/dql/GeneralDQLIT.java
+++ /dev/null
@@ -1,117 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.apache.shardingsphere.test.integration.engine.it.dql;
-
-import org.apache.shardingsphere.infra.database.type.DatabaseTypeRegistry;
-import org.apache.shardingsphere.test.integration.cases.SQLCommandType;
-import org.apache.shardingsphere.test.integration.cases.assertion.IntegrateTestCaseAssertion;
-import org.apache.shardingsphere.test.integration.engine.param.SQLExecuteType;
-import org.apache.shardingsphere.test.integration.cases.value.SQLValue;
-import org.apache.shardingsphere.test.integration.engine.param.ParameterizedArrayFactory;
-import org.junit.Test;
-import org.junit.runners.Parameterized.Parameters;
-
-import javax.xml.bind.JAXBException;
-import java.io.IOException;
-import java.sql.Connection;
-import java.sql.PreparedStatement;
-import java.sql.ResultSet;
-import java.sql.SQLException;
-import java.sql.Statement;
-import java.text.ParseException;
-import java.util.Collection;
-
-import static org.junit.Assert.assertTrue;
-
-public final class GeneralDQLIT extends BaseDQLIT {
-
- private final IntegrateTestCaseAssertion assertion;
-
- public GeneralDQLIT(final String parentPath, final IntegrateTestCaseAssertion assertion, final String adapter, final String scenario,
- final String databaseType, final SQLExecuteType sqlExecuteType, final String sql) throws IOException, JAXBException, SQLException, ParseException {
- super(parentPath, assertion, adapter, scenario, DatabaseTypeRegistry.getActualDatabaseType(databaseType), sqlExecuteType, sql);
- this.assertion = assertion;
- }
-
- @Parameters(name = "{2}: {3} -> {4} -> {5} -> {6}")
- public static Collection<Object[]> getParameters() {
- return ParameterizedArrayFactory.getAssertionParameterizedArray(SQLCommandType.DQL);
- }
-
- @Test
- public void assertExecuteQuery() throws SQLException, ParseException {
- try (Connection connection = getTargetDataSource().getConnection()) {
- if (SQLExecuteType.Literal == getSqlExecuteType()) {
- assertExecuteQueryForStatement(connection);
- } else {
- assertExecuteQueryForPreparedStatement(connection);
- }
- }
- }
-
- private void assertExecuteQueryForStatement(final Connection connection) throws SQLException {
- try (
- Statement statement = connection.createStatement();
- ResultSet resultSet = statement.executeQuery(getSql())) {
- assertResultSet(resultSet);
- }
- }
-
- private void assertExecuteQueryForPreparedStatement(final Connection connection) throws SQLException, ParseException {
- try (PreparedStatement preparedStatement = connection.prepareStatement(getSql())) {
- for (SQLValue each : assertion.getSQLValues()) {
- preparedStatement.setObject(each.getIndex(), each.getValue());
- }
- try (ResultSet resultSet = preparedStatement.executeQuery()) {
- assertResultSet(resultSet);
- }
- }
- }
-
- @Test
- public void assertExecute() throws SQLException, ParseException {
- try (Connection connection = getTargetDataSource().getConnection()) {
- if (SQLExecuteType.Literal == getSqlExecuteType()) {
- assertExecuteForStatement(connection);
- } else {
- assertExecuteForPreparedStatement(connection);
- }
- }
- }
-
- private void assertExecuteForStatement(final Connection connection) throws SQLException {
- try (Statement statement = connection.createStatement()) {
- assertTrue("Not a query statement.", statement.execute(getSql()));
- try (ResultSet resultSet = statement.getResultSet()) {
- assertResultSet(resultSet);
- }
- }
- }
-
- private void assertExecuteForPreparedStatement(final Connection connection) throws SQLException, ParseException {
- try (PreparedStatement preparedStatement = connection.prepareStatement(getSql())) {
- for (SQLValue each : assertion.getSQLValues()) {
- preparedStatement.setObject(each.getIndex(), each.getValue());
- }
- assertTrue("Not a query statement.", preparedStatement.execute());
- try (ResultSet resultSet = preparedStatement.getResultSet()) {
- assertResultSet(resultSet);
- }
- }
- }
-}
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/java/org/apache/shardingsphere/test/integration/engine/param/ParameterizedArrayFactory.java b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/java/org/apache/shardingsphere/test/integration/engine/param/ParameterizedArrayFactory.java
deleted file mode 100644
index cfe76ed..0000000
--- a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/java/org/apache/shardingsphere/test/integration/engine/param/ParameterizedArrayFactory.java
+++ /dev/null
@@ -1,152 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.apache.shardingsphere.test.integration.engine.param;
-
-import com.google.common.base.Splitter;
-import com.google.common.base.Strings;
-import lombok.AccessLevel;
-import lombok.NoArgsConstructor;
-import lombok.extern.slf4j.Slf4j;
-import org.apache.shardingsphere.infra.database.type.DatabaseType;
-import org.apache.shardingsphere.infra.database.type.DatabaseTypeRegistry;
-import org.apache.shardingsphere.test.integration.cases.IntegrateTestCaseContext;
-import org.apache.shardingsphere.test.integration.cases.IntegrateTestCasesLoader;
-import org.apache.shardingsphere.test.integration.cases.SQLCommandType;
-import org.apache.shardingsphere.test.integration.cases.assertion.IntegrateTestCaseAssertion;
-import org.apache.shardingsphere.test.integration.engine.param.domain.AssertionParameterizedArray;
-import org.apache.shardingsphere.test.integration.engine.param.domain.CaseParameterizedArray;
-import org.apache.shardingsphere.test.integration.engine.param.domain.ParameterizedArray;
-import org.apache.shardingsphere.test.integration.env.IntegrateTestEnvironment;
-
-import java.util.Collection;
-import java.util.LinkedList;
-import java.util.List;
-import java.util.stream.Collectors;
-
-/**
- * Parameterized array factory.
- */
-@NoArgsConstructor(access = AccessLevel.PRIVATE)
-@Slf4j
-public final class ParameterizedArrayFactory {
-
- private static final IntegrateTestCasesLoader TEST_CASES_LOADER = IntegrateTestCasesLoader.getInstance();
-
- private static final IntegrateTestEnvironment ENV = IntegrateTestEnvironment.getInstance();
-
- /**
- * Get assertion parameterized array.
- *
- * @param sqlCommandType SQL command type
- * @return assertion parameterized array
- */
- public static Collection<Object[]> getAssertionParameterizedArray(final SQLCommandType sqlCommandType) {
- Collection<ParameterizedArray> result = new LinkedList<>();
- for (IntegrateTestCaseContext each : TEST_CASES_LOADER.getTestCaseContexts(sqlCommandType)) {
- result.addAll(getAssertionParameterizedArray(each));
- }
- return toArrays(result);
- }
-
- private static Collection<ParameterizedArray> getAssertionParameterizedArray(final IntegrateTestCaseContext testCaseContext) {
- Collection<ParameterizedArray> result = new LinkedList<>();
- for (DatabaseType each : getDatabaseTypes(testCaseContext.getTestCase().getDbTypes())) {
- if (IntegrateTestEnvironment.getInstance().getDatabaseEnvironments().containsKey(each)) {
- result.addAll(getAssertionParameterizedArray(testCaseContext, each));
- }
- }
- return result;
- }
-
- private static Collection<ParameterizedArray> getAssertionParameterizedArray(final IntegrateTestCaseContext testCaseContext, final DatabaseType databaseType) {
- Collection<ParameterizedArray> result = new LinkedList<>();
- for (SQLExecuteType each : SQLExecuteType.values()) {
- result.addAll(getAssertionParameterizedArray(testCaseContext, databaseType, each));
- }
- return result;
- }
-
- private static Collection<ParameterizedArray> getAssertionParameterizedArray(final IntegrateTestCaseContext testCaseContext,
- final DatabaseType databaseType, final SQLExecuteType sqlExecuteType) {
- Collection<ParameterizedArray> result = new LinkedList<>();
- for (IntegrateTestCaseAssertion each : testCaseContext.getTestCase().getAssertions()) {
- result.addAll(getAssertionParameterizedArray(testCaseContext, databaseType, sqlExecuteType, each));
- }
- return result;
- }
-
- private static Collection<ParameterizedArray> getAssertionParameterizedArray(final IntegrateTestCaseContext testCaseContext,
- final DatabaseType databaseType, final SQLExecuteType sqlExecuteType, final IntegrateTestCaseAssertion assertion) {
- Collection<ParameterizedArray> result = new LinkedList<>();
- for (String adapter : ENV.getAdapters()) {
- result.addAll(getAssertionParameterizedArray(testCaseContext, assertion, adapter, databaseType, sqlExecuteType));
- }
- return result;
- }
-
- private static Collection<ParameterizedArray> getAssertionParameterizedArray(final IntegrateTestCaseContext testCaseContext, final IntegrateTestCaseAssertion assertion,
- final String adapter, final DatabaseType databaseType, final SQLExecuteType sqlExecuteType) {
- return ENV.getScenarios().stream().map(
- each -> new AssertionParameterizedArray(testCaseContext, assertion, adapter, each, databaseType, sqlExecuteType)).collect(Collectors.toList());
- }
-
- /**
- * Get case parameterized array.
- *
- * @param sqlCommandType SQL command type
- * @return case parameterized array
- */
- public static Collection<Object[]> getCaseParameterizedArray(final SQLCommandType sqlCommandType) {
- Collection<ParameterizedArray> result = new LinkedList<>();
- for (IntegrateTestCaseContext each : TEST_CASES_LOADER.getTestCaseContexts(sqlCommandType)) {
- result.addAll(getCaseParameterizedArray(each));
- }
- return toArrays(result);
- }
-
- private static Collection<ParameterizedArray> getCaseParameterizedArray(final IntegrateTestCaseContext testCaseContext) {
- Collection<ParameterizedArray> result = new LinkedList<>();
- for (DatabaseType each : getDatabaseTypes(testCaseContext.getTestCase().getDbTypes())) {
- if (IntegrateTestEnvironment.getInstance().getDatabaseEnvironments().containsKey(each)) {
- result.addAll(getCaseParameterizedArray(testCaseContext, each));
- }
- }
- return result;
- }
-
- private static Collection<ParameterizedArray> getCaseParameterizedArray(final IntegrateTestCaseContext testCaseContext, final DatabaseType databaseType) {
- Collection<ParameterizedArray> result = new LinkedList<>();
- for (String adapter : ENV.getAdapters()) {
- result.addAll(getCaseParameterizedArray(testCaseContext, adapter, databaseType));
- }
- return result;
- }
-
- private static Collection<ParameterizedArray> getCaseParameterizedArray(final IntegrateTestCaseContext testCaseContext, final String adapter, final DatabaseType databaseType) {
- return ENV.getScenarios().stream().map(each -> new CaseParameterizedArray(testCaseContext, adapter, each, databaseType)).collect(Collectors.toList());
- }
-
- private static Collection<DatabaseType> getDatabaseTypes(final String databaseTypes) {
- String candidates = Strings.isNullOrEmpty(databaseTypes) ? "H2,MySQL,Oracle,SQLServer,PostgreSQL" : databaseTypes;
- return Splitter.on(',').trimResults().splitToList(candidates).stream().map(DatabaseTypeRegistry::getActualDatabaseType).collect(Collectors.toList());
- }
-
- private static List<Object[]> toArrays(final Collection<ParameterizedArray> parameterizedArrays) {
- return parameterizedArrays.stream().map(ParameterizedArray::toArrays).collect(Collectors.toList());
- }
-}
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/java/org/apache/shardingsphere/test/integration/engine/param/domain/AssertionParameterizedArray.java b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/java/org/apache/shardingsphere/test/integration/engine/param/domain/AssertionParameterizedArray.java
deleted file mode 100644
index 874aeb4..0000000
--- a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/java/org/apache/shardingsphere/test/integration/engine/param/domain/AssertionParameterizedArray.java
+++ /dev/null
@@ -1,56 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.apache.shardingsphere.test.integration.engine.param.domain;
-
-import lombok.RequiredArgsConstructor;
-import org.apache.shardingsphere.infra.database.type.DatabaseType;
-import org.apache.shardingsphere.test.integration.cases.IntegrateTestCaseContext;
-import org.apache.shardingsphere.test.integration.cases.assertion.IntegrateTestCaseAssertion;
-import org.apache.shardingsphere.test.integration.engine.param.SQLExecuteType;
-
-/**
- * Parameterized array of assertion based integrate test.
- */
-@RequiredArgsConstructor
-public final class AssertionParameterizedArray implements ParameterizedArray {
-
- private final IntegrateTestCaseContext testCaseContext;
-
- private final IntegrateTestCaseAssertion assertion;
-
- private final String adapters;
-
- private final String scenario;
-
- private final DatabaseType databaseType;
-
- private final SQLExecuteType sqlExecuteType;
-
- @Override
- public Object[] toArrays() {
- Object[] result = new Object[7];
- result[0] = testCaseContext.getParentPath();
- result[1] = assertion;
- result[2] = adapters;
- result[3] = scenario;
- result[4] = databaseType.getName();
- result[5] = sqlExecuteType;
- result[6] = testCaseContext.getTestCase().getSql();
- return result;
- }
-}
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/java/org/apache/shardingsphere/test/integration/engine/param/domain/ParameterizedArray.java b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/java/org/apache/shardingsphere/test/integration/engine/param/domain/ParameterizedArray.java
deleted file mode 100644
index 64d96bf..0000000
--- a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/java/org/apache/shardingsphere/test/integration/engine/param/domain/ParameterizedArray.java
+++ /dev/null
@@ -1,31 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.apache.shardingsphere.test.integration.engine.param.domain;
-
-/**
- * Parameterized array.
- */
-public interface ParameterizedArray {
-
- /**
- * To parameterized arrays.
- *
- * @return parameterized arrays
- */
- Object[] toArrays();
-}
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/java/org/apache/shardingsphere/test/integration/engine/watcher/ITWatcher.java b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/java/org/apache/shardingsphere/test/integration/engine/watcher/ITWatcher.java
deleted file mode 100644
index 277bf3d..0000000
--- a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/java/org/apache/shardingsphere/test/integration/engine/watcher/ITWatcher.java
+++ /dev/null
@@ -1,35 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.apache.shardingsphere.test.integration.engine.watcher;
-
-import lombok.extern.slf4j.Slf4j;
-import org.junit.rules.TestWatcher;
-import org.junit.runner.Description;
-
-/**
- * Integration test watcher.
- */
-@Slf4j
-public final class ITWatcher extends TestWatcher {
-
- @Override
- protected void failed(final Throwable ex, final Description description) {
- log.error("Error case: {}", description.getMethodName());
- super.failed(ex, description);
- }
-}
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/java/org/apache/shardingsphere/test/integration/env/EnvironmentPath.java b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/java/org/apache/shardingsphere/test/integration/env/EnvironmentPath.java
deleted file mode 100644
index bc59cac..0000000
--- a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/java/org/apache/shardingsphere/test/integration/env/EnvironmentPath.java
+++ /dev/null
@@ -1,88 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.apache.shardingsphere.test.integration.env;
-
-import lombok.AccessLevel;
-import lombok.NoArgsConstructor;
-
-import java.net.URL;
-
-import static org.junit.Assert.assertNotNull;
-
-/**
- * Environment path.
- */
-@NoArgsConstructor(access = AccessLevel.PRIVATE)
-public final class EnvironmentPath {
-
- private static final String ROOT_PATH = "integrate/env";
-
- private static final String SCHEMA_FILE = "schema.xml";
-
- private static final String DATASET_FILE = "dataset.xml";
-
- private static final String RULES_CONFIG_FILE = "rules.yaml";
-
- private static final String AUTHORITY_FILE = "authority.xml";
-
- /**
- * Get schema file.
- *
- * @param scenario scenario
- * @return schema file
- */
- public static String getSchemaFile(final String scenario) {
- return getFile(scenario, SCHEMA_FILE);
- }
-
- /**
- * Get data set file.
- *
- * @param scenario scenario
- * @return data set file
- */
- public static String getDataSetFile(final String scenario) {
- return getFile(scenario, DATASET_FILE);
- }
-
- /**
- * Get rules configuration file.
- *
- * @param scenario scenario
- * @return rules configuration file
- */
- public static String getRulesConfigurationFile(final String scenario) {
- return getFile(scenario, RULES_CONFIG_FILE);
- }
-
- /**
- * Get authority file.
- *
- * @param scenario scenario
- * @return authority file
- */
- public static String getAuthorityFile(final String scenario) {
- return getFile(scenario, AUTHORITY_FILE);
- }
-
- private static String getFile(final String scenario, final String fileName) {
- URL url = EnvironmentPath.class.getClassLoader().getResource(String.join("/", ROOT_PATH, scenario, fileName));
- assertNotNull(url);
- return url.getFile();
- }
-}
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/java/org/apache/shardingsphere/test/integration/env/IntegrateTestEnvironment.java b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/java/org/apache/shardingsphere/test/integration/env/IntegrateTestEnvironment.java
deleted file mode 100644
index 93b523e..0000000
--- a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/java/org/apache/shardingsphere/test/integration/env/IntegrateTestEnvironment.java
+++ /dev/null
@@ -1,164 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.apache.shardingsphere.test.integration.env;
-
-import com.google.common.base.Splitter;
-import lombok.Getter;
-import org.apache.shardingsphere.infra.database.type.DatabaseType;
-import org.apache.shardingsphere.infra.database.type.DatabaseTypeRegistry;
-import org.apache.shardingsphere.infra.database.type.dialect.MySQLDatabaseType;
-import org.apache.shardingsphere.test.integration.env.datasource.DatabaseEnvironment;
-
-import java.io.IOException;
-import java.sql.Connection;
-import java.sql.DriverManager;
-import java.sql.SQLException;
-import java.sql.Statement;
-import java.util.Arrays;
-import java.util.Collection;
-import java.util.HashMap;
-import java.util.LinkedHashMap;
-import java.util.Map;
-import java.util.Properties;
-import java.util.stream.Collectors;
-
-/**
- * Integrate test running environment.
- */
-@Getter
-public final class IntegrateTestEnvironment {
-
- private static final IntegrateTestEnvironment INSTANCE = new IntegrateTestEnvironment();
-
- private final String activeProfile;
-
- private final Collection<String> adapters;
-
- private final boolean runAdditionalTestCases;
-
- private final Collection<String> scenarios;
-
- private final Map<DatabaseType, DatabaseEnvironment> databaseEnvironments;
-
- private final Map<String, DatabaseEnvironment> proxyEnvironments;
-
- private IntegrateTestEnvironment() {
- activeProfile = loadProperties("integrate/profile.properties").getProperty("mode");
- Properties envProps = IntegrateTestEnvironmentType.valueFromProfileName(activeProfile).loadProperties();
- adapters = Splitter.on(",").trimResults().splitToList(envProps.getProperty("it.adapters"));
- runAdditionalTestCases = Boolean.parseBoolean(envProps.getProperty("it.run.additional.cases"));
- scenarios = Splitter.on(",").trimResults().splitToList(envProps.getProperty("it.scenarios"));
- databaseEnvironments = createDatabaseEnvironments(envProps);
- proxyEnvironments = createProxyEnvironments(envProps);
- }
-
- private Properties loadProperties(final String fileName) {
- Properties result = new Properties();
- try {
- result.load(IntegrateTestEnvironment.class.getClassLoader().getResourceAsStream(fileName));
- } catch (final IOException ex) {
- throw new RuntimeException(ex);
- }
- return result;
- }
-
- private Map<DatabaseType, DatabaseEnvironment> createDatabaseEnvironments(final Properties envProps) {
- Collection<DatabaseType> databaseTypes = Arrays.stream(
- envProps.getProperty("it.databases", "H2").split(",")).map(each -> DatabaseTypeRegistry.getActualDatabaseType(each.trim())).collect(Collectors.toList());
- Map<DatabaseType, DatabaseEnvironment> result = new LinkedHashMap<>(databaseTypes.size(), 1);
- for (DatabaseType each : databaseTypes) {
- result.put(each, createDatabaseEnvironment(each, envProps));
- }
- return result;
- }
-
- private DatabaseEnvironment createDatabaseEnvironment(final DatabaseType databaseType, final Properties envProps) {
- switch (databaseType.getName()) {
- case "H2":
- return new DatabaseEnvironment(databaseType, "", 0, "sa", "");
- case "MySQL":
- return new DatabaseEnvironment(databaseType, envProps.getProperty("it.mysql.host", "127.0.0.1"), Integer.parseInt(envProps.getProperty("it.mysql.port", "3306")),
- envProps.getProperty("it.mysql.username", "root"), envProps.getProperty("it.mysql.password", ""));
- case "PostgreSQL":
- return new DatabaseEnvironment(databaseType, envProps.getProperty("it.postgresql.host", "127.0.0.1"), Integer.parseInt(envProps.getProperty("it.postgresql.port", "5432")),
- envProps.getProperty("it.postgresql.username", "postgres"), envProps.getProperty("it.postgresql.password", ""));
- case "SQLServer":
- return new DatabaseEnvironment(databaseType, envProps.getProperty("it.sqlserver.host", "127.0.0.1"), Integer.parseInt(envProps.getProperty("it.sqlserver.port", "1433")),
- envProps.getProperty("it.sqlserver.username", "sa"), envProps.getProperty("it.sqlserver.password", "Jdbc1234"));
- case "Oracle":
- return new DatabaseEnvironment(databaseType, envProps.getProperty("it.oracle.host", "127.0.0.1"), Integer.parseInt(envProps.getProperty("it.oracle.port", "1521")),
- envProps.getProperty("it.oracle.username", "jdbc"), envProps.getProperty("it.oracle.password", "jdbc"));
- default:
- throw new UnsupportedOperationException(databaseType.getName());
- }
- }
-
- private Map<String, DatabaseEnvironment> createProxyEnvironments(final Properties envProps) {
- Map<String, DatabaseEnvironment> result = new HashMap<>(scenarios.size(), 1);
- for (String each : scenarios) {
- // TODO hard code for MySQL, should configurable
- result.put(each, createProxyEnvironment(envProps, each));
- }
- return result;
- }
-
- private DatabaseEnvironment createProxyEnvironment(final Properties envProps, final String scenario) {
- String host = envProps.getProperty(String.format("it.proxy.%s.host", scenario), "127.0.0.1");
- int port = Integer.parseInt(envProps.getProperty(String.format("it.proxy.%s.port", scenario), "3307"));
- String username = envProps.getProperty(String.format("it.proxy.%s.username", scenario), "root");
- String password = envProps.getProperty(String.format("it.proxy.%s.password", scenario), "root");
- return new DatabaseEnvironment(new MySQLDatabaseType(), host, port, username, password);
- }
-
- /**
- * Get instance.
- *
- * @return singleton instance
- */
- public static IntegrateTestEnvironment getInstance() {
- if (INSTANCE.adapters.contains("proxy")) {
- for (String each : INSTANCE.scenarios) {
- waitForProxyReady(each);
- }
- }
- return INSTANCE;
- }
-
- private static void waitForProxyReady(final String scenario) {
- int retryCount = 0;
- while (!isProxyReady(scenario) && retryCount < 30) {
- try {
- Thread.sleep(1000L);
- } catch (final InterruptedException ignore) {
- }
- retryCount++;
- }
- }
-
- @SuppressWarnings("CallToDriverManagerGetConnection")
- private static boolean isProxyReady(final String scenario) {
- DatabaseEnvironment dbEnv = INSTANCE.proxyEnvironments.get(scenario);
- try (Connection connection = DriverManager.getConnection(dbEnv.getURL(scenario), dbEnv.getUsername(), dbEnv.getPassword());
- Statement statement = connection.createStatement()) {
- statement.execute("SELECT 1");
- } catch (final SQLException ignore) {
- return false;
- }
- return true;
- }
-}
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/java/org/apache/shardingsphere/test/integration/env/authority/AuthorityEnvironment.java b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/java/org/apache/shardingsphere/test/integration/env/authority/AuthorityEnvironment.java
deleted file mode 100644
index 8e0cb8c..0000000
--- a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/java/org/apache/shardingsphere/test/integration/env/authority/AuthorityEnvironment.java
+++ /dev/null
@@ -1,63 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.apache.shardingsphere.test.integration.env.authority;
-
-import org.apache.shardingsphere.infra.database.type.DatabaseType;
-
-import javax.xml.bind.annotation.XmlElement;
-import javax.xml.bind.annotation.XmlRootElement;
-import java.util.Collection;
-import java.util.LinkedList;
-
-/**
- * Authority root xml entry.
- */
-@XmlRootElement(name = "authority")
-public final class AuthorityEnvironment {
-
- @XmlElement(name = "sqlset")
- private Collection<AuthoritySQLSet> sqlSets = new LinkedList<>();
-
- /**
- * Get init SQLs of this database type.
- *
- * @param databaseType database type
- * @return init SQLs of this data base type
- */
- public Collection<String> getInitSQLs(final DatabaseType databaseType) {
- Collection<String> result = new LinkedList<>();
- for (AuthoritySQLSet each : sqlSets) {
- result.addAll(each.getCreateUserSQLs(databaseType));
- }
- return result;
- }
-
- /**
- * Get clean SQLs of this database type.
- *
- * @param databaseType database type
- * @return clean SQLs of this database type
- */
- public Collection<String> getCleanSQLs(final DatabaseType databaseType) {
- Collection<String> result = new LinkedList<>();
- for (AuthoritySQLSet each : sqlSets) {
- result.addAll(each.getDropUserSQLs(databaseType));
- }
- return result;
- }
-}
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/java/org/apache/shardingsphere/test/integration/env/authority/AuthorityEnvironmentManager.java b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/java/org/apache/shardingsphere/test/integration/env/authority/AuthorityEnvironmentManager.java
deleted file mode 100644
index 4d15228..0000000
--- a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/java/org/apache/shardingsphere/test/integration/env/authority/AuthorityEnvironmentManager.java
+++ /dev/null
@@ -1,95 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.apache.shardingsphere.test.integration.env.authority;
-
-import lombok.extern.slf4j.Slf4j;
-import org.apache.shardingsphere.infra.database.type.DatabaseType;
-
-import javax.sql.DataSource;
-import javax.xml.bind.JAXBContext;
-import javax.xml.bind.JAXBException;
-import java.io.FileReader;
-import java.io.IOException;
-import java.sql.Connection;
-import java.sql.SQLException;
-import java.sql.Statement;
-import java.util.Collection;
-import java.util.Map;
-
-/**
- * Authority environment manager.
- */
-@Slf4j
-public final class AuthorityEnvironmentManager {
-
- private final AuthorityEnvironment authorityEnvironment;
-
- private final Map<String, DataSource> instanceDataSourceMap;
-
- private final DatabaseType databaseType;
-
- public AuthorityEnvironmentManager(final String path, final Map<String, DataSource> instanceDataSourceMap, final DatabaseType databaseType) throws IOException, JAXBException {
- try (FileReader reader = new FileReader(path)) {
- authorityEnvironment = (AuthorityEnvironment) JAXBContext.newInstance(AuthorityEnvironment.class).createUnmarshaller().unmarshal(reader);
- }
- this.instanceDataSourceMap = instanceDataSourceMap;
- this.databaseType = databaseType;
- }
-
- /**
- * Initialize data.
- *
- * @throws SQLException SQL exception
- */
- public void initialize() throws SQLException {
- Collection<String> initSQLs = authorityEnvironment.getInitSQLs(databaseType);
- if (initSQLs.isEmpty()) {
- return;
- }
- for (DataSource each : instanceDataSourceMap.values()) {
- executeOnInstanceDataSource(each, initSQLs);
- }
- }
-
- /**
- * Clean data.
- *
- * @throws SQLException SQL exception
- */
- public void clean() throws SQLException {
- Collection<String> cleanSQLs = authorityEnvironment.getCleanSQLs(databaseType);
- if (cleanSQLs.isEmpty()) {
- return;
- }
- for (DataSource each : instanceDataSourceMap.values()) {
- executeOnInstanceDataSource(each, cleanSQLs);
- }
- }
-
- private void executeOnInstanceDataSource(final DataSource dataSource, final Collection<String> sqls) throws SQLException {
- try (Connection connection = dataSource.getConnection()) {
- for (String each : sqls) {
- try (Statement statement = connection.createStatement()) {
- statement.execute(each);
- } catch (final SQLException ex) {
- log.error("execute '{}' failed.", each, ex);
- }
- }
- }
- }
-}
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/java/org/apache/shardingsphere/test/integration/env/dataset/DataSetEnvironmentManager.java b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/java/org/apache/shardingsphere/test/integration/env/dataset/DataSetEnvironmentManager.java
deleted file mode 100644
index bbf0de3..0000000
--- a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/java/org/apache/shardingsphere/test/integration/env/dataset/DataSetEnvironmentManager.java
+++ /dev/null
@@ -1,225 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.apache.shardingsphere.test.integration.env.dataset;
-
-import com.google.common.base.Joiner;
-import lombok.RequiredArgsConstructor;
-import org.apache.shardingsphere.infra.database.type.DatabaseType;
-import org.apache.shardingsphere.infra.database.type.DatabaseTypeRegistry;
-import org.apache.shardingsphere.infra.datanode.DataNode;
-import org.apache.shardingsphere.infra.executor.kernel.thread.ExecutorServiceManager;
-import org.apache.shardingsphere.infra.metadata.schema.builder.loader.dialect.DatabaseMetaDataDialectHandler;
-import org.apache.shardingsphere.infra.metadata.schema.builder.loader.dialect.DatabaseMetaDataDialectHandlerFactory;
-import org.apache.shardingsphere.sharding.algorithm.sharding.inline.InlineExpressionParser;
-import org.apache.shardingsphere.test.integration.cases.value.SQLValue;
-import org.apache.shardingsphere.test.integration.cases.value.SQLValueGroup;
-import org.apache.shardingsphere.test.integration.cases.dataset.DataSet;
-import org.apache.shardingsphere.test.integration.cases.dataset.metadata.DataSetColumn;
-import org.apache.shardingsphere.test.integration.cases.dataset.metadata.DataSetMetadata;
-import org.apache.shardingsphere.test.integration.cases.dataset.row.DataSetRow;
-
-import javax.sql.DataSource;
-import javax.xml.bind.JAXBContext;
-import javax.xml.bind.JAXBException;
-import java.io.FileReader;
-import java.io.IOException;
-import java.sql.Connection;
-import java.sql.PreparedStatement;
-import java.sql.SQLException;
-import java.text.ParseException;
-import java.util.Collection;
-import java.util.LinkedHashMap;
-import java.util.LinkedList;
-import java.util.List;
-import java.util.Map;
-import java.util.Map.Entry;
-import java.util.Optional;
-import java.util.concurrent.Callable;
-
-/**
- * Data set environment manager.
- */
-public final class DataSetEnvironmentManager {
-
- private static final ExecutorServiceManager EXECUTOR_SERVICE_MANAGER = new ExecutorServiceManager(20);
-
- private final DataSet dataSet;
-
- private final Map<String, DataSource> actualDataSources;
-
- public DataSetEnvironmentManager(final String dataSetFile, final Map<String, DataSource> actualDataSources) throws IOException, JAXBException {
- try (FileReader reader = new FileReader(dataSetFile)) {
- dataSet = (DataSet) JAXBContext.newInstance(DataSet.class).createUnmarshaller().unmarshal(reader);
- }
- this.actualDataSources = actualDataSources;
- }
-
- private static String generateTableName(final String tableName, final DatabaseType databaseType) {
- Optional<DatabaseMetaDataDialectHandler> databaseMetaDataDialectHandler = DatabaseMetaDataDialectHandlerFactory.findHandler(databaseType);
- if (databaseMetaDataDialectHandler.isPresent()) {
- return databaseMetaDataDialectHandler.get().getQuoteCharacter().wrap(tableName);
- }
- throw new UnsupportedOperationException(String.format("Cannot support database [%s].", databaseType));
- }
-
- /**
- * Fill data.
- *
- * @throws SQLException SQL exception
- * @throws ParseException parse exception
- */
- public void fillData() throws SQLException, ParseException {
- Map<DataNode, List<DataSetRow>> dataNodeListMap = getDataSetRowMap();
- List<Callable<Void>> fillDataTasks = new LinkedList<>();
- for (Entry<DataNode, List<DataSetRow>> entry : dataNodeListMap.entrySet()) {
- DataNode dataNode = entry.getKey();
- List<DataSetRow> dataSetRows = entry.getValue();
- DataSetMetadata dataSetMetadata = dataSet.findMetadata(dataNode);
- List<SQLValueGroup> sqlValueGroups = new LinkedList<>();
- for (DataSetRow row : dataSetRows) {
- sqlValueGroups.add(new SQLValueGroup(dataSetMetadata, row.getValues()));
- }
- String insertSQL;
- try (Connection connection = actualDataSources.get(dataNode.getDataSourceName()).getConnection()) {
- insertSQL = generateInsertSQL(generateTableName(dataNode.getTableName(), DatabaseTypeRegistry.getDatabaseTypeByURL(connection.getMetaData().getURL())), dataSetMetadata.getColumns());
- }
- fillDataTasks.add(new InsertTask(actualDataSources.get(dataNode.getDataSourceName()), insertSQL, sqlValueGroups));
- }
- try {
- EXECUTOR_SERVICE_MANAGER.getExecutorService().invokeAll(fillDataTasks);
- // CHECKSTYLE:OFF
- } catch (final Exception ex) {
- // CHECKSTYLE:ON
- }
- }
-
- private Map<DataNode, List<DataSetRow>> getDataSetRowMap() {
- Map<DataNode, List<DataSetRow>> result = new LinkedHashMap<>(dataSet.getRows().size(), 1);
- for (DataSetRow each : dataSet.getRows()) {
- DataNode dataNode = new DataNode(each.getDataNode());
- if (!result.containsKey(dataNode)) {
- result.put(dataNode, new LinkedList<>());
- }
- result.get(dataNode).add(each);
- }
- return result;
- }
-
- private String generateInsertSQL(final String tableName, final Collection<DataSetColumn> columnMetadata) {
- List<String> columnNames = new LinkedList<>();
- List<String> placeholders = new LinkedList<>();
- for (DataSetColumn each : columnMetadata) {
- columnNames.add(each.getName());
- placeholders.add("?");
- }
- return String.format("INSERT INTO %s (%s) VALUES (%s)", tableName, Joiner.on(",").join(columnNames), Joiner.on(",").join(placeholders));
- }
-
- /**
- * Clear data.
- *
- */
- public void clearData() {
- List<Callable<Void>> deleteTasks = new LinkedList<>();
- for (Entry<String, Collection<String>> entry : getDataNodeMap().entrySet()) {
- deleteTasks.add(new DeleteTask(actualDataSources.get(entry.getKey()), entry.getValue()));
- }
- try {
- EXECUTOR_SERVICE_MANAGER.getExecutorService().invokeAll(deleteTasks);
- // CHECKSTYLE:OFF
- } catch (final Exception ex) {
- // CHECKSTYLE:ON
- }
- }
-
- private Map<String, Collection<String>> getDataNodeMap() {
- Map<String, Collection<String>> result = new LinkedHashMap<>();
- for (DataSetMetadata each : dataSet.getMetadataList()) {
- for (Entry<String, Collection<String>> entry : getDataNodeMap(each).entrySet()) {
- if (!result.containsKey(entry.getKey())) {
- result.put(entry.getKey(), new LinkedList<>());
- }
- result.get(entry.getKey()).addAll(entry.getValue());
- }
- }
- return result;
- }
-
- private Map<String, Collection<String>> getDataNodeMap(final DataSetMetadata dataSetMetadata) {
- Map<String, Collection<String>> result = new LinkedHashMap<>();
- for (String each : new InlineExpressionParser(dataSetMetadata.getDataNodes()).splitAndEvaluate()) {
- DataNode dataNode = new DataNode(each);
- if (!result.containsKey(dataNode.getDataSourceName())) {
- result.put(dataNode.getDataSourceName(), new LinkedList<>());
- }
- result.get(dataNode.getDataSourceName()).add(dataNode.getTableName());
- }
- return result;
- }
-
- @RequiredArgsConstructor
- private static class InsertTask implements Callable<Void> {
-
- private final DataSource dataSource;
-
- private final String insertSQL;
-
- private final Collection<SQLValueGroup> sqlValueGroups;
-
- @Override
- public Void call() throws SQLException {
- try (Connection connection = dataSource.getConnection()) {
- try (PreparedStatement preparedStatement = connection.prepareStatement(insertSQL)) {
- for (SQLValueGroup each : sqlValueGroups) {
- setParameters(preparedStatement, each);
- preparedStatement.addBatch();
- }
- preparedStatement.executeBatch();
- }
- }
- return null;
- }
-
- private void setParameters(final PreparedStatement preparedStatement, final SQLValueGroup sqlValueGroup) throws SQLException {
- for (SQLValue each : sqlValueGroup.getSqlValues()) {
- preparedStatement.setObject(each.getIndex(), each.getValue());
- }
- }
- }
-
- @RequiredArgsConstructor
- private static class DeleteTask implements Callable<Void> {
-
- private final DataSource dataSource;
-
- private final Collection<String> tableNames;
-
- @Override
- public Void call() throws SQLException {
- try (Connection connection = dataSource.getConnection()) {
- for (String each : tableNames) {
- String tableName = generateTableName(each, DatabaseTypeRegistry.getDatabaseTypeByURL(connection.getMetaData().getURL()));
- try (PreparedStatement preparedStatement = connection.prepareStatement(String.format("DELETE FROM %s", tableName))) {
- preparedStatement.execute();
- }
- }
- }
- return null;
- }
- }
-}
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/java/org/apache/shardingsphere/test/integration/env/datasource/builder/DataSourceCacheKey.java b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/java/org/apache/shardingsphere/test/integration/env/datasource/builder/DataSourceCacheKey.java
deleted file mode 100644
index 57e2fd3..0000000
--- a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/java/org/apache/shardingsphere/test/integration/env/datasource/builder/DataSourceCacheKey.java
+++ /dev/null
@@ -1,34 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.apache.shardingsphere.test.integration.env.datasource.builder;
-
-import lombok.EqualsAndHashCode;
-import lombok.RequiredArgsConstructor;
-import org.apache.shardingsphere.infra.database.type.DatabaseType;
-
-/**
- * Data source cache key.
- */
-@RequiredArgsConstructor
-@EqualsAndHashCode
-public final class DataSourceCacheKey {
-
- private final String dataSourceName;
-
- private final DatabaseType databaseType;
-}
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/java/org/apache/shardingsphere/test/integration/env/datasource/builder/ProxyDataSourceBuilder.java b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/java/org/apache/shardingsphere/test/integration/env/datasource/builder/ProxyDataSourceBuilder.java
deleted file mode 100644
index 22d7af2..0000000
--- a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/java/org/apache/shardingsphere/test/integration/env/datasource/builder/ProxyDataSourceBuilder.java
+++ /dev/null
@@ -1,67 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.apache.shardingsphere.test.integration.env.datasource.builder;
-
-import com.zaxxer.hikari.HikariConfig;
-import com.zaxxer.hikari.HikariDataSource;
-import lombok.AccessLevel;
-import lombok.NoArgsConstructor;
-import org.apache.shardingsphere.infra.database.type.DatabaseType;
-import org.apache.shardingsphere.test.integration.env.datasource.DatabaseEnvironment;
-
-import javax.sql.DataSource;
-import java.util.HashMap;
-import java.util.Map;
-
-/**
- * Proxy data source builder.
- */
-@NoArgsConstructor(access = AccessLevel.PRIVATE)
-public final class ProxyDataSourceBuilder {
-
- private static final Map<DataSourceCacheKey, DataSource> CACHE = new HashMap<>();
-
- /**
- * Build proxy data source.
- *
- * @param name data source name
- * @param databaseType database type
- * @param databaseEnvironment database environment
- * @return proxy data source
- */
- public static DataSource build(final String name, final DatabaseType databaseType, final DatabaseEnvironment databaseEnvironment) {
- DataSourceCacheKey cacheKey = new DataSourceCacheKey(name, databaseType);
- if (CACHE.containsKey(cacheKey)) {
- return CACHE.get(cacheKey);
- }
- DataSource result = createHikariCP(name, databaseEnvironment);
- CACHE.put(cacheKey, result);
- return result;
- }
-
- private static DataSource createHikariCP(final String dataSourceName, final DatabaseEnvironment databaseEnvironment) {
- HikariConfig result = new HikariConfig();
- result.setDriverClassName(databaseEnvironment.getDriverClassName());
- result.setJdbcUrl(databaseEnvironment.getURL(dataSourceName));
- result.setUsername(databaseEnvironment.getUsername());
- result.setPassword(databaseEnvironment.getPassword());
- result.setMaximumPoolSize(2);
- result.setTransactionIsolation("TRANSACTION_READ_COMMITTED");
- return new HikariDataSource(result);
- }
-}
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/java/org/apache/shardingsphere/test/integration/env/schema/SchemaEnvironment.java b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/java/org/apache/shardingsphere/test/integration/env/schema/SchemaEnvironment.java
deleted file mode 100644
index 5af4221..0000000
--- a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/java/org/apache/shardingsphere/test/integration/env/schema/SchemaEnvironment.java
+++ /dev/null
@@ -1,46 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.apache.shardingsphere.test.integration.env.schema;
-
-import lombok.Getter;
-
-import javax.xml.bind.annotation.XmlElement;
-import javax.xml.bind.annotation.XmlElementWrapper;
-import javax.xml.bind.annotation.XmlRootElement;
-import java.util.Collection;
-import java.util.LinkedList;
-
-/**
- * XML definition of schema environment.
- */
-@Getter
-@XmlRootElement(name = "schema")
-public final class SchemaEnvironment {
-
- @XmlElementWrapper(name = "databases")
- @XmlElement(name = "database")
- private final Collection<String> databases = new LinkedList<>();
-
- @XmlElementWrapper(name = "table-create")
- @XmlElement(name = "sql")
- private final Collection<String> tableCreateSQLs = new LinkedList<>();
-
- @XmlElementWrapper(name = "table-drop")
- @XmlElement(name = "sql")
- private final Collection<String> tableDropSQLs = new LinkedList<>();
-}
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/java/org/apache/shardingsphere/test/integration/env/schema/SchemaEnvironmentManager.java b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/java/org/apache/shardingsphere/test/integration/env/schema/SchemaEnvironmentManager.java
deleted file mode 100644
index 14abcbb..0000000
--- a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/java/org/apache/shardingsphere/test/integration/env/schema/SchemaEnvironmentManager.java
+++ /dev/null
@@ -1,204 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.apache.shardingsphere.test.integration.env.schema;
-
-import com.google.common.base.Joiner;
-import lombok.AccessLevel;
-import lombok.NoArgsConstructor;
-import org.apache.shardingsphere.infra.database.type.DatabaseType;
-import org.apache.shardingsphere.test.integration.env.EnvironmentPath;
-import org.apache.shardingsphere.test.integration.env.IntegrateTestEnvironment;
-import org.apache.shardingsphere.test.integration.env.datasource.builder.ActualDataSourceBuilder;
-import org.h2.tools.RunScript;
-
-import javax.sql.DataSource;
-import javax.xml.bind.JAXBContext;
-import javax.xml.bind.JAXBException;
-import java.io.FileReader;
-import java.io.IOException;
-import java.io.StringReader;
-import java.sql.Connection;
-import java.sql.SQLException;
-import java.util.Collection;
-import java.util.Collections;
-import java.util.stream.Collectors;
-
-/**
- * Schema environment manager.
- */
-@NoArgsConstructor(access = AccessLevel.PRIVATE)
-public final class SchemaEnvironmentManager {
-
- /**
- * Get data source names.
- *
- * @param scenario scenario
- * @return data source names
- * @throws IOException IO exception
- * @throws JAXBException JAXB exception
- */
- public static Collection<String> getDataSourceNames(final String scenario) throws IOException, JAXBException {
- return unmarshal(EnvironmentPath.getSchemaFile(scenario)).getDatabases();
- }
-
- private static SchemaEnvironment unmarshal(final String schemaEnvironmentConfigFile) throws IOException, JAXBException {
- try (FileReader reader = new FileReader(schemaEnvironmentConfigFile)) {
- return (SchemaEnvironment) JAXBContext.newInstance(SchemaEnvironment.class).createUnmarshaller().unmarshal(reader);
- }
- }
-
- /**
- * Create databases.
- *
- * @throws IOException IO exception
- * @throws JAXBException JAXB exception
- */
- public static void createDatabases() throws IOException, JAXBException {
- for (String each : IntegrateTestEnvironment.getInstance().getScenarios()) {
- dropDatabases(each);
- createDatabases(each);
- }
- }
-
- private static void createDatabases(final String scenario) throws IOException, JAXBException {
- SchemaEnvironment schemaEnvironment = unmarshal(EnvironmentPath.getSchemaFile(scenario));
- for (DatabaseType each : IntegrateTestEnvironment.getInstance().getDatabaseEnvironments().keySet()) {
- // TODO use multiple threads to improve performance
- DataSource dataSource = ActualDataSourceBuilder.build(null, each);
- executeSQLScript(dataSource, generateCreateDatabaseSQLs(each, schemaEnvironment.getDatabases()));
- }
- }
-
- private static Collection<String> generateCreateDatabaseSQLs(final DatabaseType databaseType, final Collection<String> databaseNames) {
- switch (databaseType.getName()) {
- case "H2":
- return Collections.emptyList();
- case "Oracle":
- return databaseNames.stream().map(each -> String.format("CREATE SCHEMA %s", each)).collect(Collectors.toList());
- default:
- return databaseNames.stream().map(each -> String.format("CREATE DATABASE %s", each)).collect(Collectors.toList());
- }
- }
-
- /**
- * Drop databases.
- *
- * @throws IOException IO exception
- * @throws JAXBException JAXB exception
- */
- public static void dropDatabases() throws IOException, JAXBException {
- for (String each : IntegrateTestEnvironment.getInstance().getScenarios()) {
- dropDatabases(each);
- }
- }
-
- private static void dropDatabases(final String scenario) throws IOException, JAXBException {
- SchemaEnvironment schemaEnvironment = unmarshal(EnvironmentPath.getSchemaFile(scenario));
- for (DatabaseType each : IntegrateTestEnvironment.getInstance().getDatabaseEnvironments().keySet()) {
- // TODO use multiple threads to improve performance
- DataSource dataSource = ActualDataSourceBuilder.build(null, each);
- executeSQLScript(dataSource, generatePrepareDropDatabaseSQLs(each, schemaEnvironment.getDatabases()));
- executeSQLScript(dataSource, generateDropDatabaseSQLs(each, schemaEnvironment.getDatabases()));
- }
- }
-
- private static Collection<String> generatePrepareDropDatabaseSQLs(final DatabaseType databaseType, final Collection<String> databaseNames) {
- if ("PostgreSQL".equals(databaseType.getName())) {
- String sql = "SELECT pg_terminate_backend (pg_stat_activity.pid) FROM pg_stat_activity WHERE pg_stat_activity.datname = '%s'";
- return databaseNames.stream().map(each -> String.format(sql, each)).collect(Collectors.toList());
- }
- return Collections.emptyList();
- }
-
- private static Collection<String> generateDropDatabaseSQLs(final DatabaseType databaseType, final Collection<String> databaseNames) {
- switch (databaseType.getName()) {
- case "H2":
- return Collections.emptyList();
- case "Oracle":
- return databaseNames.stream().map(each -> String.format("DROP SCHEMA %s", each)).collect(Collectors.toList());
- default:
- return databaseNames.stream().map(each -> String.format("DROP DATABASE IF EXISTS %s", each)).collect(Collectors.toList());
- }
- }
-
- /**
- * Create tables.
- *
- * @throws JAXBException JAXB exception
- * @throws IOException IO exception
- */
- public static void createTables() throws JAXBException, IOException {
- for (String each : IntegrateTestEnvironment.getInstance().getScenarios()) {
- createTables(each);
- }
- }
-
- private static void createTables(final String scenario) throws JAXBException, IOException {
- SchemaEnvironment schemaEnvironment = unmarshal(EnvironmentPath.getSchemaFile(scenario));
- for (DatabaseType each : IntegrateTestEnvironment.getInstance().getDatabaseEnvironments().keySet()) {
- createTables(schemaEnvironment, each);
- }
- }
-
- private static void createTables(final SchemaEnvironment schemaEnvironment, final DatabaseType databaseType) {
- for (String each : schemaEnvironment.getDatabases()) {
- // TODO use multiple threads to improve performance
- DataSource dataSource = ActualDataSourceBuilder.build(each, databaseType);
- executeSQLScript(dataSource, schemaEnvironment.getTableCreateSQLs());
- }
- }
-
- /**
- * Drop tables.
- *
- * @throws JAXBException JAXB exception
- * @throws IOException IO exception
- */
- public static void dropTables() throws JAXBException, IOException {
- for (String each : IntegrateTestEnvironment.getInstance().getScenarios()) {
- dropTables(each);
- }
- }
-
- private static void dropTables(final String scenario) throws JAXBException, IOException {
- SchemaEnvironment schemaEnvironment = unmarshal(EnvironmentPath.getSchemaFile(scenario));
- for (DatabaseType each : IntegrateTestEnvironment.getInstance().getDatabaseEnvironments().keySet()) {
- dropTables(schemaEnvironment, each);
- }
- }
-
- private static void dropTables(final SchemaEnvironment schemaEnvironment, final DatabaseType databaseType) {
- for (String each : schemaEnvironment.getDatabases()) {
- // TODO use multiple threads to improve performance
- DataSource dataSource = ActualDataSourceBuilder.build(each, databaseType);
- executeSQLScript(dataSource, schemaEnvironment.getTableDropSQLs());
- }
- }
-
- private static void executeSQLScript(final DataSource dataSource, final Collection<String> sqls) {
- if (sqls.isEmpty()) {
- return;
- }
- try (Connection connection = dataSource.getConnection();
- StringReader sqlScript = new StringReader(Joiner.on(";\n").skipNulls().join(sqls))) {
- RunScript.execute(connection, sqlScript);
- } catch (final SQLException ignored) {
- // TODO print err message if not drop not existed database/table
- }
- }
-}
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/docker/db/proxy/conf/logback.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/docker/db/proxy/conf/logback.xml
deleted file mode 100644
index 1494746..0000000
--- a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/docker/db/proxy/conf/logback.xml
+++ /dev/null
@@ -1,33 +0,0 @@
-<?xml version="1.0"?>
-<!--
- ~ Licensed to the Apache Software Foundation (ASF) under one or more
- ~ contributor license agreements. See the NOTICE file distributed with
- ~ this work for additional information regarding copyright ownership.
- ~ The ASF licenses this file to You under the Apache License, Version 2.0
- ~ (the "License"); you may not use this file except in compliance with
- ~ the License. You may obtain a copy of the License at
- ~
- ~ http://www.apache.org/licenses/LICENSE-2.0
- ~
- ~ Unless required by applicable law or agreed to in writing, software
- ~ distributed under the License is distributed on an "AS IS" BASIS,
- ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- ~ See the License for the specific language governing permissions and
- ~ limitations under the License.
- -->
-
-<configuration>
- <appender name="console" class="ch.qos.logback.core.ConsoleAppender">
- <encoder>
- <pattern>[%-5level] %d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %logger{36} - %msg%n</pattern>
- </encoder>
- </appender>
- <logger name="org.apache.shardingsphere" level="info" additivity="false">
- <appender-ref ref="console" />
- </logger>
-
- <root>
- <level value="info" />
- <appender-ref ref="console" />
- </root>
-</configuration>
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/docker/db/proxy/conf/server.yaml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/docker/db/proxy/conf/server.yaml
deleted file mode 100644
index dacea52..0000000
--- a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/docker/db/proxy/conf/server.yaml
+++ /dev/null
@@ -1,44 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-#governance:
-# name: governance_ds
-# registryCenter:
-# type: ZooKeeper
-# serverLists: zk:2181
-# props:
-# retryIntervalMilliseconds: 500
-# timeToLiveSeconds: 60
-# maxRetries: 3
-# operationTimeoutMilliseconds: 500
-# overwrite: true
-
-authentication:
- users:
- root:
- password: root
-
-props:
- max-connections-size-per-query: 1
- acceptor-size: 16 # The default value is available processors count * 2.
- executor-size: 16 # Infinite by default.
- proxy-frontend-flush-threshold: 128 # The default value is 128.
- proxy-transaction-type: LOCAL
- proxy-opentracing-enabled: false
- proxy-hint-enabled: false
- query-with-cipher-column: true
- sql-show: false
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/docker/dbtbl_with_replica_query/docker-compose.yml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/docker/dbtbl_with_replica_query/docker-compose.yml
deleted file mode 100644
index 957a5a0..0000000
--- a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/docker/dbtbl_with_replica_query/docker-compose.yml
+++ /dev/null
@@ -1,52 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-version: "2.1"
-
-services:
- mysql:
- image: "mysql/mysql-server:5.7"
- container_name: dbtbl-with-replica-query-mysql
- command: --default-authentication-plugin=mysql_native_password
- volumes:
- - ./mysql:/docker-entrypoint-initdb.d/
- ports:
- - "33360:3306"
-
-# zookeeper:
-# image: "zookeeper:3.6.2"
-# container_name: dbtbl-with-replica-query-register-center
-# ports:
-# - "2181:24810"
-
- shardingsphere-proxy:
- image: apache/shardingsphere-proxy-test
- container_name: dbtbl-with-replica-query-shardingsphere-proxy
- ports:
- - "33110:3307"
- links:
- - "mysql:dbtbl-with-replica-query.mysql"
-# - "zookeeper:zk"
- volumes:
- - ./proxy/conf:/opt/shardingsphere-proxy/conf
- depends_on:
- - mysql
- environment:
- - WAIT_HOSTS=mysql:3306
- - WAIT_HOSTS_TIMEOUT=300
- - WAIT_SLEEP_INTERVAL=5
- - WAIT_HOST_CONNECT_TIMEOUT=30
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/docker/dbtbl_with_replica_query/mysql/init.sql b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/docker/dbtbl_with_replica_query/mysql/init.sql
deleted file mode 100644
index 26a1806..0000000
--- a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/docker/dbtbl_with_replica_query/mysql/init.sql
+++ /dev/null
@@ -1,460 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-CREATE USER 'root'@'%' IDENTIFIED BY '';
-GRANT All privileges ON *.* TO 'root'@'%';
-
-CREATE DATABASE primary_ds_0;
-CREATE DATABASE primary_ds_1;
-CREATE DATABASE primary_ds_2;
-CREATE DATABASE primary_ds_3;
-CREATE DATABASE primary_ds_4;
-CREATE DATABASE primary_ds_5;
-CREATE DATABASE primary_ds_6;
-CREATE DATABASE primary_ds_7;
-CREATE DATABASE primary_ds_8;
-CREATE DATABASE primary_ds_9;
-CREATE DATABASE replica_ds_0;
-CREATE DATABASE replica_ds_1;
-CREATE DATABASE replica_ds_2;
-CREATE DATABASE replica_ds_3;
-CREATE DATABASE replica_ds_4;
-CREATE DATABASE replica_ds_5;
-CREATE DATABASE replica_ds_6;
-CREATE DATABASE replica_ds_7;
-CREATE DATABASE replica_ds_8;
-CREATE DATABASE replica_ds_9;
-
-CREATE TABLE primary_ds_0.t_order_0 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE primary_ds_0.t_order_item_0 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-CREATE TABLE primary_ds_0.t_order_1 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE primary_ds_0.t_order_item_1 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-CREATE TABLE primary_ds_0.t_order_2 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE primary_ds_0.t_order_item_2 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-CREATE TABLE primary_ds_0.t_order_3 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE primary_ds_0.t_order_item_3 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-CREATE TABLE primary_ds_0.t_order_4 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE primary_ds_0.t_order_item_4 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-CREATE TABLE primary_ds_0.t_order_5 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE primary_ds_0.t_order_item_5 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-CREATE TABLE primary_ds_0.t_order_6 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE primary_ds_0.t_order_item_6 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-CREATE TABLE primary_ds_0.t_order_7 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE primary_ds_0.t_order_item_7 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-CREATE TABLE primary_ds_0.t_order_8 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE primary_ds_0.t_order_item_8 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-CREATE TABLE primary_ds_0.t_order_9 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE primary_ds_0.t_order_item_9 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-
-CREATE TABLE primary_ds_1.t_order_0 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE primary_ds_1.t_order_item_0 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-CREATE TABLE primary_ds_1.t_order_1 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE primary_ds_1.t_order_item_1 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-CREATE TABLE primary_ds_1.t_order_2 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE primary_ds_1.t_order_item_2 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-CREATE TABLE primary_ds_1.t_order_3 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE primary_ds_1.t_order_item_3 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-CREATE TABLE primary_ds_1.t_order_4 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE primary_ds_1.t_order_item_4 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-CREATE TABLE primary_ds_1.t_order_5 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE primary_ds_1.t_order_item_5 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-CREATE TABLE primary_ds_1.t_order_6 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE primary_ds_1.t_order_item_6 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-CREATE TABLE primary_ds_1.t_order_7 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE primary_ds_1.t_order_item_7 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-CREATE TABLE primary_ds_1.t_order_8 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE primary_ds_1.t_order_item_8 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-CREATE TABLE primary_ds_1.t_order_9 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE primary_ds_1.t_order_item_9 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-
-CREATE TABLE primary_ds_2.t_order_0 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE primary_ds_2.t_order_item_0 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-CREATE TABLE primary_ds_2.t_order_1 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE primary_ds_2.t_order_item_1 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-CREATE TABLE primary_ds_2.t_order_2 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE primary_ds_2.t_order_item_2 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-CREATE TABLE primary_ds_2.t_order_3 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE primary_ds_2.t_order_item_3 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-CREATE TABLE primary_ds_2.t_order_4 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE primary_ds_2.t_order_item_4 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-CREATE TABLE primary_ds_2.t_order_5 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE primary_ds_2.t_order_item_5 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-CREATE TABLE primary_ds_2.t_order_6 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE primary_ds_2.t_order_item_6 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-CREATE TABLE primary_ds_2.t_order_7 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE primary_ds_2.t_order_item_7 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-CREATE TABLE primary_ds_2.t_order_8 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE primary_ds_2.t_order_item_8 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-CREATE TABLE primary_ds_2.t_order_9 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE primary_ds_2.t_order_item_9 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-
-CREATE TABLE primary_ds_3.t_order_0 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE primary_ds_3.t_order_item_0 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-CREATE TABLE primary_ds_3.t_order_1 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE primary_ds_3.t_order_item_1 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-CREATE TABLE primary_ds_3.t_order_2 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE primary_ds_3.t_order_item_2 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-CREATE TABLE primary_ds_3.t_order_3 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE primary_ds_3.t_order_item_3 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-CREATE TABLE primary_ds_3.t_order_4 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE primary_ds_3.t_order_item_4 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-CREATE TABLE primary_ds_3.t_order_5 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE primary_ds_3.t_order_item_5 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-CREATE TABLE primary_ds_3.t_order_6 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE primary_ds_3.t_order_item_6 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-CREATE TABLE primary_ds_3.t_order_7 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE primary_ds_3.t_order_item_7 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-CREATE TABLE primary_ds_3.t_order_8 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE primary_ds_3.t_order_item_8 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-CREATE TABLE primary_ds_3.t_order_9 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE primary_ds_3.t_order_item_9 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-
-CREATE TABLE primary_ds_4.t_order_0 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE primary_ds_4.t_order_item_0 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-CREATE TABLE primary_ds_4.t_order_1 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE primary_ds_4.t_order_item_1 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-CREATE TABLE primary_ds_4.t_order_2 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE primary_ds_4.t_order_item_2 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-CREATE TABLE primary_ds_4.t_order_3 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE primary_ds_4.t_order_item_3 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-CREATE TABLE primary_ds_4.t_order_4 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE primary_ds_4.t_order_item_4 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-CREATE TABLE primary_ds_4.t_order_5 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE primary_ds_4.t_order_item_5 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-CREATE TABLE primary_ds_4.t_order_6 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE primary_ds_4.t_order_item_6 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-CREATE TABLE primary_ds_4.t_order_7 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE primary_ds_4.t_order_item_7 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-CREATE TABLE primary_ds_4.t_order_8 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE primary_ds_4.t_order_item_8 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-CREATE TABLE primary_ds_4.t_order_9 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE primary_ds_4.t_order_item_9 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-
-CREATE TABLE primary_ds_5.t_order_0 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE primary_ds_5.t_order_item_0 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-CREATE TABLE primary_ds_5.t_order_1 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE primary_ds_5.t_order_item_1 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-CREATE TABLE primary_ds_5.t_order_2 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE primary_ds_5.t_order_item_2 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-CREATE TABLE primary_ds_5.t_order_3 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE primary_ds_5.t_order_item_3 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-CREATE TABLE primary_ds_5.t_order_4 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE primary_ds_5.t_order_item_4 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-CREATE TABLE primary_ds_5.t_order_5 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE primary_ds_5.t_order_item_5 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-CREATE TABLE primary_ds_5.t_order_6 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE primary_ds_5.t_order_item_6 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-CREATE TABLE primary_ds_5.t_order_7 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE primary_ds_5.t_order_item_7 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-CREATE TABLE primary_ds_5.t_order_8 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE primary_ds_5.t_order_item_8 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-CREATE TABLE primary_ds_5.t_order_9 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE primary_ds_5.t_order_item_9 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-
-CREATE TABLE primary_ds_6.t_order_0 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE primary_ds_6.t_order_item_0 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-CREATE TABLE primary_ds_6.t_order_1 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE primary_ds_6.t_order_item_1 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-CREATE TABLE primary_ds_6.t_order_2 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE primary_ds_6.t_order_item_2 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-CREATE TABLE primary_ds_6.t_order_3 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE primary_ds_6.t_order_item_3 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-CREATE TABLE primary_ds_6.t_order_4 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE primary_ds_6.t_order_item_4 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-CREATE TABLE primary_ds_6.t_order_5 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE primary_ds_6.t_order_item_5 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-CREATE TABLE primary_ds_6.t_order_6 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE primary_ds_6.t_order_item_6 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-CREATE TABLE primary_ds_6.t_order_7 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE primary_ds_6.t_order_item_7 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-CREATE TABLE primary_ds_6.t_order_8 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE primary_ds_6.t_order_item_8 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-CREATE TABLE primary_ds_6.t_order_9 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE primary_ds_6.t_order_item_9 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-
-CREATE TABLE primary_ds_7.t_order_0 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE primary_ds_7.t_order_item_0 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-CREATE TABLE primary_ds_7.t_order_1 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE primary_ds_7.t_order_item_1 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-CREATE TABLE primary_ds_7.t_order_2 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE primary_ds_7.t_order_item_2 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-CREATE TABLE primary_ds_7.t_order_3 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE primary_ds_7.t_order_item_3 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-CREATE TABLE primary_ds_7.t_order_4 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE primary_ds_7.t_order_item_4 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-CREATE TABLE primary_ds_7.t_order_5 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE primary_ds_7.t_order_item_5 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-CREATE TABLE primary_ds_7.t_order_6 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE primary_ds_7.t_order_item_6 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-CREATE TABLE primary_ds_7.t_order_7 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE primary_ds_7.t_order_item_7 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-CREATE TABLE primary_ds_7.t_order_8 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE primary_ds_7.t_order_item_8 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-CREATE TABLE primary_ds_7.t_order_9 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE primary_ds_7.t_order_item_9 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-
-CREATE TABLE primary_ds_8.t_order_0 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE primary_ds_8.t_order_item_0 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-CREATE TABLE primary_ds_8.t_order_1 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE primary_ds_8.t_order_item_1 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-CREATE TABLE primary_ds_8.t_order_2 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE primary_ds_8.t_order_item_2 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-CREATE TABLE primary_ds_8.t_order_3 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE primary_ds_8.t_order_item_3 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-CREATE TABLE primary_ds_8.t_order_4 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE primary_ds_8.t_order_item_4 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-CREATE TABLE primary_ds_8.t_order_5 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE primary_ds_8.t_order_item_5 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-CREATE TABLE primary_ds_8.t_order_6 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE primary_ds_8.t_order_item_6 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-CREATE TABLE primary_ds_8.t_order_7 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE primary_ds_8.t_order_item_7 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-CREATE TABLE primary_ds_8.t_order_8 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE primary_ds_8.t_order_item_8 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-CREATE TABLE primary_ds_8.t_order_9 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE primary_ds_8.t_order_item_9 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-
-CREATE TABLE primary_ds_9.t_order_0 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE primary_ds_9.t_order_item_0 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-CREATE TABLE primary_ds_9.t_order_1 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE primary_ds_9.t_order_item_1 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-CREATE TABLE primary_ds_9.t_order_2 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE primary_ds_9.t_order_item_2 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-CREATE TABLE primary_ds_9.t_order_3 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE primary_ds_9.t_order_item_3 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-CREATE TABLE primary_ds_9.t_order_4 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE primary_ds_9.t_order_item_4 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-CREATE TABLE primary_ds_9.t_order_5 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE primary_ds_9.t_order_item_5 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-CREATE TABLE primary_ds_9.t_order_6 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE primary_ds_9.t_order_item_6 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-CREATE TABLE primary_ds_9.t_order_7 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE primary_ds_9.t_order_item_7 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-CREATE TABLE primary_ds_9.t_order_8 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE primary_ds_9.t_order_item_8 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-CREATE TABLE primary_ds_9.t_order_9 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE primary_ds_9.t_order_item_9 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-
-CREATE TABLE replica_ds_0.t_order_0 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE replica_ds_0.t_order_item_0 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-CREATE TABLE replica_ds_0.t_order_1 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE replica_ds_0.t_order_item_1 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-CREATE TABLE replica_ds_0.t_order_2 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE replica_ds_0.t_order_item_2 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-CREATE TABLE replica_ds_0.t_order_3 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE replica_ds_0.t_order_item_3 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-CREATE TABLE replica_ds_0.t_order_4 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE replica_ds_0.t_order_item_4 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-CREATE TABLE replica_ds_0.t_order_5 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE replica_ds_0.t_order_item_5 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-CREATE TABLE replica_ds_0.t_order_6 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE replica_ds_0.t_order_item_6 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-CREATE TABLE replica_ds_0.t_order_7 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE replica_ds_0.t_order_item_7 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-CREATE TABLE replica_ds_0.t_order_8 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE replica_ds_0.t_order_item_8 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-CREATE TABLE replica_ds_0.t_order_9 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE replica_ds_0.t_order_item_9 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-
-CREATE TABLE replica_ds_1.t_order_0 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE replica_ds_1.t_order_item_0 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-CREATE TABLE replica_ds_1.t_order_1 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE replica_ds_1.t_order_item_1 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-CREATE TABLE replica_ds_1.t_order_2 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE replica_ds_1.t_order_item_2 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-CREATE TABLE replica_ds_1.t_order_3 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE replica_ds_1.t_order_item_3 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-CREATE TABLE replica_ds_1.t_order_4 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE replica_ds_1.t_order_item_4 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-CREATE TABLE replica_ds_1.t_order_5 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE replica_ds_1.t_order_item_5 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-CREATE TABLE replica_ds_1.t_order_6 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE replica_ds_1.t_order_item_6 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-CREATE TABLE replica_ds_1.t_order_7 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE replica_ds_1.t_order_item_7 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-CREATE TABLE replica_ds_1.t_order_8 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE replica_ds_1.t_order_item_8 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-CREATE TABLE replica_ds_1.t_order_9 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE replica_ds_1.t_order_item_9 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-
-CREATE TABLE replica_ds_2.t_order_0 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE replica_ds_2.t_order_item_0 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-CREATE TABLE replica_ds_2.t_order_1 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE replica_ds_2.t_order_item_1 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-CREATE TABLE replica_ds_2.t_order_2 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE replica_ds_2.t_order_item_2 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-CREATE TABLE replica_ds_2.t_order_3 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE replica_ds_2.t_order_item_3 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-CREATE TABLE replica_ds_2.t_order_4 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE replica_ds_2.t_order_item_4 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-CREATE TABLE replica_ds_2.t_order_5 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE replica_ds_2.t_order_item_5 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-CREATE TABLE replica_ds_2.t_order_6 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE replica_ds_2.t_order_item_6 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-CREATE TABLE replica_ds_2.t_order_7 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE replica_ds_2.t_order_item_7 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-CREATE TABLE replica_ds_2.t_order_8 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE replica_ds_2.t_order_item_8 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-CREATE TABLE replica_ds_2.t_order_9 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE replica_ds_2.t_order_item_9 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-
-CREATE TABLE replica_ds_3.t_order_0 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE replica_ds_3.t_order_item_0 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-CREATE TABLE replica_ds_3.t_order_1 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE replica_ds_3.t_order_item_1 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-CREATE TABLE replica_ds_3.t_order_2 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE replica_ds_3.t_order_item_2 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-CREATE TABLE replica_ds_3.t_order_3 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE replica_ds_3.t_order_item_3 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-CREATE TABLE replica_ds_3.t_order_4 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE replica_ds_3.t_order_item_4 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-CREATE TABLE replica_ds_3.t_order_5 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE replica_ds_3.t_order_item_5 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-CREATE TABLE replica_ds_3.t_order_6 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE replica_ds_3.t_order_item_6 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-CREATE TABLE replica_ds_3.t_order_7 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE replica_ds_3.t_order_item_7 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-CREATE TABLE replica_ds_3.t_order_8 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE replica_ds_3.t_order_item_8 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-CREATE TABLE replica_ds_3.t_order_9 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE replica_ds_3.t_order_item_9 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-
-CREATE TABLE replica_ds_4.t_order_0 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE replica_ds_4.t_order_item_0 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-CREATE TABLE replica_ds_4.t_order_1 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE replica_ds_4.t_order_item_1 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-CREATE TABLE replica_ds_4.t_order_2 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE replica_ds_4.t_order_item_2 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-CREATE TABLE replica_ds_4.t_order_3 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE replica_ds_4.t_order_item_3 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-CREATE TABLE replica_ds_4.t_order_4 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE replica_ds_4.t_order_item_4 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-CREATE TABLE replica_ds_4.t_order_5 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE replica_ds_4.t_order_item_5 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-CREATE TABLE replica_ds_4.t_order_6 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE replica_ds_4.t_order_item_6 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-CREATE TABLE replica_ds_4.t_order_7 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE replica_ds_4.t_order_item_7 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-CREATE TABLE replica_ds_4.t_order_8 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE replica_ds_4.t_order_item_8 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-CREATE TABLE replica_ds_4.t_order_9 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE replica_ds_4.t_order_item_9 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-
-CREATE TABLE replica_ds_5.t_order_0 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE replica_ds_5.t_order_item_0 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-CREATE TABLE replica_ds_5.t_order_1 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE replica_ds_5.t_order_item_1 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-CREATE TABLE replica_ds_5.t_order_2 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE replica_ds_5.t_order_item_2 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-CREATE TABLE replica_ds_5.t_order_3 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE replica_ds_5.t_order_item_3 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-CREATE TABLE replica_ds_5.t_order_4 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE replica_ds_5.t_order_item_4 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-CREATE TABLE replica_ds_5.t_order_5 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE replica_ds_5.t_order_item_5 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-CREATE TABLE replica_ds_5.t_order_6 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE replica_ds_5.t_order_item_6 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-CREATE TABLE replica_ds_5.t_order_7 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE replica_ds_5.t_order_item_7 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-CREATE TABLE replica_ds_5.t_order_8 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE replica_ds_5.t_order_item_8 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-CREATE TABLE replica_ds_5.t_order_9 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE replica_ds_5.t_order_item_9 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-
-CREATE TABLE replica_ds_6.t_order_0 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE replica_ds_6.t_order_item_0 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-CREATE TABLE replica_ds_6.t_order_1 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE replica_ds_6.t_order_item_1 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-CREATE TABLE replica_ds_6.t_order_2 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE replica_ds_6.t_order_item_2 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-CREATE TABLE replica_ds_6.t_order_3 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE replica_ds_6.t_order_item_3 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-CREATE TABLE replica_ds_6.t_order_4 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE replica_ds_6.t_order_item_4 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-CREATE TABLE replica_ds_6.t_order_5 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE replica_ds_6.t_order_item_5 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-CREATE TABLE replica_ds_6.t_order_6 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE replica_ds_6.t_order_item_6 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-CREATE TABLE replica_ds_6.t_order_7 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE replica_ds_6.t_order_item_7 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-CREATE TABLE replica_ds_6.t_order_8 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE replica_ds_6.t_order_item_8 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-CREATE TABLE replica_ds_6.t_order_9 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE replica_ds_6.t_order_item_9 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-
-CREATE TABLE replica_ds_7.t_order_0 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE replica_ds_7.t_order_item_0 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-CREATE TABLE replica_ds_7.t_order_1 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE replica_ds_7.t_order_item_1 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-CREATE TABLE replica_ds_7.t_order_2 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE replica_ds_7.t_order_item_2 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-CREATE TABLE replica_ds_7.t_order_3 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE replica_ds_7.t_order_item_3 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-CREATE TABLE replica_ds_7.t_order_4 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE replica_ds_7.t_order_item_4 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-CREATE TABLE replica_ds_7.t_order_5 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE replica_ds_7.t_order_item_5 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-CREATE TABLE replica_ds_7.t_order_6 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE replica_ds_7.t_order_item_6 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-CREATE TABLE replica_ds_7.t_order_7 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE replica_ds_7.t_order_item_7 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-CREATE TABLE replica_ds_7.t_order_8 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE replica_ds_7.t_order_item_8 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-CREATE TABLE replica_ds_7.t_order_9 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE replica_ds_7.t_order_item_9 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-
-CREATE TABLE replica_ds_8.t_order_0 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE replica_ds_8.t_order_item_0 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-CREATE TABLE replica_ds_8.t_order_1 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE replica_ds_8.t_order_item_1 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-CREATE TABLE replica_ds_8.t_order_2 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE replica_ds_8.t_order_item_2 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-CREATE TABLE replica_ds_8.t_order_3 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE replica_ds_8.t_order_item_3 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-CREATE TABLE replica_ds_8.t_order_4 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE replica_ds_8.t_order_item_4 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-CREATE TABLE replica_ds_8.t_order_5 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE replica_ds_8.t_order_item_5 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-CREATE TABLE replica_ds_8.t_order_6 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE replica_ds_8.t_order_item_6 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-CREATE TABLE replica_ds_8.t_order_7 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE replica_ds_8.t_order_item_7 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-CREATE TABLE replica_ds_8.t_order_8 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE replica_ds_8.t_order_item_8 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-CREATE TABLE replica_ds_8.t_order_9 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE replica_ds_8.t_order_item_9 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-
-CREATE TABLE replica_ds_9.t_order_0 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE replica_ds_9.t_order_item_0 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-CREATE TABLE replica_ds_9.t_order_1 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE replica_ds_9.t_order_item_1 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-CREATE TABLE replica_ds_9.t_order_2 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE replica_ds_9.t_order_item_2 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-CREATE TABLE replica_ds_9.t_order_3 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE replica_ds_9.t_order_item_3 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-CREATE TABLE replica_ds_9.t_order_4 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE replica_ds_9.t_order_item_4 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-CREATE TABLE replica_ds_9.t_order_5 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE replica_ds_9.t_order_item_5 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-CREATE TABLE replica_ds_9.t_order_6 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE replica_ds_9.t_order_item_6 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-CREATE TABLE replica_ds_9.t_order_7 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE replica_ds_9.t_order_item_7 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-CREATE TABLE replica_ds_9.t_order_8 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE replica_ds_9.t_order_item_8 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-CREATE TABLE replica_ds_9.t_order_9 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE replica_ds_9.t_order_item_9 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/docker/dbtbl_with_replica_query/proxy/conf/config-dbtbl-with-replica-query.yaml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/docker/dbtbl_with_replica_query/proxy/conf/config-dbtbl-with-replica-query.yaml
deleted file mode 100644
index aac865b..0000000
--- a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/docker/dbtbl_with_replica_query/proxy/conf/config-dbtbl-with-replica-query.yaml
+++ /dev/null
@@ -1,325 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-schemaName: dbtbl_with_replica_query
-
-dataSources:
- primary_ds_0:
- url: jdbc:mysql://dbtbl-with-replica-query.mysql:3306/primary_ds_0?serverTimezone=UTC&useSSL=false
- username: root
- password:
- connectionTimeoutMilliseconds: 30000
- idleTimeoutMilliseconds: 60000
- maxLifetimeMilliseconds: 1800000
- maxPoolSize: 2
- minPoolSize: 2
- maintenanceIntervalMilliseconds: 30000
- primary_ds_1:
- url: jdbc:mysql://dbtbl-with-replica-query.mysql:3306/primary_ds_1?serverTimezone=UTC&useSSL=false
- username: root
- password:
- connectionTimeoutMilliseconds: 30000
- idleTimeoutMilliseconds: 60000
- maxLifetimeMilliseconds: 1800000
- maxPoolSize: 2
- minPoolSize: 2
- maintenanceIntervalMilliseconds: 30000
- primary_ds_2:
- url: jdbc:mysql://dbtbl-with-replica-query.mysql:3306/primary_ds_2?serverTimezone=UTC&useSSL=false
- username: root
- password:
- connectionTimeoutMilliseconds: 30000
- idleTimeoutMilliseconds: 60000
- maxLifetimeMilliseconds: 1800000
- maxPoolSize: 2
- minPoolSize: 2
- maintenanceIntervalMilliseconds: 30000
- primary_ds_3:
- url: jdbc:mysql://dbtbl-with-replica-query.mysql:3306/primary_ds_3?serverTimezone=UTC&useSSL=false
- username: root
- password:
- connectionTimeoutMilliseconds: 30000
- idleTimeoutMilliseconds: 60000
- maxLifetimeMilliseconds: 1800000
- maxPoolSize: 2
- minPoolSize: 2
- maintenanceIntervalMilliseconds: 30000
- primary_ds_4:
- url: jdbc:mysql://dbtbl-with-replica-query.mysql:3306/primary_ds_4?serverTimezone=UTC&useSSL=false
- username: root
- password:
- connectionTimeoutMilliseconds: 30000
- idleTimeoutMilliseconds: 60000
- maxLifetimeMilliseconds: 1800000
- maxPoolSize: 2
- minPoolSize: 2
- maintenanceIntervalMilliseconds: 30000
- primary_ds_5:
- url: jdbc:mysql://dbtbl-with-replica-query.mysql:3306/primary_ds_5?serverTimezone=UTC&useSSL=false
- username: root
- password:
- connectionTimeoutMilliseconds: 30000
- idleTimeoutMilliseconds: 60000
- maxLifetimeMilliseconds: 1800000
- maxPoolSize: 2
- minPoolSize: 2
- maintenanceIntervalMilliseconds: 30000
- primary_ds_6:
- url: jdbc:mysql://dbtbl-with-replica-query.mysql:3306/primary_ds_6?serverTimezone=UTC&useSSL=false
- username: root
- password:
- connectionTimeoutMilliseconds: 30000
- idleTimeoutMilliseconds: 60000
- maxLifetimeMilliseconds: 1800000
- maxPoolSize: 2
- minPoolSize: 2
- maintenanceIntervalMilliseconds: 30000
- primary_ds_7:
- url: jdbc:mysql://dbtbl-with-replica-query.mysql:3306/primary_ds_7?serverTimezone=UTC&useSSL=false
- username: root
- password:
- connectionTimeoutMilliseconds: 30000
- idleTimeoutMilliseconds: 60000
- maxLifetimeMilliseconds: 1800000
- maxPoolSize: 2
- minPoolSize: 2
- maintenanceIntervalMilliseconds: 30000
- primary_ds_8:
- url: jdbc:mysql://dbtbl-with-replica-query.mysql:3306/primary_ds_8?serverTimezone=UTC&useSSL=false
- username: root
- password:
- connectionTimeoutMilliseconds: 30000
- idleTimeoutMilliseconds: 60000
- maxLifetimeMilliseconds: 1800000
- maxPoolSize: 2
- minPoolSize: 2
- maintenanceIntervalMilliseconds: 30000
- primary_ds_9:
- url: jdbc:mysql://dbtbl-with-replica-query.mysql:3306/primary_ds_8?serverTimezone=UTC&useSSL=false
- username: root
- password:
- connectionTimeoutMilliseconds: 30000
- idleTimeoutMilliseconds: 60000
- maxLifetimeMilliseconds: 1800000
- maxPoolSize: 2
- minPoolSize: 2
- maintenanceIntervalMilliseconds: 30000
- replica_ds_0:
- url: jdbc:mysql://dbtbl-with-replica-query.mysql:3306/replica_ds_0?serverTimezone=UTC&useSSL=false
- username: root
- password:
- connectionTimeoutMilliseconds: 30000
- idleTimeoutMilliseconds: 60000
- maxLifetimeMilliseconds: 1800000
- maxPoolSize: 2
- minPoolSize: 2
- maintenanceIntervalMilliseconds: 30000
- replica_ds_1:
- url: jdbc:mysql://dbtbl-with-replica-query.mysql:3306/replica_ds_1?serverTimezone=UTC&useSSL=false
- username: root
- password:
- connectionTimeoutMilliseconds: 30000
- idleTimeoutMilliseconds: 60000
- maxLifetimeMilliseconds: 1800000
- maxPoolSize: 2
- minPoolSize: 2
- maintenanceIntervalMilliseconds: 30000
- replica_ds_2:
- url: jdbc:mysql://dbtbl-with-replica-query.mysql:3306/replica_ds_2?serverTimezone=UTC&useSSL=false
- username: root
- password:
- connectionTimeoutMilliseconds: 30000
- idleTimeoutMilliseconds: 60000
- maxLifetimeMilliseconds: 1800000
- maxPoolSize: 2
- minPoolSize: 2
- maintenanceIntervalMilliseconds: 30000
- replica_ds_3:
- url: jdbc:mysql://dbtbl-with-replica-query.mysql:3306/replica_ds_3?serverTimezone=UTC&useSSL=false
- username: root
- password:
- connectionTimeoutMilliseconds: 30000
- idleTimeoutMilliseconds: 60000
- maxLifetimeMilliseconds: 1800000
- maxPoolSize: 2
- minPoolSize: 2
- maintenanceIntervalMilliseconds: 30000
- replica_ds_4:
- url: jdbc:mysql://dbtbl-with-replica-query.mysql:3306/replica_ds_4?serverTimezone=UTC&useSSL=false
- username: root
- password:
- connectionTimeoutMilliseconds: 30000
- idleTimeoutMilliseconds: 60000
- maxLifetimeMilliseconds: 1800000
- maxPoolSize: 2
- minPoolSize: 2
- maintenanceIntervalMilliseconds: 30000
- replica_ds_5:
- url: jdbc:mysql://dbtbl-with-replica-query.mysql:3306/replica_ds_5?serverTimezone=UTC&useSSL=false
- username: root
- password:
- connectionTimeoutMilliseconds: 30000
- idleTimeoutMilliseconds: 60000
- maxLifetimeMilliseconds: 1800000
- maxPoolSize: 2
- minPoolSize: 2
- maintenanceIntervalMilliseconds: 30000
- replica_ds_6:
- url: jdbc:mysql://dbtbl-with-replica-query.mysql:3306/replica_ds_6?serverTimezone=UTC&useSSL=false
- username: root
- password:
- connectionTimeoutMilliseconds: 30000
- idleTimeoutMilliseconds: 60000
- maxLifetimeMilliseconds: 1800000
- maxPoolSize: 2
- minPoolSize: 2
- maintenanceIntervalMilliseconds: 30000
- replica_ds_7:
- url: jdbc:mysql://dbtbl-with-replica-query.mysql:3306/replica_ds_7?serverTimezone=UTC&useSSL=false
- username: root
- password:
- connectionTimeoutMilliseconds: 30000
- idleTimeoutMilliseconds: 60000
- maxLifetimeMilliseconds: 1800000
- maxPoolSize: 2
- minPoolSize: 2
- maintenanceIntervalMilliseconds: 30000
- replica_ds_8:
- url: jdbc:mysql://dbtbl-with-replica-query.mysql:3306/replica_ds_8?serverTimezone=UTC&useSSL=false
- username: root
- password:
- connectionTimeoutMilliseconds: 30000
- idleTimeoutMilliseconds: 60000
- maxLifetimeMilliseconds: 1800000
- maxPoolSize: 2
- minPoolSize: 2
- maintenanceIntervalMilliseconds: 30000
- replica_ds_9:
- url: jdbc:mysql://dbtbl-with-replica-query.mysql:3306/replica_ds_8?serverTimezone=UTC&useSSL=false
- username: root
- password:
- connectionTimeoutMilliseconds: 30000
- idleTimeoutMilliseconds: 60000
- maxLifetimeMilliseconds: 1800000
- maxPoolSize: 2
- minPoolSize: 2
- maintenanceIntervalMilliseconds: 30000
-
-rules:
- - !SHARDING
- tables:
- config:
- actualDataNodes: pr_ds_${0..9}.t_config
- t_order:
- actualDataNodes: pr_ds_${0..9}.t_order_${0..9}
- databaseStrategy:
- standard:
- shardingColumn: user_id
- shardingAlgorithmName: standard_test
- tableStrategy:
- standard:
- shardingColumn: order_id
- shardingAlgorithmName: standard_test
- t_order_item:
- actualDataNodes: pr_ds_${0..9}.t_order_item_${0..9}
- databaseStrategy:
- standard:
- shardingColumn: user_id
- shardingAlgorithmName: standard_test
- tableStrategy:
- standard:
- shardingColumn: order_id
- shardingAlgorithmName: standard_test
- keyGenerateStrategy:
- column: item_id
- keyGeneratorName: constant
- t_order_details:
- actualDataNodes: pr_ds_${0..9}.t_order_details_${0..9}
- databaseStrategy:
- standard:
- shardingColumn: user_id
- shardingAlgorithmName: standard_test
- tableStrategy:
- standard:
- shardingColumn: order_id
- shardingAlgorithmName: standard_test
- bindingTables:
- - t_order,t_order_item
-
- shardingAlgorithms:
- standard_test:
- type: STANDARD_TEST
-
- keyGenerators:
- constant:
- type: Constant
-
- - !REPLICA_QUERY
- dataSources:
- pr_ds_0:
- primaryDataSourceName: primary_ds_0
- replicaDataSourceNames:
- - replica_ds_0
- loadBalancerName: roundRobin
- pr_ds_1:
- primaryDataSourceName: primary_ds_1
- replicaDataSourceNames:
- - replica_ds_1
- loadBalancerName: roundRobin
- pr_ds_2:
- primaryDataSourceName: primary_ds_2
- replicaDataSourceNames:
- - replica_ds_2
- loadBalancerName: roundRobin
- pr_ds_3:
- primaryDataSourceName: primary_ds_3
- replicaDataSourceNames:
- - replica_ds_3
- loadBalancerName: roundRobin
- pr_ds_4:
- primaryDataSourceName: primary_ds_4
- replicaDataSourceNames:
- - replica_ds_4
- loadBalancerName: roundRobin
- pr_ds_5:
- primaryDataSourceName: primary_ds_5
- replicaDataSourceNames:
- - replica_ds_5
- loadBalancerName: roundRobin
- pr_ds_6:
- primaryDataSourceName: primary_ds_6
- replicaDataSourceNames:
- - replica_ds_6
- loadBalancerName: roundRobin
- pr_ds_7:
- primaryDataSourceName: primary_ds_7
- replicaDataSourceNames:
- - replica_ds_7
- loadBalancerName: roundRobin
- pr_ds_8:
- primaryDataSourceName: primary_ds_8
- replicaDataSourceNames:
- - replica_ds_8
- loadBalancerName: roundRobin
- pr_ds_9:
- primaryDataSourceName: primary_ds_9
- replicaDataSourceNames:
- - replica_ds_9
- loadBalancerName: roundRobin
- loadBalancers:
- roundRobin:
- type: ROUND_ROBIN
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/docker/dbtbl_with_replica_query/proxy/conf/logback.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/docker/dbtbl_with_replica_query/proxy/conf/logback.xml
deleted file mode 100644
index 1494746..0000000
--- a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/docker/dbtbl_with_replica_query/proxy/conf/logback.xml
+++ /dev/null
@@ -1,33 +0,0 @@
-<?xml version="1.0"?>
-<!--
- ~ Licensed to the Apache Software Foundation (ASF) under one or more
- ~ contributor license agreements. See the NOTICE file distributed with
- ~ this work for additional information regarding copyright ownership.
- ~ The ASF licenses this file to You under the Apache License, Version 2.0
- ~ (the "License"); you may not use this file except in compliance with
- ~ the License. You may obtain a copy of the License at
- ~
- ~ http://www.apache.org/licenses/LICENSE-2.0
- ~
- ~ Unless required by applicable law or agreed to in writing, software
- ~ distributed under the License is distributed on an "AS IS" BASIS,
- ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- ~ See the License for the specific language governing permissions and
- ~ limitations under the License.
- -->
-
-<configuration>
- <appender name="console" class="ch.qos.logback.core.ConsoleAppender">
- <encoder>
- <pattern>[%-5level] %d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %logger{36} - %msg%n</pattern>
- </encoder>
- </appender>
- <logger name="org.apache.shardingsphere" level="info" additivity="false">
- <appender-ref ref="console" />
- </logger>
-
- <root>
- <level value="info" />
- <appender-ref ref="console" />
- </root>
-</configuration>
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/docker/dbtbl_with_replica_query/proxy/conf/server.yaml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/docker/dbtbl_with_replica_query/proxy/conf/server.yaml
deleted file mode 100644
index dacea52..0000000
--- a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/docker/dbtbl_with_replica_query/proxy/conf/server.yaml
+++ /dev/null
@@ -1,44 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-#governance:
-# name: governance_ds
-# registryCenter:
-# type: ZooKeeper
-# serverLists: zk:2181
-# props:
-# retryIntervalMilliseconds: 500
-# timeToLiveSeconds: 60
-# maxRetries: 3
-# operationTimeoutMilliseconds: 500
-# overwrite: true
-
-authentication:
- users:
- root:
- password: root
-
-props:
- max-connections-size-per-query: 1
- acceptor-size: 16 # The default value is available processors count * 2.
- executor-size: 16 # Infinite by default.
- proxy-frontend-flush-threshold: 128 # The default value is 128.
- proxy-transaction-type: LOCAL
- proxy-opentracing-enabled: false
- proxy-hint-enabled: false
- query-with-cipher-column: true
- sql-show: false
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/docker/replica_query/mysql/init.sql b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/docker/replica_query/mysql/init.sql
deleted file mode 100644
index 19a2ecb..0000000
--- a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/docker/replica_query/mysql/init.sql
+++ /dev/null
@@ -1,30 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-CREATE USER 'root'@'%' IDENTIFIED BY '';
-GRANT All privileges ON *.* TO 'root'@'%';
-
-CREATE DATABASE primary_ds;
-CREATE DATABASE replica_0;
-CREATE DATABASE replica_1;
-
-CREATE TABLE primary_ds.t_order_ (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE primary_ds.t_order_item_ (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-CREATE TABLE replica_0.t_order_ (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE replica_0.t_order_item_ (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-CREATE TABLE replica_1.t_order_ (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE replica_1.t_order_item_ (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/docker/replica_query/proxy/conf/config-replica-query.yaml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/docker/replica_query/proxy/conf/config-replica-query.yaml
deleted file mode 100644
index 4509b5b..0000000
--- a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/docker/replica_query/proxy/conf/config-replica-query.yaml
+++ /dev/null
@@ -1,60 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-schemaName: replica_query
-
-dataSources:
- primary_ds:
- url: jdbc:mysql://replica-query.mysql:3306/primary_ds?serverTimezone=UTC&useSSL=false
- username: root
- password:
- connectionTimeoutMilliseconds: 30000
- idleTimeoutMilliseconds: 60000
- maxLifetimeMilliseconds: 1800000
- maxPoolSize: 2
- minPoolSize: 2
- maintenanceIntervalMilliseconds: 30000
- replica_0:
- url: jdbc:mysql://replica-query.mysql:3306/replica_0?serverTimezone=UTC&useSSL=false
- username: root
- password:
- connectionTimeoutMilliseconds: 30000
- idleTimeoutMilliseconds: 60000
- maxLifetimeMilliseconds: 1800000
- maxPoolSize: 2
- minPoolSize: 2
- maintenanceIntervalMilliseconds: 30000
- replica_1:
- url: jdbc:mysql://replica-query.mysql:3306/replica_1?serverTimezone=UTC&useSSL=false
- username: root
- password:
- connectionTimeoutMilliseconds: 30000
- idleTimeoutMilliseconds: 60000
- maxLifetimeMilliseconds: 1800000
- maxPoolSize: 2
- minPoolSize: 2
- maintenanceIntervalMilliseconds: 30000
-
-rules:
- - !REPLICA_QUERY
- dataSources:
- primary-replica-ds:
- name: primary-replica-ds
- primaryDataSourceName: primary_ds
- replicaDataSourceNames:
- - replica_0
- - replica_1
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/docker/replica_query/proxy/conf/logback.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/docker/replica_query/proxy/conf/logback.xml
deleted file mode 100644
index 1494746..0000000
--- a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/docker/replica_query/proxy/conf/logback.xml
+++ /dev/null
@@ -1,33 +0,0 @@
-<?xml version="1.0"?>
-<!--
- ~ Licensed to the Apache Software Foundation (ASF) under one or more
- ~ contributor license agreements. See the NOTICE file distributed with
- ~ this work for additional information regarding copyright ownership.
- ~ The ASF licenses this file to You under the Apache License, Version 2.0
- ~ (the "License"); you may not use this file except in compliance with
- ~ the License. You may obtain a copy of the License at
- ~
- ~ http://www.apache.org/licenses/LICENSE-2.0
- ~
- ~ Unless required by applicable law or agreed to in writing, software
- ~ distributed under the License is distributed on an "AS IS" BASIS,
- ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- ~ See the License for the specific language governing permissions and
- ~ limitations under the License.
- -->
-
-<configuration>
- <appender name="console" class="ch.qos.logback.core.ConsoleAppender">
- <encoder>
- <pattern>[%-5level] %d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %logger{36} - %msg%n</pattern>
- </encoder>
- </appender>
- <logger name="org.apache.shardingsphere" level="info" additivity="false">
- <appender-ref ref="console" />
- </logger>
-
- <root>
- <level value="info" />
- <appender-ref ref="console" />
- </root>
-</configuration>
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/docker/tbl/docker-compose.yml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/docker/tbl/docker-compose.yml
deleted file mode 100644
index 3365839..0000000
--- a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/docker/tbl/docker-compose.yml
+++ /dev/null
@@ -1,52 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-version: "2.1"
-
-services:
- mysql:
- image: "mysql/mysql-server:5.7"
- container_name: tbl-mysql
- command: --default-authentication-plugin=mysql_native_password
- volumes:
- - ./mysql:/docker-entrypoint-initdb.d/
- ports:
- - "33160:3306"
-
-# zookeeper:
-# image: "zookeeper:3.6.2"
-# container_name: tbl-register-center
-# ports:
-# - "2181:22810"
-
- shardingsphere-proxy:
- image: apache/shardingsphere-proxy-test
- container_name: tbl-shardingsphere-proxy
- ports:
- - "33080:3307"
- links:
- - "mysql:tbl.mysql"
-# - "zookeeper:zk"
- volumes:
- - ./proxy/conf:/opt/shardingsphere-proxy/conf
- depends_on:
- - mysql
- environment:
- - WAIT_HOSTS=mysql:3306
- - WAIT_HOSTS_TIMEOUT=300
- - WAIT_SLEEP_INTERVAL=5
- - WAIT_HOST_CONNECT_TIMEOUT=30
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/docker/tbl/mysql/init.sql b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/docker/tbl/mysql/init.sql
deleted file mode 100644
index de8f640..0000000
--- a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/docker/tbl/mysql/init.sql
+++ /dev/null
@@ -1,42 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-CREATE USER 'root'@'%' IDENTIFIED BY '';
-GRANT All privileges ON *.* TO 'root'@'%';
-
-CREATE DATABASE tbl;
-
-CREATE TABLE tbl.t_order_0 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE tbl.t_order_item_0 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-CREATE TABLE tbl.t_order_1 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE tbl.t_order_item_1 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-CREATE TABLE tbl.t_order_2 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE tbl.t_order_item_2 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-CREATE TABLE tbl.t_order_3 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE tbl.t_order_item_3 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-CREATE TABLE tbl.t_order_4 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE tbl.t_order_item_4 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-CREATE TABLE tbl.t_order_5 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE tbl.t_order_item_5 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-CREATE TABLE tbl.t_order_6 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE tbl.t_order_item_6 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-CREATE TABLE tbl.t_order_7 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE tbl.t_order_item_7 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-CREATE TABLE tbl.t_order_8 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE tbl.t_order_item_8 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
-CREATE TABLE tbl.t_order_9 (order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, PRIMARY KEY (order_id));
-CREATE TABLE tbl.t_order_item_9 (item_id INT NOT NULL, order_id INT NOT NULL, user_id INT NOT NULL, status VARCHAR(45) NULL, creation_date DATE, PRIMARY KEY (item_id));
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/docker/tbl/proxy/conf/config-tbl.yaml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/docker/tbl/proxy/conf/config-tbl.yaml
deleted file mode 100644
index 655ed02..0000000
--- a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/docker/tbl/proxy/conf/config-tbl.yaml
+++ /dev/null
@@ -1,65 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-schemaName: tbl
-
-dataSources:
- tbl:
- url: jdbc:mysql://tbl.mysql:3306/tbl?serverTimezone=UTC&useSSL=false
- username: root
- password:
- connectionTimeoutMilliseconds: 30000
- idleTimeoutMilliseconds: 60000
- maxLifetimeMilliseconds: 1800000
- maxPoolSize: 2
- minPoolSize: 2
- maintenanceIntervalMilliseconds: 30000
-
-rules:
- - !SHARDING
- tables:
- t_order:
- actualDataNodes: tbl.t_order_${0..9}
- tableStrategy:
- standard:
- shardingColumn: order_id
- shardingAlgorithmName: standard_test
- t_order_item:
- actualDataNodes: tbl.t_order_item_${0..9}
- tableStrategy:
- standard:
- shardingColumn: order_id
- shardingAlgorithmName: standard_test
- keyGenerateStrategy:
- column: item_id
- keyGeneratorName: constant
- t_order_details:
- actualDataNodes: tbl.t_order_details_${0..9}
- tableStrategy:
- standard:
- shardingColumn: order_id
- shardingAlgorithmName: standard_test
- bindingTables:
- - t_order,t_order_item
-
- shardingAlgorithms:
- standard_test:
- type: STANDARD_TEST
-
- keyGenerators:
- constant:
- type: Constant
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/docker/tbl/proxy/conf/logback.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/docker/tbl/proxy/conf/logback.xml
deleted file mode 100644
index 1494746..0000000
--- a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/docker/tbl/proxy/conf/logback.xml
+++ /dev/null
@@ -1,33 +0,0 @@
-<?xml version="1.0"?>
-<!--
- ~ Licensed to the Apache Software Foundation (ASF) under one or more
- ~ contributor license agreements. See the NOTICE file distributed with
- ~ this work for additional information regarding copyright ownership.
- ~ The ASF licenses this file to You under the Apache License, Version 2.0
- ~ (the "License"); you may not use this file except in compliance with
- ~ the License. You may obtain a copy of the License at
- ~
- ~ http://www.apache.org/licenses/LICENSE-2.0
- ~
- ~ Unless required by applicable law or agreed to in writing, software
- ~ distributed under the License is distributed on an "AS IS" BASIS,
- ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- ~ See the License for the specific language governing permissions and
- ~ limitations under the License.
- -->
-
-<configuration>
- <appender name="console" class="ch.qos.logback.core.ConsoleAppender">
- <encoder>
- <pattern>[%-5level] %d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %logger{36} - %msg%n</pattern>
- </encoder>
- </appender>
- <logger name="org.apache.shardingsphere" level="info" additivity="false">
- <appender-ref ref="console" />
- </logger>
-
- <root>
- <level value="info" />
- <appender-ref ref="console" />
- </root>
-</configuration>
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dcl/dcl-integrate-test-cases.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dcl/dcl-integrate-test-cases.xml
deleted file mode 100644
index 2257f53..0000000
--- a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dcl/dcl-integrate-test-cases.xml
+++ /dev/null
@@ -1,181 +0,0 @@
-<!--
- ~ Licensed to the Apache Software Foundation (ASF) under one or more
- ~ contributor license agreements. See the NOTICE file distributed with
- ~ this work for additional information regarding copyright ownership.
- ~ The ASF licenses this file to You under the Apache License, Version 2.0
- ~ (the "License"); you may not use this file except in compliance with
- ~ the License. You may obtain a copy of the License at
- ~
- ~ http://www.apache.org/licenses/LICENSE-2.0
- ~
- ~ Unless required by applicable law or agreed to in writing, software
- ~ distributed under the License is distributed on an "AS IS" BASIS,
- ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- ~ See the License for the specific language governing permissions and
- ~ limitations under the License.
- -->
-<integrate-test-cases>
- <test-case sql="CREATE USER 'user_dev_new'@'localhost'" db-types="MySQL" />
- <test-case sql="CREATE USER user_dev_new" db-types="PostgreSQL" />
- <test-case sql="CREATE USER 'user_dev_new'@'localhost' identified by 'passwd_dev'" db-types="MySQL"/>
- <test-case sql="CREATE USER user_dev_new identified by passwd_dev" db-types="Oracle" />
- <test-case sql="CREATE USER user_dev_new FOR LOGIN login_dev" db-types="SQLServer"/>
- <test-case sql="CREATE USER user_dev_new PASSWORD 'passwd_dev'" db-types="PostgreSQL"/>
- <test-case sql="CREATE LOGIN login_dev_new WITH PASSWORD = 'passwd_dev'" db-types="SQLServer"/>
- <test-case sql="CREATE ROLE role_dev" db-types="MySQL,Oracle,PostgreSQL,SQLServer"/>
- <test-case sql="CREATE ROLE role_dev_new identified by dev_passwd" db-types="Oracle"/>
- <test-case sql="CREATE ROLE role_dev_new PASSWORD 'passwd_dev'" db-types="PostgreSQL"/>
- <test-case sql="ALTER ROLE ALL RESET client_min_messages" db-types="PostgreSQL"/>
- <test-case sql="ALTER ROLE ALL SET client_min_messages = DEBUG" db-types="PostgreSQL"/>
- <test-case sql="ALTER USER ALL RESET client_min_messages" db-types="PostgreSQL"/>
- <test-case sql="ALTER USER ALL SET client_min_messages = DEBUG" db-types="PostgreSQL"/>
- <test-case sql="ALTER USER 'user_dev'@'localhost'" db-types="MySQL"/>
- <test-case sql="ALTER USER user_dev identified by passwd_dev" db-types="Oracle"/>
- <test-case sql="ALTER USER 'user_dev'@'localhost' identified by 'passwd_dev'" db-types="MySQL"/>
- <test-case sql="ALTER USER user_dev account lock" db-types="Oracle"/>
- <test-case sql="ALTER LOGIN login_dev WITH NAME = login_dev_new" db-types="SQLServer"/>
- <test-case sql="ALTER LOGIN login_dev WITH PASSWORD = 'passwd_dev'" db-types="SQLServer"/>
- <test-case sql="ALTER USER user_dev WITH NAME = user_dev_new" db-types="SQLServer"/>
- <test-case sql="ALTER USER default_user RENAME TO user_dev_new" db-types="PostgreSQL"/>
- <test-case sql="ALTER USER user_dev WITH PASSWORD = 'passwd_dev'" db-types="SQLServer"/>
- <test-case sql="ALTER USER default_user WITH PASSWORD 'passwd_dev'" db-types="PostgreSQL"/>
- <test-case sql="ALTER ROLE role_dev_bak DROP MEMBER member1" db-types="SQLServer"/>
- <test-case sql="ALTER ROLE role_dev IDENTIFIED EXTERNALLY" db-types="Oracle"/>
- <test-case sql="ALTER USER user_dev IDENTIFIED EXTERNALLY" db-types="Oracle"/>
- <test-case sql="ALTER ROLE role_dev IDENTIFIED GLOBALLY" db-types="Oracle"/>
- <test-case sql="ALTER USER user_dev IDENTIFIED GLOBALLY AS 'CN=user_dev'" db-types="Oracle"/>
- <test-case sql="ALTER LOGIN login1 ADD CREDENTIAL credential" db-types="SQLServer"/>
- <test-case sql="ALTER LOGIN login1 ENABLE" db-types="SQLServer"/>
- <test-case sql="ALTER LOGIN login1_bak WITH NAME = login1" db-types="SQLServer"/>
- <test-case sql="ALTER LOGIN login1 WITH DEFAULT_DATABASE = database" db-types="SQLServer"/>
- <test-case sql="ALTER LOGIN login1 WITH PASSWORD = 0x01000CF35567C60BFB41EBDE4CF700A985A13D773D6B45B90900 HASHED" db-types="SQLServer"/>
- <test-case sql="ALTER LOGIN login1 WITH PASSWORD = 'password'" db-types="SQLServer"/>
- <test-case sql="ALTER LOGIN login1 WITH PASSWORD = 'password' OLD_PASSWORD = 'password'" db-types="SQLServer"/>
- <test-case sql="ALTER LOGIN login1 WITH PASSWORD = 'password' UNLOCK" db-types="SQLServer"/>
- <test-case sql="ALTER ROLE role_dev NOT IDENTIFIED" db-types="Oracle"/>
- <test-case sql="ALTER ROLE role_dev_bak WITH NAME = role_dev" db-types="SQLServer"/>
- <test-case sql="ALTER ROLE default_role RESET ALL" db-types="PostgreSQL"/>
- <test-case sql="ALTER ROLE default_role RESET client_min_messages" db-types="PostgreSQL"/>
- <test-case sql="ALTER ROLE default_role SET client_min_messages = DEBUG" db-types="PostgreSQL"/>
- <test-case sql="ALTER ROLE default_role SET client_min_messages FROM CURRENT" db-types="PostgreSQL"/>
- <test-case sql="ALTER ROLE role_dev NOT IDENTIFIED CONTAINER = ALL" db-types="Oracle"/>
- <test-case sql="ALTER ROLE default_role WITH SUPERUSER" db-types="PostgreSQL"/>
- <test-case sql="ALTER ROLE default_role WITH CREATEDB CREATEROLE" db-types="PostgreSQL"/>
- <test-case sql="ALTER ROLE role_dev IDENTIFIED BY password" db-types="Oracle"/>
- <test-case sql="ALTER ROLE default_role WITH ENCRYPTED PASSWORD 'password'" db-types="PostgreSQL"/>
- <test-case sql="ALTER USER user_dev PASSWORD EXPIRE ACCOUNT LOCK" db-types="Oracle"/>
- <test-case sql="ALTER USER user_dev GRANT CONNECT THROUGH user2" db-types="Oracle"/>
- <test-case sql="ALTER USER user_dev GRANT CONNECT THROUGH user2 WITH ROLE role_dev" db-types="Oracle"/>
- <test-case sql="ALTER USER IF EXISTS user_dev" db-types="MySQL"/>
- <test-case sql="ALTER USER user_dev IDENTIFIED BY password ACCOUNT LOCK" db-types="Oracle"/>
- <test-case sql="ALTER USER user_dev GRANT CONNECT THROUGH user2 REVOKE CONNECT THROUGH user3" db-types="Oracle"/>
- <test-case sql="ALTER USER user_dev_bak WITH NAME = user_dev" db-types="SQLServer"/>
- <test-case sql="ALTER USER default_user RESET ALL" db-types="PostgreSQL"/>
- <test-case sql="ALTER USER default_user RESET client_min_messages" db-types="PostgreSQL"/>
- <test-case sql="ALTER USER user_dev REVOKE CONNECT THROUGH user2" db-types="Oracle"/>
- <test-case sql="ALTER USER default_user SET client_min_messages = DEBUG" db-types="PostgreSQL"/>
- <test-case sql="ALTER USER default_user SET client_min_messages FROM CURRENT" db-types="PostgreSQL"/>
- <test-case sql="ALTER USER user_dev WITH DEFAULT_SCHEMA = schema" db-types="SQLServer"/>
- <test-case sql="ALTER USER user_dev WITH LOGIN = login1" db-types="SQLServer"/>
- <test-case sql="ALTER USER user_dev WITH PASSWORD = 'password'" db-types="SQLServer"/>
- <test-case sql="ALTER USER user_dev CONTAINER = ALL" db-types="Oracle"/>
- <test-case sql="ALTER USER default_user WITH SUPERUSER" db-types="PostgreSQL"/>
- <test-case sql="ALTER USER default_user WITH CREATEDB CREATEROLE" db-types="PostgreSQL"/>
- <test-case sql="ALTER USER default_user WITH ENCRYPTED PASSWORD 'password'" db-types="PostgreSQL"/>
- <test-case sql="ALTER USER user_dev QUOTA 1M ON tablespace1" db-types="Oracle"/>
- <test-case sql="ALTER USER user_dev DEFAULT TABLESPACE tablespace1" db-types="Oracle"/>
- <test-case sql="CREATE ROLE role_dev IDENTIFIED EXTERNALLY" db-types="Oracle"/>
- <test-case sql="CREATE USER user_dev IDENTIFIED EXTERNALLY" db-types="Oracle"/>
- <test-case sql="CREATE ROLE role_dev IDENTIFIED GLOBALLY" db-types="Oracle"/>
- <test-case sql="CREATE USER user_dev IDENTIFIED GLOBALLY" db-types="Oracle"/>
- <test-case sql="CREATE LOGIN login1 WITH PASSWORD = 'password', CREDENTIAL = credential" db-types="SQLServer"/>
- <test-case sql="CREATE LOGIN login1 FROM ASYMMETRIC KEY asym_key" db-types="SQLServer"/>
- <test-case sql="CREATE LOGIN login1 FROM CERTIFICATE certificate" db-types="SQLServer"/>
- <test-case sql="CREATE LOGIN login1 WITH PASSWORD = 'password', DEFAULT_DATABASE = database" db-types="SQLServer"/>
- <test-case sql="CREATE LOGIN login1 WITH PASSWORD = 'password' MUST_CHANGE, CHECK_EXPIRATION = ON" db-types="SQLServer"/>
- <test-case sql="CREATE LOGIN login1 WITH PASSWORD = 0x01000CF35567C60BFB41EBDE4CF700A985A13D773D6B45B90900 HASHED" db-types="SQLServer"/>
- <test-case sql="CREATE LOGIN login1 WITH PASSWORD = 'password'" db-types="SQLServer"/>
- <test-case sql="CREATE ROLE role_dev NOT IDENTIFIED" db-types="Oracle"/>
- <test-case sql="CREATE ROLE role_dev AUTHORIZATION authorization" db-types="SQLServer"/>
- <test-case sql="CREATE ROLE IF NOT EXISTS role_dev" db-types="MySQL"/>
- <test-case sql="CREATE ROLE role_dev CONTAINER = ALL" db-types="Oracle"/>
- <test-case sql="CREATE ROLE role_dev WITH SUPERUSER" db-types="PostgreSQL"/>
- <test-case sql="CREATE ROLE role_dev WITH CREATEDB CREATEROLE" db-types="PostgreSQL"/>
- <test-case sql="CREATE ROLE role_dev IDENTIFIED BY password" db-types="Oracle"/>
- <test-case sql="CREATE ROLE role_dev WITH ROLE role2" db-types="PostgreSQL"/>
- <test-case sql="CREATE ROLE role_dev WITH ROLE role2, role3" db-types="PostgreSQL"/>
- <test-case sql="CREATE USER IF NOT EXISTS user_dev DEFAULT ROLE default_role" db-types="MySQL"/>
- <test-case sql="CREATE USER user_dev" db-types="PostgreSQL,SQLServer"/>
- <test-case sql="CREATE USER user_dev FROM ASYMMETRIC KEY asym_key" db-types="SQLServer"/>
- <test-case sql="CREATE USER user_dev FROM CERTIFICATE certificate" db-types="SQLServer"/>
- <test-case sql="CREATE USER user_dev FROM LOGIN login1" db-types="SQLServer"/>
- <test-case sql="CREATE USER user_dev WITHOUT LOGIN" db-types="SQLServer"/>
- <test-case sql="CREATE USER user_dev WITH SUPERUSER" db-types="PostgreSQL"/>
- <test-case sql="CREATE USER user_dev WITH CREATEDB CREATEROLE" db-types="PostgreSQL"/>
- <test-case sql="CREATE USER user_dev WITH ENCRYPTED PASSWORD 'password'" db-types="PostgreSQL"/>
- <test-case sql="CREATE USER user_dev IDENTIFIED BY password QUOTA 1M ON tablespace1" db-types="Oracle"/>
- <test-case sql="CREATE USER user_dev WITH ROLE role2" db-types="PostgreSQL"/>
- <test-case sql="CREATE USER user_dev WITH ROLE role2, role3" db-types="PostgreSQL"/>
- <test-case sql="CREATE USER user_dev WITH DEFAULT_SCHEMA = schema" db-types="SQLServer"/>
- <test-case sql="CREATE USER user_dev IDENTIFIED BY password DEFAULT TABLESPACE tablespace1" db-types="Oracle"/>
- <test-case sql="DENY UPDATE ON t_order TO user_dev CASCADEK" db-types="SQLServer"/>
- <test-case sql="DENY ALL PRIVILEGES ON t_order TO user_dev" db-types="SQLServer"/>
- <test-case sql="DENY INSERT, SELECT, UPDATE, DELETE ON t_order TO user_dev" db-types="SQLServer"/>
- <test-case sql="DENY SELECT ON t_order TO user_dev" db-types="SQLServer"/>
- <test-case sql="DENY SELECT (order_id) ON t_order TO user_dev" db-types="SQLServer"/>
- <test-case sql="DENY SELECT (order_id) ON t_order TO user_dev, user2" db-types="SQLServer"/>
- <test-case sql="DROP ROLE IF EXISTS default_role" db-types="MySQL,PostgreSQL,SQLServer"/>
- <test-case sql="DROP USER default_user" db-types="Oracle,PostgreSQL,SQLServer"/>
- <test-case sql="DROP USER user_dev@localhost" db-types="MySQL,Oracle"/>
- <test-case sql="DROP USER user_dev CASCADE" db-types="Oracle"/>
- <test-case sql="DROP ROLE default_role" db-types="MySQL,Oracle,PostgreSQL,SQLServer"/>
- <test-case sql="DROP LOGIN login1" db-types="SQLServer"/>
- <test-case sql="RENAME USER 'user_dev'@'localhost' TO 'user_dev'@'127.0.0.1'" db-types="MySQL"/>
- <test-case sql="GRANT select, update, insert, delete on t_order to default_user" db-types="Oracle,SQLServer"/>
- <test-case sql="GRANT select, update, insert, delete on t_order to default_user with GRANT option" db-types="Oracle,SQLServer"/>
- <test-case sql="GRANT role2 to role3" db-types="Oracle,PostgreSQL,SQLServer"/>
- <test-case sql="GRANT ADVISOR, ALTER DATABASE to user_dev with admin option" db-types="Oracle"/>
- <test-case sql="GRANT ALL ON sharding_db.* TO 'user_dev'@'localhost'" db-types="MySQL"/>
- <test-case sql="GRANT ALL ON t_order TO 'user_dev'@'localhost'" db-types="MySQL"/>
- <test-case sql="GRANT ALL ON sharding_db.t_order TO 'user_dev'@'localhost'" db-types="MySQL"/>
- <test-case sql="GRANT select, update ON t_order TO 'user_dev'@'localhost'" db-types="MySQL"/>
- <test-case sql="REVOKE select, update on t_order from default_user" db-types="Oracle,PostgreSQL,SQLServer"/>
- <test-case sql="REVOKE default_role from default_user" db-types="Oracle,PostgreSQL,SQLServer"/>
- <test-case sql="REVOKE ADVISOR, ALTER DATABASE from user_dev" db-types="Oracle"/>
- <test-case sql="REVOKE ALL PRIVILEGES, GRANT OPTION FROM 'user_dev'@'localhost'" db-types="MySQL"/>
- <test-case sql="REVOKE select, insert ON * FROM 'user_dev'@'localhost'" db-types="MySQL"/>
- <test-case sql="REVOKE select, insert ON t_order FROM 'user_dev'@'localhost'" db-types="MySQL"/>
- <test-case sql="REVOKE select, insert ON primary_ds.t_order FROM 'user_dev'@'localhost'" db-types="MySQL"/>
- <test-case sql="REVOKE ALL PRIVILEGES ON *.* FROM user_dev" db-types="MySQL"/>
- <test-case sql="REVOKE ALL PRIVILEGES (order_id) ON TABLE t_order FROM role2" db-types="PostgreSQL"/>
- <test-case sql="REVOKE ALL PRIVILEGES (order_id) ON TABLE t_order FROM role2, role3" db-types="PostgreSQL"/>
- <test-case sql="REVOKE ALL PRIVILEGES ON db_0.t_order FROM user_dev" db-types="Oracle"/>
- <test-case sql="REVOKE ALL PRIVILEGES ON SCHEMA public FROM default_role" db-types="PostgreSQL"/>
- <test-case sql="REVOKE ALL PRIVILEGES ON SCHEMA public FROM default_role, role2" db-types="PostgreSQL"/>
- <test-case sql="REVOKE ALL PRIVILEGES ON TABLE t_order FROM default_role, role2" db-types="PostgreSQL"/>
- <test-case sql="REVOKE ALL PRIVILEGES FROM user_dev" db-types="Oracle"/>
- <test-case sql="REVOKE CREATE ON SCHEMA public FROM default_role" db-types="PostgreSQL"/>
- <test-case sql="REVOKE INSERT, SELECT, UPDATE, DELETE ON *.* FROM user_dev" db-types="MySQL"/>
- <test-case sql="REVOKE INSERT, SELECT, UPDATE, DELETE ON t_order FROM user_dev" db-types="SQLServer"/>
- <test-case sql="REVOKE EXECUTE ON ALL FUNCTIONS IN SCHEMA public FROM default_role" db-types="PostgreSQL"/>
- <test-case sql="REVOKE SELECT ON db_0.t_order FROM user_dev" db-types="Oracle"/>
- <test-case sql="REVOKE SELECT (order_id) ON db_0.t_order FROM user_dev" db-types="Oracle"/>
- <test-case sql="REVOKE SELECT ON db_0.t_order FROM user_dev, user2" db-types="Oracle"/>
- <test-case sql="REVOKE INSERT, SELECT, UPDATE, DELETE ON db_0.t_order FROM user_dev" db-types="Oracle"/>
- <test-case sql="REVOKE role_dev FROM FUNCTION db_0.function1" db-types="Oracle"/>
- <test-case sql="REVOKE default_role, role2 FROM role3, role4" db-types="PostgreSQL"/>
- <test-case sql="REVOKE role_dev, role2 FROM FUNCTION db_0.function1, FUNCTION db_0.function2" db-types="Oracle"/>
- <test-case sql="REVOKE SELECT ON *.* FROM user_dev" db-types="MySQL"/>
- <test-case sql="REVOKE SELECT (order_id) ON TABLE t_order FROM default_role" db-types="PostgreSQL"/>
- <test-case sql="REVOKE SELECT ON *.* FROM 'user_dev'@'localhost'" db-types="MySQL"/>
- <test-case sql="REVOKE SELECT ON ALL SEQUENCES IN SCHEMA public FROM default_role" db-types="PostgreSQL"/>
- <test-case sql="REVOKE SELECT ON ALL TABLES IN SCHEMA public FROM default_role" db-types="PostgreSQL"/>
- <test-case sql="REVOKE SELECT (order_id) ON t_order FROM user_dev, user2" db-types="SQLServer"/>
- <test-case sql="REVOKE CREATE SESSION FROM user_dev" db-types="Oracle"/>
- <test-case sql="REVOKE CREATE SESSION FROM user_dev, user2" db-types="Oracle"/>
- <test-case sql="REVOKE CREATE ANY MATERIALIZED VIEW, ALTER ANY MATERIALIZED VIEW, DROP ANY MATERIALIZED VIEW FROM user_dev" db-types="Oracle"/>
- <test-case sql="REVOKE SELECT ON TABLE t_order FROM default_role" db-types="PostgreSQL"/>
- <test-case sql="REVOKE SELECT ON t_order FROM user_dev" db-types="SQLServer"/>
- <test-case sql="SET ROLE ALL EXCEPT role_dev" db-types="MySQL"/>
- <test-case sql="SET ROLE ALL EXCEPT role_dev, role2" db-types="MySQL"/>
-</integrate-test-cases>
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/ddl/dataset/db/create_index.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/ddl/dataset/db/create_index.xml
deleted file mode 100644
index d3bdabb..0000000
--- a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/ddl/dataset/db/create_index.xml
+++ /dev/null
@@ -1,24 +0,0 @@
-<!--
- ~ Licensed to the Apache Software Foundation (ASF) under one or more
- ~ contributor license agreements. See the NOTICE file distributed with
- ~ this work for additional information regarding copyright ownership.
- ~ The ASF licenses this file to You under the Apache License, Version 2.0
- ~ (the "License"); you may not use this file except in compliance with
- ~ the License. You may obtain a copy of the License at
- ~
- ~ http://www.apache.org/licenses/LICENSE-2.0
- ~
- ~ Unless required by applicable law or agreed to in writing, software
- ~ distributed under the License is distributed on an "AS IS" BASIS,
- ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- ~ See the License for the specific language governing permissions and
- ~ limitations under the License.
- -->
-
-<dataset>
- <metadata table-name="t_order_details" data-nodes="db_${0..9}.t_order_details">
- <column name="id" type="integer" />
- <column name="description" type="varchar" />
- <index name="t_order_details_index_t_order_details" column="id" unique="false" />
- </metadata>
-</dataset>
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/ddl/dataset/db/create_table.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/ddl/dataset/db/create_table.xml
deleted file mode 100644
index df61b92..0000000
--- a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/ddl/dataset/db/create_table.xml
+++ /dev/null
@@ -1,23 +0,0 @@
-<!--
- ~ Licensed to the Apache Software Foundation (ASF) under one or more
- ~ contributor license agreements. See the NOTICE file distributed with
- ~ this work for additional information regarding copyright ownership.
- ~ The ASF licenses this file to You under the Apache License, Version 2.0
- ~ (the "License"); you may not use this file except in compliance with
- ~ the License. You may obtain a copy of the License at
- ~
- ~ http://www.apache.org/licenses/LICENSE-2.0
- ~
- ~ Unless required by applicable law or agreed to in writing, software
- ~ distributed under the License is distributed on an "AS IS" BASIS,
- ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- ~ See the License for the specific language governing permissions and
- ~ limitations under the License.
- -->
-
-<dataset>
- <metadata table-name="t_order_details" data-nodes="db_${0..9}.t_order_details">
- <column name="id" type="integer" />
- <column name="description" type="varchar" />
- </metadata>
-</dataset>
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/ddl/dataset/db/drop_table.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/ddl/dataset/db/drop_table.xml
deleted file mode 100644
index 291ed32..0000000
--- a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/ddl/dataset/db/drop_table.xml
+++ /dev/null
@@ -1,20 +0,0 @@
-<!--
- ~ Licensed to the Apache Software Foundation (ASF) under one or more
- ~ contributor license agreements. See the NOTICE file distributed with
- ~ this work for additional information regarding copyright ownership.
- ~ The ASF licenses this file to You under the Apache License, Version 2.0
- ~ (the "License"); you may not use this file except in compliance with
- ~ the License. You may obtain a copy of the License at
- ~
- ~ http://www.apache.org/licenses/LICENSE-2.0
- ~
- ~ Unless required by applicable law or agreed to in writing, software
- ~ distributed under the License is distributed on an "AS IS" BASIS,
- ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- ~ See the License for the specific language governing permissions and
- ~ limitations under the License.
- -->
-
-<dataset>
- <metadata table-name="t_order_details" data-nodes="db_${0..9}.t_order_details" />
-</dataset>
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/ddl/dataset/dbtbl_with_replica_query/alter_table.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/ddl/dataset/dbtbl_with_replica_query/alter_table.xml
deleted file mode 100644
index 28ebdf9..0000000
--- a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/ddl/dataset/dbtbl_with_replica_query/alter_table.xml
+++ /dev/null
@@ -1,24 +0,0 @@
-<!--
- ~ Licensed to the Apache Software Foundation (ASF) under one or more
- ~ contributor license agreements. See the NOTICE file distributed with
- ~ this work for additional information regarding copyright ownership.
- ~ The ASF licenses this file to You under the Apache License, Version 2.0
- ~ (the "License"); you may not use this file except in compliance with
- ~ the License. You may obtain a copy of the License at
- ~
- ~ http://www.apache.org/licenses/LICENSE-2.0
- ~
- ~ Unless required by applicable law or agreed to in writing, software
- ~ distributed under the License is distributed on an "AS IS" BASIS,
- ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- ~ See the License for the specific language governing permissions and
- ~ limitations under the License.
- -->
-
-<dataset>
- <metadata table-name="t_order_details" data-nodes="primary_ds_${0..9}.t_order_details_${0..9},replica_ds_${0..9}.t_order_details_${0..9}">
- <column name="id" type="integer" />
- <column name="description" type="varchar" />
- <column name="name" type="varchar" />
- </metadata>
-</dataset>
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/ddl/dataset/dbtbl_with_replica_query/create_table.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/ddl/dataset/dbtbl_with_replica_query/create_table.xml
deleted file mode 100644
index 58f58d8..0000000
--- a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/ddl/dataset/dbtbl_with_replica_query/create_table.xml
+++ /dev/null
@@ -1,23 +0,0 @@
-<!--
- ~ Licensed to the Apache Software Foundation (ASF) under one or more
- ~ contributor license agreements. See the NOTICE file distributed with
- ~ this work for additional information regarding copyright ownership.
- ~ The ASF licenses this file to You under the Apache License, Version 2.0
- ~ (the "License"); you may not use this file except in compliance with
- ~ the License. You may obtain a copy of the License at
- ~
- ~ http://www.apache.org/licenses/LICENSE-2.0
- ~
- ~ Unless required by applicable law or agreed to in writing, software
- ~ distributed under the License is distributed on an "AS IS" BASIS,
- ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- ~ See the License for the specific language governing permissions and
- ~ limitations under the License.
- -->
-
-<dataset>
- <metadata table-name="t_order_details" data-nodes="primary_ds_${0..9}.t_order_details_${0..9},replica_ds_${0..9}.t_order_details_${0..9}">
- <column name="id" type="integer" />
- <column name="description" type="varchar" />
- </metadata>
-</dataset>
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/ddl/dataset/dbtbl_with_replica_query/create_unique_index.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/ddl/dataset/dbtbl_with_replica_query/create_unique_index.xml
deleted file mode 100644
index 9d3ac58..0000000
--- a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/ddl/dataset/dbtbl_with_replica_query/create_unique_index.xml
+++ /dev/null
@@ -1,24 +0,0 @@
-<!--
- ~ Licensed to the Apache Software Foundation (ASF) under one or more
- ~ contributor license agreements. See the NOTICE file distributed with
- ~ this work for additional information regarding copyright ownership.
- ~ The ASF licenses this file to You under the Apache License, Version 2.0
- ~ (the "License"); you may not use this file except in compliance with
- ~ the License. You may obtain a copy of the License at
- ~
- ~ http://www.apache.org/licenses/LICENSE-2.0
- ~
- ~ Unless required by applicable law or agreed to in writing, software
- ~ distributed under the License is distributed on an "AS IS" BASIS,
- ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- ~ See the License for the specific language governing permissions and
- ~ limitations under the License.
- -->
-
-<dataset>
- <metadata table-name="t_order_details" data-nodes="primary_ds_${0..9}.t_order_details_${0..9},replica_ds_${0..9}.t_order_details_${0..9}">
- <column name="id" type="integer" />
- <column name="description" type="varchar" />
- <index name="t_order_details_index_t_order_details" column="id" unique="true" />
- </metadata>
-</dataset>
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/ddl/dataset/dbtbl_with_replica_query/drop_table.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/ddl/dataset/dbtbl_with_replica_query/drop_table.xml
deleted file mode 100644
index 6c392bc..0000000
--- a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/ddl/dataset/dbtbl_with_replica_query/drop_table.xml
+++ /dev/null
@@ -1,20 +0,0 @@
-<!--
- ~ Licensed to the Apache Software Foundation (ASF) under one or more
- ~ contributor license agreements. See the NOTICE file distributed with
- ~ this work for additional information regarding copyright ownership.
- ~ The ASF licenses this file to You under the Apache License, Version 2.0
- ~ (the "License"); you may not use this file except in compliance with
- ~ the License. You may obtain a copy of the License at
- ~
- ~ http://www.apache.org/licenses/LICENSE-2.0
- ~
- ~ Unless required by applicable law or agreed to in writing, software
- ~ distributed under the License is distributed on an "AS IS" BASIS,
- ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- ~ See the License for the specific language governing permissions and
- ~ limitations under the License.
- -->
-
-<dataset>
- <metadata table-name="t_order_details" data-nodes="primary_ds_${0..9}.t_order_details_${0..9},replica_ds_${0..9}.t_order_details_${0..9}" />
-</dataset>
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/ddl/dataset/dbtbl_with_replica_query/unchanged_table.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/ddl/dataset/dbtbl_with_replica_query/unchanged_table.xml
deleted file mode 100644
index 58f58d8..0000000
--- a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/ddl/dataset/dbtbl_with_replica_query/unchanged_table.xml
+++ /dev/null
@@ -1,23 +0,0 @@
-<!--
- ~ Licensed to the Apache Software Foundation (ASF) under one or more
- ~ contributor license agreements. See the NOTICE file distributed with
- ~ this work for additional information regarding copyright ownership.
- ~ The ASF licenses this file to You under the Apache License, Version 2.0
- ~ (the "License"); you may not use this file except in compliance with
- ~ the License. You may obtain a copy of the License at
- ~
- ~ http://www.apache.org/licenses/LICENSE-2.0
- ~
- ~ Unless required by applicable law or agreed to in writing, software
- ~ distributed under the License is distributed on an "AS IS" BASIS,
- ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- ~ See the License for the specific language governing permissions and
- ~ limitations under the License.
- -->
-
-<dataset>
- <metadata table-name="t_order_details" data-nodes="primary_ds_${0..9}.t_order_details_${0..9},replica_ds_${0..9}.t_order_details_${0..9}">
- <column name="id" type="integer" />
- <column name="description" type="varchar" />
- </metadata>
-</dataset>
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/ddl/dataset/replica_query/alter_table.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/ddl/dataset/replica_query/alter_table.xml
deleted file mode 100644
index 4cf8a48..0000000
--- a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/ddl/dataset/replica_query/alter_table.xml
+++ /dev/null
@@ -1,24 +0,0 @@
-<!--
- ~ Licensed to the Apache Software Foundation (ASF) under one or more
- ~ contributor license agreements. See the NOTICE file distributed with
- ~ this work for additional information regarding copyright ownership.
- ~ The ASF licenses this file to You under the Apache License, Version 2.0
- ~ (the "License"); you may not use this file except in compliance with
- ~ the License. You may obtain a copy of the License at
- ~
- ~ http://www.apache.org/licenses/LICENSE-2.0
- ~
- ~ Unless required by applicable law or agreed to in writing, software
- ~ distributed under the License is distributed on an "AS IS" BASIS,
- ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- ~ See the License for the specific language governing permissions and
- ~ limitations under the License.
- -->
-
-<dataset>
- <metadata table-name="t_order_details" data-nodes="primary_ds.t_order_details,replica_${0..1}.t_order_details">
- <column name="id" type="integer" />
- <column name="description" type="varchar" />
- <column name="name" type="varchar" />
- </metadata>
-</dataset>
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/ddl/dataset/replica_query/create_index.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/ddl/dataset/replica_query/create_index.xml
deleted file mode 100644
index 8d8b633..0000000
--- a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/ddl/dataset/replica_query/create_index.xml
+++ /dev/null
@@ -1,24 +0,0 @@
-<!--
- ~ Licensed to the Apache Software Foundation (ASF) under one or more
- ~ contributor license agreements. See the NOTICE file distributed with
- ~ this work for additional information regarding copyright ownership.
- ~ The ASF licenses this file to You under the Apache License, Version 2.0
- ~ (the "License"); you may not use this file except in compliance with
- ~ the License. You may obtain a copy of the License at
- ~
- ~ http://www.apache.org/licenses/LICENSE-2.0
- ~
- ~ Unless required by applicable law or agreed to in writing, software
- ~ distributed under the License is distributed on an "AS IS" BASIS,
- ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- ~ See the License for the specific language governing permissions and
- ~ limitations under the License.
- -->
-
-<dataset>
- <metadata table-name="t_order_details" data-nodes="primary_ds.t_order_details,replica_${0..1}.t_order_details">
- <column name="id" type="integer" />
- <column name="description" type="varchar" />
- <index name="t_order_details_index_t_order_details" column="id" unique="false" />
- </metadata>
-</dataset>
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/ddl/dataset/replica_query/create_table.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/ddl/dataset/replica_query/create_table.xml
deleted file mode 100644
index 8abcd47..0000000
--- a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/ddl/dataset/replica_query/create_table.xml
+++ /dev/null
@@ -1,23 +0,0 @@
-<!--
- ~ Licensed to the Apache Software Foundation (ASF) under one or more
- ~ contributor license agreements. See the NOTICE file distributed with
- ~ this work for additional information regarding copyright ownership.
- ~ The ASF licenses this file to You under the Apache License, Version 2.0
- ~ (the "License"); you may not use this file except in compliance with
- ~ the License. You may obtain a copy of the License at
- ~
- ~ http://www.apache.org/licenses/LICENSE-2.0
- ~
- ~ Unless required by applicable law or agreed to in writing, software
- ~ distributed under the License is distributed on an "AS IS" BASIS,
- ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- ~ See the License for the specific language governing permissions and
- ~ limitations under the License.
- -->
-
-<dataset>
- <metadata table-name="t_order_details" data-nodes="primary_ds.t_order_details,replica_${0..1}.t_order_details">
- <column name="id" type="integer" />
- <column name="description" type="varchar" />
- </metadata>
-</dataset>
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/ddl/dataset/shadow/alter_table.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/ddl/dataset/shadow/alter_table.xml
deleted file mode 100644
index f5851f7..0000000
--- a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/ddl/dataset/shadow/alter_table.xml
+++ /dev/null
@@ -1,24 +0,0 @@
-<!--
- ~ Licensed to the Apache Software Foundation (ASF) under one or more
- ~ contributor license agreements. See the NOTICE file distributed with
- ~ this work for additional information regarding copyright ownership.
- ~ The ASF licenses this file to You under the Apache License, Version 2.0
- ~ (the "License"); you may not use this file except in compliance with
- ~ the License. You may obtain a copy of the License at
- ~
- ~ http://www.apache.org/licenses/LICENSE-2.0
- ~
- ~ Unless required by applicable law or agreed to in writing, software
- ~ distributed under the License is distributed on an "AS IS" BASIS,
- ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- ~ See the License for the specific language governing permissions and
- ~ limitations under the License.
- -->
-
-<dataset>
- <metadata table-name="t_order_details" data-nodes="db.t_order_details">
- <column name="id" type="integer" />
- <column name="description" type="varchar" />
- <column name="name" type="varchar" />
- </metadata>
-</dataset>
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/ddl/dataset/shadow/create_index.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/ddl/dataset/shadow/create_index.xml
deleted file mode 100644
index 99a7030..0000000
--- a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/ddl/dataset/shadow/create_index.xml
+++ /dev/null
@@ -1,24 +0,0 @@
-<!--
- ~ Licensed to the Apache Software Foundation (ASF) under one or more
- ~ contributor license agreements. See the NOTICE file distributed with
- ~ this work for additional information regarding copyright ownership.
- ~ The ASF licenses this file to You under the Apache License, Version 2.0
- ~ (the "License"); you may not use this file except in compliance with
- ~ the License. You may obtain a copy of the License at
- ~
- ~ http://www.apache.org/licenses/LICENSE-2.0
- ~
- ~ Unless required by applicable law or agreed to in writing, software
- ~ distributed under the License is distributed on an "AS IS" BASIS,
- ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- ~ See the License for the specific language governing permissions and
- ~ limitations under the License.
- -->
-
-<dataset>
- <metadata table-name="t_order_details" data-nodes="db.t_order_details">
- <column name="id" type="integer" />
- <column name="description" type="varchar" />
- <index name="t_order_details_index" column="id" unique="false" />
- </metadata>
-</dataset>
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/ddl/dataset/shadow/unchanged_table.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/ddl/dataset/shadow/unchanged_table.xml
deleted file mode 100644
index 8609dd3..0000000
--- a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/ddl/dataset/shadow/unchanged_table.xml
+++ /dev/null
@@ -1,23 +0,0 @@
-<!--
- ~ Licensed to the Apache Software Foundation (ASF) under one or more
- ~ contributor license agreements. See the NOTICE file distributed with
- ~ this work for additional information regarding copyright ownership.
- ~ The ASF licenses this file to You under the Apache License, Version 2.0
- ~ (the "License"); you may not use this file except in compliance with
- ~ the License. You may obtain a copy of the License at
- ~
- ~ http://www.apache.org/licenses/LICENSE-2.0
- ~
- ~ Unless required by applicable law or agreed to in writing, software
- ~ distributed under the License is distributed on an "AS IS" BASIS,
- ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- ~ See the License for the specific language governing permissions and
- ~ limitations under the License.
- -->
-
-<dataset>
- <metadata table-name="t_order_details" data-nodes="db.t_order_details">
- <column name="id" type="integer" />
- <column name="description" type="varchar" />
- </metadata>
-</dataset>
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/ddl/dataset/tbl/create_index.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/ddl/dataset/tbl/create_index.xml
deleted file mode 100644
index 2da3e39..0000000
--- a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/ddl/dataset/tbl/create_index.xml
+++ /dev/null
@@ -1,24 +0,0 @@
-<!--
- ~ Licensed to the Apache Software Foundation (ASF) under one or more
- ~ contributor license agreements. See the NOTICE file distributed with
- ~ this work for additional information regarding copyright ownership.
- ~ The ASF licenses this file to You under the Apache License, Version 2.0
- ~ (the "License"); you may not use this file except in compliance with
- ~ the License. You may obtain a copy of the License at
- ~
- ~ http://www.apache.org/licenses/LICENSE-2.0
- ~
- ~ Unless required by applicable law or agreed to in writing, software
- ~ distributed under the License is distributed on an "AS IS" BASIS,
- ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- ~ See the License for the specific language governing permissions and
- ~ limitations under the License.
- -->
-
-<dataset>
- <metadata table-name="t_order_details" data-nodes="tbl.t_order_details_${0..9}">
- <column name="id" type="integer" />
- <column name="description" type="varchar" />
- <index name="t_order_details_index_t_order_details" column="id" unique="false" />
- </metadata>
-</dataset>
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/ddl/dataset/tbl/create_unique_index.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/ddl/dataset/tbl/create_unique_index.xml
deleted file mode 100644
index f2ddb2c..0000000
--- a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/ddl/dataset/tbl/create_unique_index.xml
+++ /dev/null
@@ -1,24 +0,0 @@
-<!--
- ~ Licensed to the Apache Software Foundation (ASF) under one or more
- ~ contributor license agreements. See the NOTICE file distributed with
- ~ this work for additional information regarding copyright ownership.
- ~ The ASF licenses this file to You under the Apache License, Version 2.0
- ~ (the "License"); you may not use this file except in compliance with
- ~ the License. You may obtain a copy of the License at
- ~
- ~ http://www.apache.org/licenses/LICENSE-2.0
- ~
- ~ Unless required by applicable law or agreed to in writing, software
- ~ distributed under the License is distributed on an "AS IS" BASIS,
- ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- ~ See the License for the specific language governing permissions and
- ~ limitations under the License.
- -->
-
-<dataset>
- <metadata table-name="t_order_details" data-nodes="tbl.t_order_details_${0..9}">
- <column name="id" type="integer" />
- <column name="description" type="varchar" />
- <index name="t_order_details_index_t_order_details" column="id" unique="true" />
- </metadata>
-</dataset>
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/ddl/dataset/tbl/drop_table.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/ddl/dataset/tbl/drop_table.xml
deleted file mode 100644
index a433cdd..0000000
--- a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/ddl/dataset/tbl/drop_table.xml
+++ /dev/null
@@ -1,20 +0,0 @@
-<!--
- ~ Licensed to the Apache Software Foundation (ASF) under one or more
- ~ contributor license agreements. See the NOTICE file distributed with
- ~ this work for additional information regarding copyright ownership.
- ~ The ASF licenses this file to You under the Apache License, Version 2.0
- ~ (the "License"); you may not use this file except in compliance with
- ~ the License. You may obtain a copy of the License at
- ~
- ~ http://www.apache.org/licenses/LICENSE-2.0
- ~
- ~ Unless required by applicable law or agreed to in writing, software
- ~ distributed under the License is distributed on an "AS IS" BASIS,
- ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- ~ See the License for the specific language governing permissions and
- ~ limitations under the License.
- -->
-
-<dataset>
- <metadata table-name="t_order_details" data-nodes="tbl.t_order_details_${0..9}" />
-</dataset>
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/ddl/dataset/tbl/unchanged_table.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/ddl/dataset/tbl/unchanged_table.xml
deleted file mode 100644
index 3e16b51..0000000
--- a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/ddl/dataset/tbl/unchanged_table.xml
+++ /dev/null
@@ -1,23 +0,0 @@
-<!--
- ~ Licensed to the Apache Software Foundation (ASF) under one or more
- ~ contributor license agreements. See the NOTICE file distributed with
- ~ this work for additional information regarding copyright ownership.
- ~ The ASF licenses this file to You under the Apache License, Version 2.0
- ~ (the "License"); you may not use this file except in compliance with
- ~ the License. You may obtain a copy of the License at
- ~
- ~ http://www.apache.org/licenses/LICENSE-2.0
- ~
- ~ Unless required by applicable law or agreed to in writing, software
- ~ distributed under the License is distributed on an "AS IS" BASIS,
- ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- ~ See the License for the specific language governing permissions and
- ~ limitations under the License.
- -->
-
-<dataset>
- <metadata table-name="t_order_details" data-nodes="tbl.t_order_details_${0..9}">
- <column name="id" type="integer" />
- <column name="description" type="varchar" />
- </metadata>
-</dataset>
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/ddl/ddl-integrate-test-cases.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/ddl/ddl-integrate-test-cases.xml
deleted file mode 100644
index f516a57..0000000
--- a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/ddl/ddl-integrate-test-cases.xml
+++ /dev/null
@@ -1,68 +0,0 @@
-<!--
- ~ Licensed to the Apache Software Foundation (ASF) under one or more
- ~ contributor license agreements. See the NOTICE file distributed with
- ~ this work for additional information regarding copyright ownership.
- ~ The ASF licenses this file to You under the Apache License, Version 2.0
- ~ (the "License"); you may not use this file except in compliance with
- ~ the License. You may obtain a copy of the License at
- ~
- ~ http://www.apache.org/licenses/LICENSE-2.0
- ~
- ~ Unless required by applicable law or agreed to in writing, software
- ~ distributed under the License is distributed on an "AS IS" BASIS,
- ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- ~ See the License for the specific language governing permissions and
- ~ limitations under the License.
- -->
-
-<integrate-test-cases>
- <test-case sql="CREATE TABLE t_order_details(id int PRIMARY KEY, description varchar(10))">
- <assertion expected-data-file="create_table.xml">
- <initial-sql affected-table="t_order_details" />
- </assertion>
- </test-case>
-
- <test-case sql="CREATE INDEX t_order_details_index ON t_order_details (id)">
- <assertion expected-data-file="create_index.xml">
- <initial-sql sql="CREATE TABLE t_order_details(id int, description varchar(10))" affected-table="t_order_details" />
- </assertion>
- </test-case>
-
- <test-case sql="CREATE UNIQUE INDEX t_order_details_index ON t_order_details (id)">
- <assertion expected-data-file="create_unique_index.xml">
- <initial-sql sql="CREATE TABLE t_order_details(id int, description varchar(10))" affected-table="t_order_details" />
- </assertion>
- </test-case>
-
- <test-case sql="ALTER TABLE t_order_details ADD name varchar(10)">
- <assertion expected-data-file="alter_table.xml">
- <initial-sql sql="CREATE TABLE t_order_details(id int, description varchar(10))" affected-table="t_order_details" />
- </assertion>
- </test-case>
-
- <test-case sql="DROP TABLE t_order_details">
- <assertion expected-data-file="drop_table.xml">
- <initial-sql sql="CREATE TABLE t_order_details(id int, description varchar(10))" affected-table="t_order_details" />
- </assertion>
- </test-case>
-
- <test-case sql="DROP INDEX t_order_details_index ON t_order_details" db-types="MySQL,SQLServer">
- <assertion expected-data-file="unchanged_table.xml">
- <initial-sql sql="CREATE TABLE t_order_details(id int, description varchar(10));CREATE INDEX t_order_details_index ON t_order_details(description)" affected-table="t_order_details" />
- </assertion>
- </test-case>
-
- <test-case sql="DROP INDEX order_index" db-types="PostgreSQL,Oracle">
- <assertion expected-data-file="unchanged_table.xml">
- <initial-sql sql="CREATE TABLE t_order_details(id int, description varchar(10));CREATE INDEX t_order_details_index ON t_order_details(description)" affected-table="t_order_details" />
- </assertion>
- </test-case>
-
- <test-case sql="TRUNCATE TABLE t_order_details">
- <assertion expected-data-file="unchanged_table.xml">
- <initial-sql sql="CREATE TABLE t_order_details(id int, description varchar(10))" affected-table="t_order_details" />
- </assertion>
- </test-case>
-
- <!-- TODO add single table DDL test cases -->
-</integrate-test-cases>
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dml/dataset/db/batch_insert_for_order.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dml/dataset/db/batch_insert_for_order.xml
deleted file mode 100644
index 65da8b0..0000000
--- a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dml/dataset/db/batch_insert_for_order.xml
+++ /dev/null
@@ -1,66 +0,0 @@
-<!--
- ~ Licensed to the Apache Software Foundation (ASF) under one or more
- ~ contributor license agreements. See the NOTICE file distributed with
- ~ this work for additional information regarding copyright ownership.
- ~ The ASF licenses this file to You under the Apache License, Version 2.0
- ~ (the "License"); you may not use this file except in compliance with
- ~ the License. You may obtain a copy of the License at
- ~
- ~ http://www.apache.org/licenses/LICENSE-2.0
- ~
- ~ Unless required by applicable law or agreed to in writing, software
- ~ distributed under the License is distributed on an "AS IS" BASIS,
- ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- ~ See the License for the specific language governing permissions and
- ~ limitations under the License.
- -->
-
-<dataset update-count="2">
- <metadata data-nodes="db_${0..9}.t_order">
- <column name="order_id" type="numeric" />
- <column name="user_id" type="numeric" />
- <column name="status" type="varchar" />
- </metadata>
- <row data-node="db_0.t_order" values="1000, 10, init" />
- <row data-node="db_0.t_order" values="1001, 10, init" />
- <row data-node="db_0.t_order" values="2000, 20, init" />
- <row data-node="db_0.t_order" values="2001, 20, init" />
- <row data-node="db_1.t_order" values="1, 1, insert" />
- <row data-node="db_1.t_order" values="1100, 11, init" />
- <row data-node="db_1.t_order" values="1101, 11, init" />
- <row data-node="db_1.t_order" values="2100, 21, init" />
- <row data-node="db_1.t_order" values="2101, 21, init" />
- <row data-node="db_2.t_order" values="2, 2, insert" />
- <row data-node="db_2.t_order" values="1200, 12, init" />
- <row data-node="db_2.t_order" values="1201, 12, init" />
- <row data-node="db_2.t_order" values="2200, 22, init" />
- <row data-node="db_2.t_order" values="2201, 22, init" />
- <row data-node="db_3.t_order" values="1300, 13, init" />
- <row data-node="db_3.t_order" values="1301, 13, init" />
- <row data-node="db_3.t_order" values="2300, 23, init" />
- <row data-node="db_3.t_order" values="2301, 23, init" />
- <row data-node="db_4.t_order" values="1400, 14, init" />
- <row data-node="db_4.t_order" values="1401, 14, init" />
- <row data-node="db_4.t_order" values="2400, 24, init" />
- <row data-node="db_4.t_order" values="2401, 24, init" />
- <row data-node="db_5.t_order" values="1500, 15, init" />
- <row data-node="db_5.t_order" values="1501, 15, init" />
- <row data-node="db_5.t_order" values="2500, 25, init" />
- <row data-node="db_5.t_order" values="2501, 25, init" />
- <row data-node="db_6.t_order" values="1600, 16, init" />
- <row data-node="db_6.t_order" values="1601, 16, init" />
- <row data-node="db_6.t_order" values="2600, 26, init" />
- <row data-node="db_6.t_order" values="2601, 26, init" />
- <row data-node="db_7.t_order" values="1700, 17, init" />
- <row data-node="db_7.t_order" values="1701, 17, init" />
- <row data-node="db_7.t_order" values="2700, 27, init" />
- <row data-node="db_7.t_order" values="2701, 27, init" />
- <row data-node="db_8.t_order" values="1800, 18, init" />
- <row data-node="db_8.t_order" values="1801, 18, init" />
- <row data-node="db_8.t_order" values="2800, 28, init" />
- <row data-node="db_8.t_order" values="2801, 28, init" />
- <row data-node="db_9.t_order" values="1900, 19, init" />
- <row data-node="db_9.t_order" values="1901, 19, init" />
- <row data-node="db_9.t_order" values="2900, 29, init" />
- <row data-node="db_9.t_order" values="2901, 29, init" />
-</dataset>
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dml/dataset/db/batch_insert_without_generate_key_column.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dml/dataset/db/batch_insert_without_generate_key_column.xml
deleted file mode 100644
index fa18de3..0000000
--- a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dml/dataset/db/batch_insert_without_generate_key_column.xml
+++ /dev/null
@@ -1,108 +0,0 @@
-<!--
- ~ Licensed to the Apache Software Foundation (ASF) under one or more
- ~ contributor license agreements. See the NOTICE file distributed with
- ~ this work for additional information regarding copyright ownership.
- ~ The ASF licenses this file to You under the Apache License, Version 2.0
- ~ (the "License"); you may not use this file except in compliance with
- ~ the License. You may obtain a copy of the License at
- ~
- ~ http://www.apache.org/licenses/LICENSE-2.0
- ~
- ~ Unless required by applicable law or agreed to in writing, software
- ~ distributed under the License is distributed on an "AS IS" BASIS,
- ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- ~ See the License for the specific language governing permissions and
- ~ limitations under the License.
- -->
-
-<dataset update-count="2">
- <metadata data-nodes="db_${0..9}.t_order_item">
- <column name="item_id" type="numeric" />
- <column name="order_id" type="numeric" />
- <column name="user_id" type="numeric" />
- <column name="status" type="varchar" />
- <column name="creation_date" type="datetime" />
- </metadata>
- <row data-node="db_0.t_order_item" values="100001, 1000, 10, init, 2017-08-08" />
- <row data-node="db_0.t_order_item" values="100002, 1000, 10, init, 2017-08-08" />
- <row data-node="db_0.t_order_item" values="100101, 1001, 10, init, 2017-08-08" />
- <row data-node="db_0.t_order_item" values="100102, 1001, 10, init, 2017-08-08" />
- <row data-node="db_0.t_order_item" values="200001, 2000, 20, init, 2017-08-08" />
- <row data-node="db_0.t_order_item" values="200002, 2000, 20, init, 2017-08-08" />
- <row data-node="db_0.t_order_item" values="200101, 2001, 20, init, 2017-08-08" />
- <row data-node="db_0.t_order_item" values="200102, 2001, 20, init, 2017-08-08" />
- <row data-node="db_1.t_order_item" values="1, 1, 1, insert, 2017-08-08" />
- <row data-node="db_1.t_order_item" values="110001, 1100, 11, init, 2017-08-08" />
- <row data-node="db_1.t_order_item" values="110002, 1100, 11, init, 2017-08-08" />
- <row data-node="db_1.t_order_item" values="110101, 1101, 11, init, 2017-08-08" />
- <row data-node="db_1.t_order_item" values="110102, 1101, 11, init, 2017-08-08" />
- <row data-node="db_1.t_order_item" values="210001, 2100, 21, init, 2017-08-08" />
- <row data-node="db_1.t_order_item" values="210002, 2100, 21, init, 2017-08-08" />
- <row data-node="db_1.t_order_item" values="210101, 2101, 21, init, 2017-08-08" />
- <row data-node="db_1.t_order_item" values="210102, 2101, 21, init, 2017-08-08" />
- <row data-node="db_2.t_order_item" values="1, 2, 2, insert, 2017-08-08" />
- <row data-node="db_2.t_order_item" values="120001, 1200, 12, init, 2017-08-08" />
- <row data-node="db_2.t_order_item" values="120002, 1200, 12, init, 2017-08-08" />
- <row data-node="db_2.t_order_item" values="120101, 1201, 12, init, 2017-08-08" />
- <row data-node="db_2.t_order_item" values="120102, 1201, 12, init, 2017-08-08" />
- <row data-node="db_2.t_order_item" values="220001, 2200, 22, init, 2017-08-08" />
- <row data-node="db_2.t_order_item" values="220002, 2200, 22, init, 2017-08-08" />
- <row data-node="db_2.t_order_item" values="220101, 2201, 22, init, 2017-08-08" />
- <row data-node="db_2.t_order_item" values="220102, 2201, 22, init, 2017-08-08" />
- <row data-node="db_3.t_order_item" values="130001, 1300, 13, init, 2017-08-08" />
- <row data-node="db_3.t_order_item" values="130002, 1300, 13, init, 2017-08-08" />
- <row data-node="db_3.t_order_item" values="130101, 1301, 13, init, 2017-08-08" />
- <row data-node="db_3.t_order_item" values="130102, 1301, 13, init, 2017-08-08" />
- <row data-node="db_3.t_order_item" values="230001, 2300, 23, init, 2017-08-08" />
- <row data-node="db_3.t_order_item" values="230002, 2300, 23, init, 2017-08-08" />
- <row data-node="db_3.t_order_item" values="230101, 2301, 23, init, 2017-08-08" />
- <row data-node="db_3.t_order_item" values="230102, 2301, 23, init, 2017-08-08" />
- <row data-node="db_4.t_order_item" values="140001, 1400, 14, init, 2017-08-08" />
- <row data-node="db_4.t_order_item" values="140002, 1400, 14, init, 2017-08-08" />
- <row data-node="db_4.t_order_item" values="140101, 1401, 14, init, 2017-08-08" />
- <row data-node="db_4.t_order_item" values="140102, 1401, 14, init, 2017-08-08" />
- <row data-node="db_4.t_order_item" values="240001, 2400, 24, init, 2017-08-08" />
- <row data-node="db_4.t_order_item" values="240002, 2400, 24, init, 2017-08-08" />
- <row data-node="db_4.t_order_item" values="240101, 2401, 24, init, 2017-08-08" />
- <row data-node="db_4.t_order_item" values="240102, 2401, 24, init, 2017-08-08" />
- <row data-node="db_5.t_order_item" values="150001, 1500, 15, init, 2017-08-08" />
- <row data-node="db_5.t_order_item" values="150002, 1500, 15, init, 2017-08-08" />
- <row data-node="db_5.t_order_item" values="150101, 1501, 15, init, 2017-08-08" />
- <row data-node="db_5.t_order_item" values="150102, 1501, 15, init, 2017-08-08" />
- <row data-node="db_5.t_order_item" values="250001, 2500, 25, init, 2017-08-08" />
- <row data-node="db_5.t_order_item" values="250002, 2500, 25, init, 2017-08-08" />
- <row data-node="db_5.t_order_item" values="250101, 2501, 25, init, 2017-08-08" />
- <row data-node="db_5.t_order_item" values="250102, 2501, 25, init, 2017-08-08" />
- <row data-node="db_6.t_order_item" values="160001, 1600, 16, init, 2017-08-08" />
- <row data-node="db_6.t_order_item" values="160002, 1600, 16, init, 2017-08-08" />
- <row data-node="db_6.t_order_item" values="160101, 1601, 16, init, 2017-08-08" />
- <row data-node="db_6.t_order_item" values="160102, 1601, 16, init, 2017-08-08" />
- <row data-node="db_6.t_order_item" values="260001, 2600, 26, init, 2017-08-08" />
- <row data-node="db_6.t_order_item" values="260002, 2600, 26, init, 2017-08-08" />
- <row data-node="db_6.t_order_item" values="260101, 2601, 26, init, 2017-08-08" />
- <row data-node="db_6.t_order_item" values="260102, 2601, 26, init, 2017-08-08" />
- <row data-node="db_7.t_order_item" values="170001, 1700, 17, init, 2017-08-08" />
- <row data-node="db_7.t_order_item" values="170002, 1700, 17, init, 2017-08-08" />
- <row data-node="db_7.t_order_item" values="170101, 1701, 17, init, 2017-08-08" />
- <row data-node="db_7.t_order_item" values="170102, 1701, 17, init, 2017-08-08" />
- <row data-node="db_7.t_order_item" values="270001, 2700, 27, init, 2017-08-08" />
- <row data-node="db_7.t_order_item" values="270002, 2700, 27, init, 2017-08-08" />
- <row data-node="db_7.t_order_item" values="270101, 2701, 27, init, 2017-08-08" />
- <row data-node="db_7.t_order_item" values="270102, 2701, 27, init, 2017-08-08" />
- <row data-node="db_8.t_order_item" values="180001, 1800, 18, init, 2017-08-08" />
- <row data-node="db_8.t_order_item" values="180002, 1800, 18, init, 2017-08-08" />
- <row data-node="db_8.t_order_item" values="180101, 1801, 18, init, 2017-08-08" />
- <row data-node="db_8.t_order_item" values="180102, 1801, 18, init, 2017-08-08" />
- <row data-node="db_8.t_order_item" values="280001, 2800, 28, init, 2017-08-08" />
- <row data-node="db_8.t_order_item" values="280002, 2800, 28, init, 2017-08-08" />
- <row data-node="db_8.t_order_item" values="280101, 2801, 28, init, 2017-08-08" />
- <row data-node="db_8.t_order_item" values="280102, 2801, 28, init, 2017-08-08" />
- <row data-node="db_9.t_order_item" values="190001, 1900, 19, init, 2017-08-08" />
- <row data-node="db_9.t_order_item" values="190002, 1900, 19, init, 2017-08-08" />
- <row data-node="db_9.t_order_item" values="190101, 1901, 19, init, 2017-08-08" />
- <row data-node="db_9.t_order_item" values="190102, 1901, 19, init, 2017-08-08" />
- <row data-node="db_9.t_order_item" values="290001, 2900, 29, init, 2017-08-08" />
- <row data-node="db_9.t_order_item" values="290002, 2900, 29, init, 2017-08-08" />
- <row data-node="db_9.t_order_item" values="290101, 2901, 29, init, 2017-08-08" />
- <row data-node="db_9.t_order_item" values="290102, 2901, 29, init, 2017-08-08" />
-</dataset>
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dml/dataset/db/delete_with_alias.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dml/dataset/db/delete_with_alias.xml
deleted file mode 100644
index 6bd12da..0000000
--- a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dml/dataset/db/delete_with_alias.xml
+++ /dev/null
@@ -1,24 +0,0 @@
-<!--
- ~ Licensed to the Apache Software Foundation (ASF) under one or more
- ~ contributor license agreements. See the NOTICE file distributed with
- ~ this work for additional information regarding copyright ownership.
- ~ The ASF licenses this file to You under the Apache License, Version 2.0
- ~ (the "License"); you may not use this file except in compliance with
- ~ the License. You may obtain a copy of the License at
- ~
- ~ http://www.apache.org/licenses/LICENSE-2.0
- ~
- ~ Unless required by applicable law or agreed to in writing, software
- ~ distributed under the License is distributed on an "AS IS" BASIS,
- ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- ~ See the License for the specific language governing permissions and
- ~ limitations under the License.
- -->
-
-<dataset update-count="40">
- <metadata data-nodes="db_${0..9}.t_order">
- <column name="order_id" type="numeric" />
- <column name="user_id" type="numeric" />
- <column name="status" type="varchar" />
- </metadata>
-</dataset>
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dml/dataset/db/delete_with_sharding_value.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dml/dataset/db/delete_with_sharding_value.xml
deleted file mode 100644
index 5bba740..0000000
--- a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dml/dataset/db/delete_with_sharding_value.xml
+++ /dev/null
@@ -1,63 +0,0 @@
-<!--
- ~ Licensed to the Apache Software Foundation (ASF) under one or more
- ~ contributor license agreements. See the NOTICE file distributed with
- ~ this work for additional information regarding copyright ownership.
- ~ The ASF licenses this file to You under the Apache License, Version 2.0
- ~ (the "License"); you may not use this file except in compliance with
- ~ the License. You may obtain a copy of the License at
- ~
- ~ http://www.apache.org/licenses/LICENSE-2.0
- ~
- ~ Unless required by applicable law or agreed to in writing, software
- ~ distributed under the License is distributed on an "AS IS" BASIS,
- ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- ~ See the License for the specific language governing permissions and
- ~ limitations under the License.
- -->
-
-<dataset update-count="1">
- <metadata data-nodes="db_${0..9}.t_order">
- <column name="order_id" type="numeric" />
- <column name="user_id" type="numeric" />
- <column name="status" type="varchar" />
- </metadata>
- <row data-node="db_0.t_order" values="1001, 10, init" />
- <row data-node="db_0.t_order" values="2000, 20, init" />
- <row data-node="db_0.t_order" values="2001, 20, init" />
- <row data-node="db_1.t_order" values="1100, 11, init" />
- <row data-node="db_1.t_order" values="1101, 11, init" />
- <row data-node="db_1.t_order" values="2100, 21, init" />
- <row data-node="db_1.t_order" values="2101, 21, init" />
- <row data-node="db_2.t_order" values="1200, 12, init" />
- <row data-node="db_2.t_order" values="1201, 12, init" />
- <row data-node="db_2.t_order" values="2200, 22, init" />
- <row data-node="db_2.t_order" values="2201, 22, init" />
- <row data-node="db_3.t_order" values="1300, 13, init" />
- <row data-node="db_3.t_order" values="1301, 13, init" />
- <row data-node="db_3.t_order" values="2300, 23, init" />
- <row data-node="db_3.t_order" values="2301, 23, init" />
- <row data-node="db_4.t_order" values="1400, 14, init" />
- <row data-node="db_4.t_order" values="1401, 14, init" />
- <row data-node="db_4.t_order" values="2400, 24, init" />
- <row data-node="db_4.t_order" values="2401, 24, init" />
- <row data-node="db_5.t_order" values="1500, 15, init" />
- <row data-node="db_5.t_order" values="1501, 15, init" />
- <row data-node="db_5.t_order" values="2500, 25, init" />
- <row data-node="db_5.t_order" values="2501, 25, init" />
- <row data-node="db_6.t_order" values="1600, 16, init" />
- <row data-node="db_6.t_order" values="1601, 16, init" />
- <row data-node="db_6.t_order" values="2600, 26, init" />
- <row data-node="db_6.t_order" values="2601, 26, init" />
- <row data-node="db_7.t_order" values="1700, 17, init" />
- <row data-node="db_7.t_order" values="1701, 17, init" />
- <row data-node="db_7.t_order" values="2700, 27, init" />
- <row data-node="db_7.t_order" values="2701, 27, init" />
- <row data-node="db_8.t_order" values="1800, 18, init" />
- <row data-node="db_8.t_order" values="1801, 18, init" />
- <row data-node="db_8.t_order" values="2800, 28, init" />
- <row data-node="db_8.t_order" values="2801, 28, init" />
- <row data-node="db_9.t_order" values="1900, 19, init" />
- <row data-node="db_9.t_order" values="1901, 19, init" />
- <row data-node="db_9.t_order" values="2900, 29, init" />
- <row data-node="db_9.t_order" values="2901, 29, init" />
-</dataset>
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dml/dataset/db/insert_for_order_1_2.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dml/dataset/db/insert_for_order_1_2.xml
deleted file mode 100644
index e1a2c57..0000000
--- a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dml/dataset/db/insert_for_order_1_2.xml
+++ /dev/null
@@ -1,106 +0,0 @@
-<!--
- ~ Licensed to the Apache Software Foundation (ASF) under one or more
- ~ contributor license agreements. See the NOTICE file distributed with
- ~ this work for additional information regarding copyright ownership.
- ~ The ASF licenses this file to You under the Apache License, Version 2.0
- ~ (the "License"); you may not use this file except in compliance with
- ~ the License. You may obtain a copy of the License at
- ~
- ~ http://www.apache.org/licenses/LICENSE-2.0
- ~
- ~ Unless required by applicable law or agreed to in writing, software
- ~ distributed under the License is distributed on an "AS IS" BASIS,
- ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- ~ See the License for the specific language governing permissions and
- ~ limitations under the License.
- -->
-
-<dataset update-count="1">
- <metadata data-nodes="db_${0..9}.t_order">
- <column name="order_id" type="numeric" />
- <column name="user_id" type="numeric" />
- <column name="status" type="varchar" />
- </metadata>
- <row data-node="db_0.t_order" values="1000, 10, init" />
- <row data-node="db_0.t_order" values="1001, 10, init" />
- <row data-node="db_0.t_order" values="2000, 20, init" />
- <row data-node="db_0.t_order" values="2001, 20, init" />
- <row data-node="db_1.t_order" values="1, 1, insert" />
- <row data-node="db_1.t_order" values="1100, 11, init" />
- <row data-node="db_1.t_order" values="1101, 11, init" />
- <row data-node="db_1.t_order" values="2100, 21, init" />
- <row data-node="db_1.t_order" values="2101, 21, init" />
- <row data-node="db_2.t_order" values="1200, 12, init" />
- <row data-node="db_2.t_order" values="1201, 12, init" />
- <row data-node="db_2.t_order" values="2200, 22, init" />
- <row data-node="db_2.t_order" values="2201, 22, init" />
- <row data-node="db_3.t_order" values="1300, 13, init" />
- <row data-node="db_3.t_order" values="1301, 13, init" />
- <row data-node="db_3.t_order" values="2300, 23, init" />
- <row data-node="db_3.t_order" values="2301, 23, init" />
- <row data-node="db_4.t_order" values="1400, 14, init" />
- <row data-node="db_4.t_order" values="1401, 14, init" />
- <row data-node="db_4.t_order" values="2400, 24, init" />
- <row data-node="db_4.t_order" values="2401, 24, init" />
- <row data-node="db_5.t_order" values="1500, 15, init" />
- <row data-node="db_5.t_order" values="1501, 15, init" />
- <row data-node="db_5.t_order" values="2500, 25, init" />
- <row data-node="db_5.t_order" values="2501, 25, init" />
- <row data-node="db_6.t_order" values="1600, 16, init" />
- <row data-node="db_6.t_order" values="1601, 16, init" />
- <row data-node="db_6.t_order" values="2600, 26, init" />
- <row data-node="db_6.t_order" values="2601, 26, init" />
- <row data-node="db_7.t_order" values="1700, 17, init" />
- <row data-node="db_7.t_order" values="1701, 17, init" />
- <row data-node="db_7.t_order" values="2700, 27, init" />
- <row data-node="db_7.t_order" values="2701, 27, init" />
- <row data-node="db_8.t_order" values="1800, 18, init" />
- <row data-node="db_8.t_order" values="1801, 18, init" />
- <row data-node="db_8.t_order" values="2800, 28, init" />
- <row data-node="db_8.t_order" values="2801, 28, init" />
- <row data-node="db_9.t_order" values="1900, 19, init" />
- <row data-node="db_9.t_order" values="1901, 19, init" />
- <row data-node="db_9.t_order" values="2900, 29, init" />
- <row data-node="db_9.t_order" values="2901, 29, init" />
- <row data-node="db_0.t_order" values="1000, 10, init" />
- <row data-node="db_0.t_order" values="1001, 10, init" />
- <row data-node="db_0.t_order" values="2000, 20, init" />
- <row data-node="db_0.t_order" values="2001, 20, init" />
- <row data-node="db_1.t_order" values="1100, 11, init" />
- <row data-node="db_1.t_order" values="1101, 11, init" />
- <row data-node="db_1.t_order" values="2100, 21, init" />
- <row data-node="db_1.t_order" values="2101, 21, init" />
- <row data-node="db_2.t_order" values="2, 2, insert" />
- <row data-node="db_2.t_order" values="1200, 12, init" />
- <row data-node="db_2.t_order" values="1201, 12, init" />
- <row data-node="db_2.t_order" values="2200, 22, init" />
- <row data-node="db_2.t_order" values="2201, 22, init" />
- <row data-node="db_3.t_order" values="1300, 13, init" />
- <row data-node="db_3.t_order" values="1301, 13, init" />
- <row data-node="db_3.t_order" values="2300, 23, init" />
- <row data-node="db_3.t_order" values="2301, 23, init" />
- <row data-node="db_4.t_order" values="1400, 14, init" />
- <row data-node="db_4.t_order" values="1401, 14, init" />
- <row data-node="db_4.t_order" values="2400, 24, init" />
- <row data-node="db_4.t_order" values="2401, 24, init" />
- <row data-node="db_5.t_order" values="1500, 15, init" />
- <row data-node="db_5.t_order" values="1501, 15, init" />
- <row data-node="db_5.t_order" values="2500, 25, init" />
- <row data-node="db_5.t_order" values="2501, 25, init" />
- <row data-node="db_6.t_order" values="1600, 16, init" />
- <row data-node="db_6.t_order" values="1601, 16, init" />
- <row data-node="db_6.t_order" values="2600, 26, init" />
- <row data-node="db_6.t_order" values="2601, 26, init" />
- <row data-node="db_7.t_order" values="1700, 17, init" />
- <row data-node="db_7.t_order" values="1701, 17, init" />
- <row data-node="db_7.t_order" values="2700, 27, init" />
- <row data-node="db_7.t_order" values="2701, 27, init" />
- <row data-node="db_8.t_order" values="1800, 18, init" />
- <row data-node="db_8.t_order" values="1801, 18, init" />
- <row data-node="db_8.t_order" values="2800, 28, init" />
- <row data-node="db_8.t_order" values="2801, 28, init" />
- <row data-node="db_9.t_order" values="1900, 19, init" />
- <row data-node="db_9.t_order" values="1901, 19, init" />
- <row data-node="db_9.t_order" values="2900, 29, init" />
- <row data-node="db_9.t_order" values="2901, 29, init" />
-</dataset>
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dml/dataset/db/insert_multiple_values_for_order_1_2.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dml/dataset/db/insert_multiple_values_for_order_1_2.xml
deleted file mode 100644
index ae95ceb..0000000
--- a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dml/dataset/db/insert_multiple_values_for_order_1_2.xml
+++ /dev/null
@@ -1,66 +0,0 @@
-<!--
- ~ Licensed to the Apache Software Foundation (ASF) under one or more
- ~ contributor license agreements. See the NOTICE file distributed with
- ~ this work for additional information regarding copyright ownership.
- ~ The ASF licenses this file to You under the Apache License, Version 2.0
- ~ (the "License"); you may not use this file except in compliance with
- ~ the License. You may obtain a copy of the License at
- ~
- ~ http://www.apache.org/licenses/LICENSE-2.0
- ~
- ~ Unless required by applicable law or agreed to in writing, software
- ~ distributed under the License is distributed on an "AS IS" BASIS,
- ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- ~ See the License for the specific language governing permissions and
- ~ limitations under the License.
- -->
-
-<dataset update-count="2">
- <metadata data-nodes="db_${0..9}.t_order">
- <column name="order_id" type="numeric" />
- <column name="user_id" type="numeric" />
- <column name="status" type="varchar" />
- </metadata>
- <row data-node="db_0.t_order" values="1000, 10, init" />
- <row data-node="db_0.t_order" values="1001, 10, init" />
- <row data-node="db_0.t_order" values="2000, 20, init" />
- <row data-node="db_0.t_order" values="2001, 20, init" />
- <row data-node="db_1.t_order" values="1, 1, insert" />
- <row data-node="db_1.t_order" values="1100, 11, init" />
- <row data-node="db_1.t_order" values="1101, 11, init" />
- <row data-node="db_1.t_order" values="2100, 21, init" />
- <row data-node="db_1.t_order" values="2101, 21, init" />
- <row data-node="db_2.t_order" values="2, 2, insert2" />
- <row data-node="db_2.t_order" values="1200, 12, init" />
- <row data-node="db_2.t_order" values="1201, 12, init" />
- <row data-node="db_2.t_order" values="2200, 22, init" />
- <row data-node="db_2.t_order" values="2201, 22, init" />
- <row data-node="db_3.t_order" values="1300, 13, init" />
- <row data-node="db_3.t_order" values="1301, 13, init" />
- <row data-node="db_3.t_order" values="2300, 23, init" />
- <row data-node="db_3.t_order" values="2301, 23, init" />
- <row data-node="db_4.t_order" values="1400, 14, init" />
- <row data-node="db_4.t_order" values="1401, 14, init" />
- <row data-node="db_4.t_order" values="2400, 24, init" />
- <row data-node="db_4.t_order" values="2401, 24, init" />
- <row data-node="db_5.t_order" values="1500, 15, init" />
- <row data-node="db_5.t_order" values="1501, 15, init" />
- <row data-node="db_5.t_order" values="2500, 25, init" />
- <row data-node="db_5.t_order" values="2501, 25, init" />
- <row data-node="db_6.t_order" values="1600, 16, init" />
- <row data-node="db_6.t_order" values="1601, 16, init" />
- <row data-node="db_6.t_order" values="2600, 26, init" />
- <row data-node="db_6.t_order" values="2601, 26, init" />
- <row data-node="db_7.t_order" values="1700, 17, init" />
- <row data-node="db_7.t_order" values="1701, 17, init" />
- <row data-node="db_7.t_order" values="2700, 27, init" />
- <row data-node="db_7.t_order" values="2701, 27, init" />
- <row data-node="db_8.t_order" values="1800, 18, init" />
- <row data-node="db_8.t_order" values="1801, 18, init" />
- <row data-node="db_8.t_order" values="2800, 28, init" />
- <row data-node="db_8.t_order" values="2801, 28, init" />
- <row data-node="db_9.t_order" values="1900, 19, init" />
- <row data-node="db_9.t_order" values="1901, 19, init" />
- <row data-node="db_9.t_order" values="2900, 29, init" />
- <row data-node="db_9.t_order" values="2901, 29, init" />
-</dataset>
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dml/dataset/db/insert_on_duplicate_key_update.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dml/dataset/db/insert_on_duplicate_key_update.xml
deleted file mode 100644
index cd960d2..0000000
--- a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dml/dataset/db/insert_on_duplicate_key_update.xml
+++ /dev/null
@@ -1,64 +0,0 @@
-<!--
- ~ Licensed to the Apache Software Foundation (ASF) under one or more
- ~ contributor license agreements. See the NOTICE file distributed with
- ~ this work for additional information regarding copyright ownership.
- ~ The ASF licenses this file to You under the Apache License, Version 2.0
- ~ (the "License"); you may not use this file except in compliance with
- ~ the License. You may obtain a copy of the License at
- ~
- ~ http://www.apache.org/licenses/LICENSE-2.0
- ~
- ~ Unless required by applicable law or agreed to in writing, software
- ~ distributed under the License is distributed on an "AS IS" BASIS,
- ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- ~ See the License for the specific language governing permissions and
- ~ limitations under the License.
- -->
-
-<dataset update-count="2">
- <metadata data-nodes="db_${0..9}.t_order">
- <column name="order_id" type="numeric" />
- <column name="user_id" type="numeric" />
- <column name="status" type="varchar" />
- </metadata>
- <row data-node="db_0.t_order" values="1000, 10, update" />
- <row data-node="db_0.t_order" values="1001, 10, init" />
- <row data-node="db_0.t_order" values="2000, 20, init" />
- <row data-node="db_0.t_order" values="2001, 20, init" />
- <row data-node="db_1.t_order" values="1100, 11, init" />
- <row data-node="db_1.t_order" values="1101, 11, init" />
- <row data-node="db_1.t_order" values="2100, 21, init" />
- <row data-node="db_1.t_order" values="2101, 21, init" />
- <row data-node="db_2.t_order" values="1200, 12, init" />
- <row data-node="db_2.t_order" values="1201, 12, init" />
- <row data-node="db_2.t_order" values="2200, 22, init" />
- <row data-node="db_2.t_order" values="2201, 22, init" />
- <row data-node="db_3.t_order" values="1300, 13, init" />
- <row data-node="db_3.t_order" values="1301, 13, init" />
- <row data-node="db_3.t_order" values="2300, 23, init" />
- <row data-node="db_3.t_order" values="2301, 23, init" />
- <row data-node="db_4.t_order" values="1400, 14, init" />
- <row data-node="db_4.t_order" values="1401, 14, init" />
- <row data-node="db_4.t_order" values="2400, 24, init" />
- <row data-node="db_4.t_order" values="2401, 24, init" />
- <row data-node="db_5.t_order" values="1500, 15, init" />
- <row data-node="db_5.t_order" values="1501, 15, init" />
- <row data-node="db_5.t_order" values="2500, 25, init" />
- <row data-node="db_5.t_order" values="2501, 25, init" />
- <row data-node="db_6.t_order" values="1600, 16, init" />
- <row data-node="db_6.t_order" values="1601, 16, init" />
- <row data-node="db_6.t_order" values="2600, 26, init" />
- <row data-node="db_6.t_order" values="2601, 26, init" />
- <row data-node="db_7.t_order" values="1700, 17, init" />
- <row data-node="db_7.t_order" values="1701, 17, init" />
- <row data-node="db_7.t_order" values="2700, 27, init" />
- <row data-node="db_7.t_order" values="2701, 27, init" />
- <row data-node="db_8.t_order" values="1800, 18, init" />
- <row data-node="db_8.t_order" values="1801, 18, init" />
- <row data-node="db_8.t_order" values="2800, 28, init" />
- <row data-node="db_8.t_order" values="2801, 28, init" />
- <row data-node="db_9.t_order" values="1900, 19, init" />
- <row data-node="db_9.t_order" values="1901, 19, init" />
- <row data-node="db_9.t_order" values="2900, 29, init" />
- <row data-node="db_9.t_order" values="2901, 29, init" />
-</dataset>
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dml/dataset/db/insert_with_now_function.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dml/dataset/db/insert_with_now_function.xml
deleted file mode 100644
index 223da6f..0000000
--- a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dml/dataset/db/insert_with_now_function.xml
+++ /dev/null
@@ -1,107 +0,0 @@
-<!--
- ~ Licensed to the Apache Software Foundation (ASF) under one or more
- ~ contributor license agreements. See the NOTICE file distributed with
- ~ this work for additional information regarding copyright ownership.
- ~ The ASF licenses this file to You under the Apache License, Version 2.0
- ~ (the "License"); you may not use this file except in compliance with
- ~ the License. You may obtain a copy of the License at
- ~
- ~ http://www.apache.org/licenses/LICENSE-2.0
- ~
- ~ Unless required by applicable law or agreed to in writing, software
- ~ distributed under the License is distributed on an "AS IS" BASIS,
- ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- ~ See the License for the specific language governing permissions and
- ~ limitations under the License.
- -->
-
-<dataset update-count="1">
- <metadata data-nodes="db_${0..9}.t_order_item">
- <column name="item_id" type="numeric" />
- <column name="order_id" type="numeric" />
- <column name="user_id" type="numeric" />
- <column name="status" type="varchar" />
- <column name="creation_date" type="datetime" />
- </metadata>
- <row data-node="db_0.t_order_item" values="100001, 1000, 10, init, NOT_VERIFY" />
- <row data-node="db_0.t_order_item" values="100002, 1000, 10, init, NOT_VERIFY" />
- <row data-node="db_0.t_order_item" values="100101, 1001, 10, init, NOT_VERIFY" />
- <row data-node="db_0.t_order_item" values="100102, 1001, 10, init, NOT_VERIFY" />
- <row data-node="db_0.t_order_item" values="200001, 2000, 20, init, NOT_VERIFY" />
- <row data-node="db_0.t_order_item" values="200002, 2000, 20, init, NOT_VERIFY" />
- <row data-node="db_0.t_order_item" values="200101, 2001, 20, init, NOT_VERIFY" />
- <row data-node="db_0.t_order_item" values="200102, 2001, 20, init, NOT_VERIFY" />
- <row data-node="db_1.t_order_item" values="1, 1, 1, insert, NOT_VERIFY" />
- <row data-node="db_1.t_order_item" values="110001, 1100, 11, init, NOT_VERIFY" />
- <row data-node="db_1.t_order_item" values="110002, 1100, 11, init, NOT_VERIFY" />
- <row data-node="db_1.t_order_item" values="110101, 1101, 11, init, NOT_VERIFY" />
- <row data-node="db_1.t_order_item" values="110102, 1101, 11, init, NOT_VERIFY" />
- <row data-node="db_1.t_order_item" values="210001, 2100, 21, init, NOT_VERIFY" />
- <row data-node="db_1.t_order_item" values="210002, 2100, 21, init, NOT_VERIFY" />
- <row data-node="db_1.t_order_item" values="210101, 2101, 21, init, NOT_VERIFY" />
- <row data-node="db_1.t_order_item" values="210102, 2101, 21, init, NOT_VERIFY" />
- <row data-node="db_2.t_order_item" values="120001, 1200, 12, init, NOT_VERIFY" />
- <row data-node="db_2.t_order_item" values="120002, 1200, 12, init, NOT_VERIFY" />
- <row data-node="db_2.t_order_item" values="120101, 1201, 12, init, NOT_VERIFY" />
- <row data-node="db_2.t_order_item" values="120102, 1201, 12, init, NOT_VERIFY" />
- <row data-node="db_2.t_order_item" values="220001, 2200, 22, init, NOT_VERIFY" />
- <row data-node="db_2.t_order_item" values="220002, 2200, 22, init, NOT_VERIFY" />
- <row data-node="db_2.t_order_item" values="220101, 2201, 22, init, NOT_VERIFY" />
- <row data-node="db_2.t_order_item" values="220102, 2201, 22, init, NOT_VERIFY" />
- <row data-node="db_3.t_order_item" values="130001, 1300, 13, init, NOT_VERIFY" />
- <row data-node="db_3.t_order_item" values="130002, 1300, 13, init, NOT_VERIFY" />
- <row data-node="db_3.t_order_item" values="130101, 1301, 13, init, NOT_VERIFY" />
- <row data-node="db_3.t_order_item" values="130102, 1301, 13, init, NOT_VERIFY" />
- <row data-node="db_3.t_order_item" values="230001, 2300, 23, init, NOT_VERIFY" />
- <row data-node="db_3.t_order_item" values="230002, 2300, 23, init, NOT_VERIFY" />
- <row data-node="db_3.t_order_item" values="230101, 2301, 23, init, NOT_VERIFY" />
- <row data-node="db_3.t_order_item" values="230102, 2301, 23, init, NOT_VERIFY" />
- <row data-node="db_4.t_order_item" values="140001, 1400, 14, init, NOT_VERIFY" />
- <row data-node="db_4.t_order_item" values="140002, 1400, 14, init, NOT_VERIFY" />
- <row data-node="db_4.t_order_item" values="140101, 1401, 14, init, NOT_VERIFY" />
- <row data-node="db_4.t_order_item" values="140102, 1401, 14, init, NOT_VERIFY" />
- <row data-node="db_4.t_order_item" values="240001, 2400, 24, init, NOT_VERIFY" />
- <row data-node="db_4.t_order_item" values="240002, 2400, 24, init, NOT_VERIFY" />
- <row data-node="db_4.t_order_item" values="240101, 2401, 24, init, NOT_VERIFY" />
- <row data-node="db_4.t_order_item" values="240102, 2401, 24, init, NOT_VERIFY" />
- <row data-node="db_5.t_order_item" values="150001, 1500, 15, init, NOT_VERIFY" />
- <row data-node="db_5.t_order_item" values="150002, 1500, 15, init, NOT_VERIFY" />
- <row data-node="db_5.t_order_item" values="150101, 1501, 15, init, NOT_VERIFY" />
- <row data-node="db_5.t_order_item" values="150102, 1501, 15, init, NOT_VERIFY" />
- <row data-node="db_5.t_order_item" values="250001, 2500, 25, init, NOT_VERIFY" />
- <row data-node="db_5.t_order_item" values="250002, 2500, 25, init, NOT_VERIFY" />
- <row data-node="db_5.t_order_item" values="250101, 2501, 25, init, NOT_VERIFY" />
- <row data-node="db_5.t_order_item" values="250102, 2501, 25, init, NOT_VERIFY" />
- <row data-node="db_6.t_order_item" values="160001, 1600, 16, init, NOT_VERIFY" />
- <row data-node="db_6.t_order_item" values="160002, 1600, 16, init, NOT_VERIFY" />
- <row data-node="db_6.t_order_item" values="160101, 1601, 16, init, NOT_VERIFY" />
- <row data-node="db_6.t_order_item" values="160102, 1601, 16, init, NOT_VERIFY" />
- <row data-node="db_6.t_order_item" values="260001, 2600, 26, init, NOT_VERIFY" />
- <row data-node="db_6.t_order_item" values="260002, 2600, 26, init, NOT_VERIFY" />
- <row data-node="db_6.t_order_item" values="260101, 2601, 26, init, NOT_VERIFY" />
- <row data-node="db_6.t_order_item" values="260102, 2601, 26, init, NOT_VERIFY" />
- <row data-node="db_7.t_order_item" values="170001, 1700, 17, init, NOT_VERIFY" />
- <row data-node="db_7.t_order_item" values="170002, 1700, 17, init, NOT_VERIFY" />
- <row data-node="db_7.t_order_item" values="170101, 1701, 17, init, NOT_VERIFY" />
- <row data-node="db_7.t_order_item" values="170102, 1701, 17, init, NOT_VERIFY" />
- <row data-node="db_7.t_order_item" values="270001, 2700, 27, init, NOT_VERIFY" />
- <row data-node="db_7.t_order_item" values="270002, 2700, 27, init, NOT_VERIFY" />
- <row data-node="db_7.t_order_item" values="270101, 2701, 27, init, NOT_VERIFY" />
- <row data-node="db_7.t_order_item" values="270102, 2701, 27, init, NOT_VERIFY" />
- <row data-node="db_8.t_order_item" values="180001, 1800, 18, init, NOT_VERIFY" />
- <row data-node="db_8.t_order_item" values="180002, 1800, 18, init, NOT_VERIFY" />
- <row data-node="db_8.t_order_item" values="180101, 1801, 18, init, NOT_VERIFY" />
- <row data-node="db_8.t_order_item" values="180102, 1801, 18, init, NOT_VERIFY" />
- <row data-node="db_8.t_order_item" values="280001, 2800, 28, init, NOT_VERIFY" />
- <row data-node="db_8.t_order_item" values="280002, 2800, 28, init, NOT_VERIFY" />
- <row data-node="db_8.t_order_item" values="280101, 2801, 28, init, NOT_VERIFY" />
- <row data-node="db_8.t_order_item" values="280102, 2801, 28, init, NOT_VERIFY" />
- <row data-node="db_9.t_order_item" values="190001, 1900, 19, init, NOT_VERIFY" />
- <row data-node="db_9.t_order_item" values="190002, 1900, 19, init, NOT_VERIFY" />
- <row data-node="db_9.t_order_item" values="190101, 1901, 19, init, NOT_VERIFY" />
- <row data-node="db_9.t_order_item" values="190102, 1901, 19, init, NOT_VERIFY" />
- <row data-node="db_9.t_order_item" values="290001, 2900, 29, init, NOT_VERIFY" />
- <row data-node="db_9.t_order_item" values="290002, 2900, 29, init, NOT_VERIFY" />
- <row data-node="db_9.t_order_item" values="290101, 2901, 29, init, NOT_VERIFY" />
- <row data-node="db_9.t_order_item" values="290102, 2901, 29, init, NOT_VERIFY" />
-</dataset>
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dml/dataset/dbtbl_with_replica_query/batch_insert_for_order.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dml/dataset/dbtbl_with_replica_query/batch_insert_for_order.xml
deleted file mode 100644
index 74f78a0..0000000
--- a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dml/dataset/dbtbl_with_replica_query/batch_insert_for_order.xml
+++ /dev/null
@@ -1,226 +0,0 @@
-<!--
- ~ Licensed to the Apache Software Foundation (ASF) under one or more
- ~ contributor license agreements. See the NOTICE file distributed with
- ~ this work for additional information regarding copyright ownership.
- ~ The ASF licenses this file to You under the Apache License, Version 2.0
- ~ (the "License"); you may not use this file except in compliance with
- ~ the License. You may obtain a copy of the License at
- ~
- ~ http://www.apache.org/licenses/LICENSE-2.0
- ~
- ~ Unless required by applicable law or agreed to in writing, software
- ~ distributed under the License is distributed on an "AS IS" BASIS,
- ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- ~ See the License for the specific language governing permissions and
- ~ limitations under the License.
- -->
-
-<dataset update-count="2">
- <metadata data-nodes="primary_ds_${0..9}.t_order_${0..9},replica_ds_${0..9}.t_order_${0..9}">
- <column name="order_id" type="numeric" />
- <column name="user_id" type="numeric" />
- <column name="status" type="varchar" />
- </metadata>
- <row data-node="primary_ds_0.t_order_0" values="1000, 10, init" />
- <row data-node="primary_ds_0.t_order_1" values="1001, 10, init" />
- <row data-node="primary_ds_0.t_order_2" values="1002, 10, init" />
- <row data-node="primary_ds_0.t_order_3" values="1003, 10, init" />
- <row data-node="primary_ds_0.t_order_4" values="1004, 10, init" />
- <row data-node="primary_ds_0.t_order_5" values="1005, 10, init" />
- <row data-node="primary_ds_0.t_order_6" values="1006, 10, init" />
- <row data-node="primary_ds_0.t_order_7" values="1007, 10, init" />
- <row data-node="primary_ds_0.t_order_8" values="1008, 10, init" />
- <row data-node="primary_ds_0.t_order_9" values="1009, 10, init" />
- <row data-node="primary_ds_1.t_order_1" values="1, 1, insert" />
- <row data-node="primary_ds_1.t_order_0" values="1100, 11, init" />
- <row data-node="primary_ds_1.t_order_1" values="1101, 11, init" />
- <row data-node="primary_ds_1.t_order_2" values="1102, 11, init" />
- <row data-node="primary_ds_1.t_order_3" values="1103, 11, init" />
- <row data-node="primary_ds_1.t_order_4" values="1104, 11, init" />
- <row data-node="primary_ds_1.t_order_5" values="1105, 11, init" />
- <row data-node="primary_ds_1.t_order_6" values="1106, 11, init" />
- <row data-node="primary_ds_1.t_order_7" values="1107, 11, init" />
- <row data-node="primary_ds_1.t_order_8" values="1108, 11, init" />
- <row data-node="primary_ds_1.t_order_9" values="1109, 11, init" />
- <row data-node="primary_ds_2.t_order_0" values="1200, 12, init" />
- <row data-node="primary_ds_2.t_order_1" values="1201, 12, init" />
- <row data-node="primary_ds_2.t_order_2" values="2, 2, insert" />
- <row data-node="primary_ds_2.t_order_2" values="1202, 12, init" />
- <row data-node="primary_ds_2.t_order_3" values="1203, 12, init" />
- <row data-node="primary_ds_2.t_order_4" values="1204, 12, init" />
- <row data-node="primary_ds_2.t_order_5" values="1205, 12, init" />
- <row data-node="primary_ds_2.t_order_6" values="1206, 12, init" />
- <row data-node="primary_ds_2.t_order_7" values="1207, 12, init" />
- <row data-node="primary_ds_2.t_order_8" values="1208, 12, init" />
- <row data-node="primary_ds_2.t_order_9" values="1209, 12, init" />
- <row data-node="primary_ds_3.t_order_0" values="1300, 13, init" />
- <row data-node="primary_ds_3.t_order_1" values="1301, 13, init" />
- <row data-node="primary_ds_3.t_order_2" values="1302, 13, init" />
- <row data-node="primary_ds_3.t_order_3" values="1303, 13, init" />
- <row data-node="primary_ds_3.t_order_4" values="1304, 13, init" />
- <row data-node="primary_ds_3.t_order_5" values="1305, 13, init" />
- <row data-node="primary_ds_3.t_order_6" values="1306, 13, init" />
- <row data-node="primary_ds_3.t_order_7" values="1307, 13, init" />
- <row data-node="primary_ds_3.t_order_8" values="1308, 13, init" />
- <row data-node="primary_ds_3.t_order_9" values="1309, 13, init" />
- <row data-node="primary_ds_4.t_order_0" values="1400, 14, init" />
- <row data-node="primary_ds_4.t_order_1" values="1401, 14, init" />
- <row data-node="primary_ds_4.t_order_2" values="1402, 14, init" />
- <row data-node="primary_ds_4.t_order_3" values="1403, 14, init" />
- <row data-node="primary_ds_4.t_order_4" values="1404, 14, init" />
- <row data-node="primary_ds_4.t_order_5" values="1405, 14, init" />
- <row data-node="primary_ds_4.t_order_6" values="1406, 14, init" />
- <row data-node="primary_ds_4.t_order_7" values="1407, 14, init" />
- <row data-node="primary_ds_4.t_order_8" values="1408, 14, init" />
- <row data-node="primary_ds_4.t_order_9" values="1409, 14, init" />
- <row data-node="primary_ds_5.t_order_0" values="1500, 15, init" />
- <row data-node="primary_ds_5.t_order_1" values="1501, 15, init" />
- <row data-node="primary_ds_5.t_order_2" values="1502, 15, init" />
- <row data-node="primary_ds_5.t_order_3" values="1503, 15, init" />
- <row data-node="primary_ds_5.t_order_4" values="1504, 15, init" />
- <row data-node="primary_ds_5.t_order_5" values="1505, 15, init" />
- <row data-node="primary_ds_5.t_order_6" values="1506, 15, init" />
- <row data-node="primary_ds_5.t_order_7" values="1507, 15, init" />
- <row data-node="primary_ds_5.t_order_8" values="1508, 15, init" />
- <row data-node="primary_ds_5.t_order_9" values="1509, 15, init" />
- <row data-node="primary_ds_6.t_order_0" values="1600, 16, init" />
- <row data-node="primary_ds_6.t_order_1" values="1601, 16, init" />
- <row data-node="primary_ds_6.t_order_2" values="1602, 16, init" />
- <row data-node="primary_ds_6.t_order_3" values="1603, 16, init" />
- <row data-node="primary_ds_6.t_order_4" values="1604, 16, init" />
- <row data-node="primary_ds_6.t_order_5" values="1605, 16, init" />
- <row data-node="primary_ds_6.t_order_6" values="1606, 16, init" />
- <row data-node="primary_ds_6.t_order_7" values="1607, 16, init" />
- <row data-node="primary_ds_6.t_order_8" values="1608, 16, init" />
- <row data-node="primary_ds_6.t_order_9" values="1609, 16, init" />
- <row data-node="primary_ds_7.t_order_0" values="1700, 17, init" />
- <row data-node="primary_ds_7.t_order_1" values="1701, 17, init" />
- <row data-node="primary_ds_7.t_order_2" values="1702, 17, init" />
- <row data-node="primary_ds_7.t_order_3" values="1703, 17, init" />
- <row data-node="primary_ds_7.t_order_4" values="1704, 17, init" />
- <row data-node="primary_ds_7.t_order_5" values="1705, 17, init" />
- <row data-node="primary_ds_7.t_order_6" values="1706, 17, init" />
- <row data-node="primary_ds_7.t_order_7" values="1707, 17, init" />
- <row data-node="primary_ds_7.t_order_8" values="1708, 17, init" />
- <row data-node="primary_ds_7.t_order_9" values="1709, 17, init" />
- <row data-node="primary_ds_8.t_order_0" values="1800, 18, init" />
- <row data-node="primary_ds_8.t_order_1" values="1801, 18, init" />
- <row data-node="primary_ds_8.t_order_2" values="1802, 18, init" />
- <row data-node="primary_ds_8.t_order_3" values="1803, 18, init" />
- <row data-node="primary_ds_8.t_order_4" values="1804, 18, init" />
- <row data-node="primary_ds_8.t_order_5" values="1805, 18, init" />
- <row data-node="primary_ds_8.t_order_6" values="1806, 18, init" />
- <row data-node="primary_ds_8.t_order_7" values="1807, 18, init" />
- <row data-node="primary_ds_8.t_order_8" values="1808, 18, init" />
- <row data-node="primary_ds_8.t_order_9" values="1809, 18, init" />
- <row data-node="primary_ds_9.t_order_0" values="1900, 19, init" />
- <row data-node="primary_ds_9.t_order_1" values="1901, 19, init" />
- <row data-node="primary_ds_9.t_order_2" values="1902, 19, init" />
- <row data-node="primary_ds_9.t_order_3" values="1903, 19, init" />
- <row data-node="primary_ds_9.t_order_4" values="1904, 19, init" />
- <row data-node="primary_ds_9.t_order_5" values="1905, 19, init" />
- <row data-node="primary_ds_9.t_order_6" values="1906, 19, init" />
- <row data-node="primary_ds_9.t_order_7" values="1907, 19, init" />
- <row data-node="primary_ds_9.t_order_8" values="1908, 19, init" />
- <row data-node="primary_ds_9.t_order_9" values="1909, 19, init" />
- <row data-node="replica_ds_0.t_order_0" values="1000, 10, init_replica" />
- <row data-node="replica_ds_0.t_order_1" values="1001, 10, init_replica" />
- <row data-node="replica_ds_0.t_order_2" values="1002, 10, init_replica" />
- <row data-node="replica_ds_0.t_order_3" values="1003, 10, init_replica" />
- <row data-node="replica_ds_0.t_order_4" values="1004, 10, init_replica" />
- <row data-node="replica_ds_0.t_order_5" values="1005, 10, init_replica" />
- <row data-node="replica_ds_0.t_order_6" values="1006, 10, init_replica" />
- <row data-node="replica_ds_0.t_order_7" values="1007, 10, init_replica" />
- <row data-node="replica_ds_0.t_order_8" values="1008, 10, init_replica" />
- <row data-node="replica_ds_0.t_order_9" values="1009, 10, init_replica" />
- <row data-node="replica_ds_1.t_order_0" values="1100, 11, init_replica" />
- <row data-node="replica_ds_1.t_order_1" values="1101, 11, init_replica" />
- <row data-node="replica_ds_1.t_order_2" values="1102, 11, init_replica" />
- <row data-node="replica_ds_1.t_order_3" values="1103, 11, init_replica" />
- <row data-node="replica_ds_1.t_order_4" values="1104, 11, init_replica" />
- <row data-node="replica_ds_1.t_order_5" values="1105, 11, init_replica" />
- <row data-node="replica_ds_1.t_order_6" values="1106, 11, init_replica" />
- <row data-node="replica_ds_1.t_order_7" values="1107, 11, init_replica" />
- <row data-node="replica_ds_1.t_order_8" values="1108, 11, init_replica" />
- <row data-node="replica_ds_1.t_order_9" values="1109, 11, init_replica" />
- <row data-node="replica_ds_2.t_order_0" values="1200, 12, init_replica" />
- <row data-node="replica_ds_2.t_order_1" values="1201, 12, init_replica" />
- <row data-node="replica_ds_2.t_order_2" values="1202, 12, init_replica" />
- <row data-node="replica_ds_2.t_order_3" values="1203, 12, init_replica" />
- <row data-node="replica_ds_2.t_order_4" values="1204, 12, init_replica" />
- <row data-node="replica_ds_2.t_order_5" values="1205, 12, init_replica" />
- <row data-node="replica_ds_2.t_order_6" values="1206, 12, init_replica" />
- <row data-node="replica_ds_2.t_order_7" values="1207, 12, init_replica" />
- <row data-node="replica_ds_2.t_order_8" values="1208, 12, init_replica" />
- <row data-node="replica_ds_2.t_order_9" values="1209, 12, init_replica" />
- <row data-node="replica_ds_3.t_order_0" values="1300, 13, init_replica" />
- <row data-node="replica_ds_3.t_order_1" values="1301, 13, init_replica" />
- <row data-node="replica_ds_3.t_order_2" values="1302, 13, init_replica" />
- <row data-node="replica_ds_3.t_order_3" values="1303, 13, init_replica" />
- <row data-node="replica_ds_3.t_order_4" values="1304, 13, init_replica" />
- <row data-node="replica_ds_3.t_order_5" values="1305, 13, init_replica" />
- <row data-node="replica_ds_3.t_order_6" values="1306, 13, init_replica" />
- <row data-node="replica_ds_3.t_order_7" values="1307, 13, init_replica" />
- <row data-node="replica_ds_3.t_order_8" values="1308, 13, init_replica" />
- <row data-node="replica_ds_3.t_order_9" values="1309, 13, init_replica" />
- <row data-node="replica_ds_4.t_order_0" values="1400, 14, init_replica" />
- <row data-node="replica_ds_4.t_order_1" values="1401, 14, init_replica" />
- <row data-node="replica_ds_4.t_order_2" values="1402, 14, init_replica" />
- <row data-node="replica_ds_4.t_order_3" values="1403, 14, init_replica" />
- <row data-node="replica_ds_4.t_order_4" values="1404, 14, init_replica" />
- <row data-node="replica_ds_4.t_order_5" values="1405, 14, init_replica" />
- <row data-node="replica_ds_4.t_order_6" values="1406, 14, init_replica" />
- <row data-node="replica_ds_4.t_order_7" values="1407, 14, init_replica" />
- <row data-node="replica_ds_4.t_order_8" values="1408, 14, init_replica" />
- <row data-node="replica_ds_4.t_order_9" values="1409, 14, init_replica" />
- <row data-node="replica_ds_5.t_order_0" values="1500, 15, init_replica" />
- <row data-node="replica_ds_5.t_order_1" values="1501, 15, init_replica" />
- <row data-node="replica_ds_5.t_order_2" values="1502, 15, init_replica" />
- <row data-node="replica_ds_5.t_order_3" values="1503, 15, init_replica" />
- <row data-node="replica_ds_5.t_order_4" values="1504, 15, init_replica" />
- <row data-node="replica_ds_5.t_order_5" values="1505, 15, init_replica" />
- <row data-node="replica_ds_5.t_order_6" values="1506, 15, init_replica" />
- <row data-node="replica_ds_5.t_order_7" values="1507, 15, init_replica" />
- <row data-node="replica_ds_5.t_order_8" values="1508, 15, init_replica" />
- <row data-node="replica_ds_5.t_order_9" values="1509, 15, init_replica" />
- <row data-node="replica_ds_6.t_order_0" values="1600, 16, init_replica" />
- <row data-node="replica_ds_6.t_order_1" values="1601, 16, init_replica" />
- <row data-node="replica_ds_6.t_order_2" values="1602, 16, init_replica" />
- <row data-node="replica_ds_6.t_order_3" values="1603, 16, init_replica" />
- <row data-node="replica_ds_6.t_order_4" values="1604, 16, init_replica" />
- <row data-node="replica_ds_6.t_order_5" values="1605, 16, init_replica" />
- <row data-node="replica_ds_6.t_order_6" values="1606, 16, init_replica" />
- <row data-node="replica_ds_6.t_order_7" values="1607, 16, init_replica" />
- <row data-node="replica_ds_6.t_order_8" values="1608, 16, init_replica" />
- <row data-node="replica_ds_6.t_order_9" values="1609, 16, init_replica" />
- <row data-node="replica_ds_7.t_order_0" values="1700, 17, init_replica" />
- <row data-node="replica_ds_7.t_order_1" values="1701, 17, init_replica" />
- <row data-node="replica_ds_7.t_order_2" values="1702, 17, init_replica" />
- <row data-node="replica_ds_7.t_order_3" values="1703, 17, init_replica" />
- <row data-node="replica_ds_7.t_order_4" values="1704, 17, init_replica" />
- <row data-node="replica_ds_7.t_order_5" values="1705, 17, init_replica" />
- <row data-node="replica_ds_7.t_order_6" values="1706, 17, init_replica" />
- <row data-node="replica_ds_7.t_order_7" values="1707, 17, init_replica" />
- <row data-node="replica_ds_7.t_order_8" values="1708, 17, init_replica" />
- <row data-node="replica_ds_7.t_order_9" values="1709, 17, init_replica" />
- <row data-node="replica_ds_8.t_order_0" values="1800, 18, init_replica" />
- <row data-node="replica_ds_8.t_order_1" values="1801, 18, init_replica" />
- <row data-node="replica_ds_8.t_order_2" values="1802, 18, init_replica" />
- <row data-node="replica_ds_8.t_order_3" values="1803, 18, init_replica" />
- <row data-node="replica_ds_8.t_order_4" values="1804, 18, init_replica" />
- <row data-node="replica_ds_8.t_order_5" values="1805, 18, init_replica" />
- <row data-node="replica_ds_8.t_order_6" values="1806, 18, init_replica" />
- <row data-node="replica_ds_8.t_order_7" values="1807, 18, init_replica" />
- <row data-node="replica_ds_8.t_order_8" values="1808, 18, init_replica" />
- <row data-node="replica_ds_8.t_order_9" values="1809, 18, init_replica" />
- <row data-node="replica_ds_9.t_order_0" values="1900, 19, init_replica" />
- <row data-node="replica_ds_9.t_order_1" values="1901, 19, init_replica" />
- <row data-node="replica_ds_9.t_order_2" values="1902, 19, init_replica" />
- <row data-node="replica_ds_9.t_order_3" values="1903, 19, init_replica" />
- <row data-node="replica_ds_9.t_order_4" values="1904, 19, init_replica" />
- <row data-node="replica_ds_9.t_order_5" values="1905, 19, init_replica" />
- <row data-node="replica_ds_9.t_order_6" values="1906, 19, init_replica" />
- <row data-node="replica_ds_9.t_order_7" values="1907, 19, init_replica" />
- <row data-node="replica_ds_9.t_order_8" values="1908, 19, init_replica" />
- <row data-node="replica_ds_9.t_order_9" values="1909, 19, init_replica" />
-</dataset>
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dml/dataset/dbtbl_with_replica_query/batch_insert_without_generate_key_column.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dml/dataset/dbtbl_with_replica_query/batch_insert_without_generate_key_column.xml
deleted file mode 100644
index db08637..0000000
--- a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dml/dataset/dbtbl_with_replica_query/batch_insert_without_generate_key_column.xml
+++ /dev/null
@@ -1,428 +0,0 @@
-<!--
- ~ Licensed to the Apache Software Foundation (ASF) under one or more
- ~ contributor license agreements. See the NOTICE file distributed with
- ~ this work for additional information regarding copyright ownership.
- ~ The ASF licenses this file to You under the Apache License, Version 2.0
- ~ (the "License"); you may not use this file except in compliance with
- ~ the License. You may obtain a copy of the License at
- ~
- ~ http://www.apache.org/licenses/LICENSE-2.0
- ~
- ~ Unless required by applicable law or agreed to in writing, software
- ~ distributed under the License is distributed on an "AS IS" BASIS,
- ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- ~ See the License for the specific language governing permissions and
- ~ limitations under the License.
- -->
-
-<dataset update-count="2">
- <metadata data-nodes="primary_ds_${0..9}.t_order_item_${0..9},replica_ds_${0..9}.t_order_item_${0..9}">
- <column name="item_id" type="numeric" />
- <column name="order_id" type="numeric" />
- <column name="user_id" type="numeric" />
- <column name="status" type="varchar" />
- <column name="creation_date" type="datetime" />
- </metadata>
- <row data-node="primary_ds_0.t_order_item_0" values="100000, 1000, 10, init, 2017-08-08" />
- <row data-node="primary_ds_0.t_order_item_0" values="100001, 1000, 10, init, 2017-08-08" />
- <row data-node="primary_ds_0.t_order_item_1" values="100100, 1001, 10, init, 2017-08-08" />
- <row data-node="primary_ds_0.t_order_item_1" values="100101, 1001, 10, init, 2017-08-08" />
- <row data-node="primary_ds_0.t_order_item_2" values="100200, 1002, 10, init, 2017-08-08" />
- <row data-node="primary_ds_0.t_order_item_2" values="100201, 1002, 10, init, 2017-08-08" />
- <row data-node="primary_ds_0.t_order_item_3" values="100300, 1003, 10, init, 2017-08-08" />
- <row data-node="primary_ds_0.t_order_item_3" values="100301, 1003, 10, init, 2017-08-08" />
- <row data-node="primary_ds_0.t_order_item_4" values="100400, 1004, 10, init, 2017-08-08" />
- <row data-node="primary_ds_0.t_order_item_4" values="100401, 1004, 10, init, 2017-08-08" />
- <row data-node="primary_ds_0.t_order_item_5" values="100500, 1005, 10, init, 2017-08-08" />
- <row data-node="primary_ds_0.t_order_item_5" values="100501, 1005, 10, init, 2017-08-08" />
- <row data-node="primary_ds_0.t_order_item_6" values="100600, 1006, 10, init, 2017-08-08" />
- <row data-node="primary_ds_0.t_order_item_6" values="100601, 1006, 10, init, 2017-08-08" />
- <row data-node="primary_ds_0.t_order_item_7" values="100700, 1007, 10, init, 2017-08-08" />
- <row data-node="primary_ds_0.t_order_item_7" values="100701, 1007, 10, init, 2017-08-08" />
- <row data-node="primary_ds_0.t_order_item_8" values="100800, 1008, 10, init, 2017-08-08" />
- <row data-node="primary_ds_0.t_order_item_8" values="100801, 1008, 10, init, 2017-08-08" />
- <row data-node="primary_ds_0.t_order_item_9" values="100900, 1009, 10, init, 2017-08-08" />
- <row data-node="primary_ds_0.t_order_item_9" values="100901, 1009, 10, init, 2017-08-08" />
- <row data-node="primary_ds_1.t_order_item_0" values="110000, 1100, 11, init, 2017-08-08" />
- <row data-node="primary_ds_1.t_order_item_0" values="110001, 1100, 11, init, 2017-08-08" />
- <row data-node="primary_ds_1.t_order_item_1" values="1, 1, 1, insert, 2017-08-08" />
- <row data-node="primary_ds_1.t_order_item_1" values="110100, 1101, 11, init, 2017-08-08" />
- <row data-node="primary_ds_1.t_order_item_1" values="110101, 1101, 11, init, 2017-08-08" />
- <row data-node="primary_ds_1.t_order_item_2" values="110200, 1102, 11, init, 2017-08-08" />
- <row data-node="primary_ds_1.t_order_item_2" values="110201, 1102, 11, init, 2017-08-08" />
- <row data-node="primary_ds_1.t_order_item_3" values="110300, 1103, 11, init, 2017-08-08" />
- <row data-node="primary_ds_1.t_order_item_3" values="110301, 1103, 11, init, 2017-08-08" />
- <row data-node="primary_ds_1.t_order_item_4" values="110400, 1104, 11, init, 2017-08-08" />
- <row data-node="primary_ds_1.t_order_item_4" values="110401, 1104, 11, init, 2017-08-08" />
- <row data-node="primary_ds_1.t_order_item_5" values="110500, 1105, 11, init, 2017-08-08" />
- <row data-node="primary_ds_1.t_order_item_5" values="110501, 1105, 11, init, 2017-08-08" />
- <row data-node="primary_ds_1.t_order_item_6" values="110600, 1106, 11, init, 2017-08-08" />
- <row data-node="primary_ds_1.t_order_item_6" values="110601, 1106, 11, init, 2017-08-08" />
- <row data-node="primary_ds_1.t_order_item_7" values="110700, 1107, 11, init, 2017-08-08" />
- <row data-node="primary_ds_1.t_order_item_7" values="110701, 1107, 11, init, 2017-08-08" />
- <row data-node="primary_ds_1.t_order_item_8" values="110800, 1108, 11, init, 2017-08-08" />
- <row data-node="primary_ds_1.t_order_item_8" values="110801, 1108, 11, init, 2017-08-08" />
- <row data-node="primary_ds_1.t_order_item_9" values="110900, 1109, 11, init, 2017-08-08" />
- <row data-node="primary_ds_1.t_order_item_9" values="110901, 1109, 11, init, 2017-08-08" />
- <row data-node="primary_ds_2.t_order_item_0" values="120000, 1200, 12, init, 2017-08-08" />
- <row data-node="primary_ds_2.t_order_item_0" values="120001, 1200, 12, init, 2017-08-08" />
- <row data-node="primary_ds_2.t_order_item_1" values="120100, 1201, 12, init, 2017-08-08" />
- <row data-node="primary_ds_2.t_order_item_1" values="120101, 1201, 12, init, 2017-08-08" />
- <row data-node="primary_ds_2.t_order_item_2" values="1, 2, 2, insert, 2017-08-08" />
- <row data-node="primary_ds_2.t_order_item_2" values="120200, 1202, 12, init, 2017-08-08" />
- <row data-node="primary_ds_2.t_order_item_2" values="120201, 1202, 12, init, 2017-08-08" />
- <row data-node="primary_ds_2.t_order_item_3" values="120300, 1203, 12, init, 2017-08-08" />
- <row data-node="primary_ds_2.t_order_item_3" values="120301, 1203, 12, init, 2017-08-08" />
- <row data-node="primary_ds_2.t_order_item_4" values="120400, 1204, 12, init, 2017-08-08" />
- <row data-node="primary_ds_2.t_order_item_4" values="120401, 1204, 12, init, 2017-08-08" />
- <row data-node="primary_ds_2.t_order_item_5" values="120500, 1205, 12, init, 2017-08-08" />
- <row data-node="primary_ds_2.t_order_item_5" values="120501, 1205, 12, init, 2017-08-08" />
- <row data-node="primary_ds_2.t_order_item_6" values="120600, 1206, 12, init, 2017-08-08" />
- <row data-node="primary_ds_2.t_order_item_6" values="120601, 1206, 12, init, 2017-08-08" />
- <row data-node="primary_ds_2.t_order_item_7" values="120700, 1207, 12, init, 2017-08-08" />
- <row data-node="primary_ds_2.t_order_item_7" values="120701, 1207, 12, init, 2017-08-08" />
- <row data-node="primary_ds_2.t_order_item_8" values="120800, 1208, 12, init, 2017-08-08" />
- <row data-node="primary_ds_2.t_order_item_8" values="120801, 1208, 12, init, 2017-08-08" />
- <row data-node="primary_ds_2.t_order_item_9" values="120900, 1209, 12, init, 2017-08-08" />
- <row data-node="primary_ds_2.t_order_item_9" values="120901, 1209, 12, init, 2017-08-08" />
- <row data-node="primary_ds_3.t_order_item_0" values="130000, 1300, 13, init, 2017-08-08" />
- <row data-node="primary_ds_3.t_order_item_0" values="130001, 1300, 13, init, 2017-08-08" />
- <row data-node="primary_ds_3.t_order_item_1" values="130100, 1301, 13, init, 2017-08-08" />
- <row data-node="primary_ds_3.t_order_item_1" values="130101, 1301, 13, init, 2017-08-08" />
- <row data-node="primary_ds_3.t_order_item_2" values="130200, 1302, 13, init, 2017-08-08" />
- <row data-node="primary_ds_3.t_order_item_2" values="130201, 1302, 13, init, 2017-08-08" />
- <row data-node="primary_ds_3.t_order_item_3" values="130300, 1303, 13, init, 2017-08-08" />
- <row data-node="primary_ds_3.t_order_item_3" values="130301, 1303, 13, init, 2017-08-08" />
- <row data-node="primary_ds_3.t_order_item_4" values="130400, 1304, 13, init, 2017-08-08" />
- <row data-node="primary_ds_3.t_order_item_4" values="130401, 1304, 13, init, 2017-08-08" />
- <row data-node="primary_ds_3.t_order_item_5" values="130500, 1305, 13, init, 2017-08-08" />
- <row data-node="primary_ds_3.t_order_item_5" values="130501, 1305, 13, init, 2017-08-08" />
- <row data-node="primary_ds_3.t_order_item_6" values="130600, 1306, 13, init, 2017-08-08" />
- <row data-node="primary_ds_3.t_order_item_6" values="130601, 1306, 13, init, 2017-08-08" />
- <row data-node="primary_ds_3.t_order_item_7" values="130700, 1307, 13, init, 2017-08-08" />
- <row data-node="primary_ds_3.t_order_item_7" values="130701, 1307, 13, init, 2017-08-08" />
- <row data-node="primary_ds_3.t_order_item_8" values="130800, 1308, 13, init, 2017-08-08" />
- <row data-node="primary_ds_3.t_order_item_8" values="130801, 1308, 13, init, 2017-08-08" />
- <row data-node="primary_ds_3.t_order_item_9" values="130900, 1309, 13, init, 2017-08-08" />
- <row data-node="primary_ds_3.t_order_item_9" values="130901, 1309, 13, init, 2017-08-08" />
- <row data-node="primary_ds_4.t_order_item_0" values="140000, 1400, 14, init, 2017-08-08" />
- <row data-node="primary_ds_4.t_order_item_0" values="140001, 1400, 14, init, 2017-08-08" />
- <row data-node="primary_ds_4.t_order_item_1" values="140100, 1401, 14, init, 2017-08-08" />
- <row data-node="primary_ds_4.t_order_item_1" values="140101, 1401, 14, init, 2017-08-08" />
- <row data-node="primary_ds_4.t_order_item_2" values="140200, 1402, 14, init, 2017-08-08" />
- <row data-node="primary_ds_4.t_order_item_2" values="140201, 1402, 14, init, 2017-08-08" />
- <row data-node="primary_ds_4.t_order_item_3" values="140300, 1403, 14, init, 2017-08-08" />
- <row data-node="primary_ds_4.t_order_item_3" values="140301, 1403, 14, init, 2017-08-08" />
- <row data-node="primary_ds_4.t_order_item_4" values="140400, 1404, 14, init, 2017-08-08" />
- <row data-node="primary_ds_4.t_order_item_4" values="140401, 1404, 14, init, 2017-08-08" />
- <row data-node="primary_ds_4.t_order_item_5" values="140500, 1405, 14, init, 2017-08-08" />
- <row data-node="primary_ds_4.t_order_item_5" values="140501, 1405, 14, init, 2017-08-08" />
- <row data-node="primary_ds_4.t_order_item_6" values="140600, 1406, 14, init, 2017-08-08" />
- <row data-node="primary_ds_4.t_order_item_6" values="140601, 1406, 14, init, 2017-08-08" />
- <row data-node="primary_ds_4.t_order_item_7" values="140700, 1407, 14, init, 2017-08-08" />
- <row data-node="primary_ds_4.t_order_item_7" values="140701, 1407, 14, init, 2017-08-08" />
- <row data-node="primary_ds_4.t_order_item_8" values="140800, 1408, 14, init, 2017-08-08" />
- <row data-node="primary_ds_4.t_order_item_8" values="140801, 1408, 14, init, 2017-08-08" />
- <row data-node="primary_ds_4.t_order_item_9" values="140900, 1409, 14, init, 2017-08-08" />
- <row data-node="primary_ds_4.t_order_item_9" values="140901, 1409, 14, init, 2017-08-08" />
- <row data-node="primary_ds_5.t_order_item_0" values="150000, 1500, 15, init, 2017-08-08" />
- <row data-node="primary_ds_5.t_order_item_0" values="150001, 1500, 15, init, 2017-08-08" />
- <row data-node="primary_ds_5.t_order_item_1" values="150100, 1501, 15, init, 2017-08-08" />
- <row data-node="primary_ds_5.t_order_item_1" values="150101, 1501, 15, init, 2017-08-08" />
- <row data-node="primary_ds_5.t_order_item_2" values="150200, 1502, 15, init, 2017-08-08" />
- <row data-node="primary_ds_5.t_order_item_2" values="150201, 1502, 15, init, 2017-08-08" />
- <row data-node="primary_ds_5.t_order_item_3" values="150300, 1503, 15, init, 2017-08-08" />
- <row data-node="primary_ds_5.t_order_item_3" values="150301, 1503, 15, init, 2017-08-08" />
- <row data-node="primary_ds_5.t_order_item_4" values="150400, 1504, 15, init, 2017-08-08" />
- <row data-node="primary_ds_5.t_order_item_4" values="150401, 1504, 15, init, 2017-08-08" />
- <row data-node="primary_ds_5.t_order_item_5" values="150500, 1505, 15, init, 2017-08-08" />
- <row data-node="primary_ds_5.t_order_item_5" values="150501, 1505, 15, init, 2017-08-08" />
- <row data-node="primary_ds_5.t_order_item_6" values="150600, 1506, 15, init, 2017-08-08" />
- <row data-node="primary_ds_5.t_order_item_6" values="150601, 1506, 15, init, 2017-08-08" />
- <row data-node="primary_ds_5.t_order_item_7" values="150700, 1507, 15, init, 2017-08-08" />
- <row data-node="primary_ds_5.t_order_item_7" values="150701, 1507, 15, init, 2017-08-08" />
- <row data-node="primary_ds_5.t_order_item_8" values="150800, 1508, 15, init, 2017-08-08" />
- <row data-node="primary_ds_5.t_order_item_8" values="150801, 1508, 15, init, 2017-08-08" />
- <row data-node="primary_ds_5.t_order_item_9" values="150900, 1509, 15, init, 2017-08-08" />
- <row data-node="primary_ds_5.t_order_item_9" values="150901, 1509, 15, init, 2017-08-08" />
- <row data-node="primary_ds_6.t_order_item_0" values="160000, 1600, 16, init, 2017-08-08" />
- <row data-node="primary_ds_6.t_order_item_0" values="160001, 1600, 16, init, 2017-08-08" />
- <row data-node="primary_ds_6.t_order_item_1" values="160100, 1601, 16, init, 2017-08-08" />
- <row data-node="primary_ds_6.t_order_item_1" values="160101, 1601, 16, init, 2017-08-08" />
- <row data-node="primary_ds_6.t_order_item_2" values="160200, 1602, 16, init, 2017-08-08" />
- <row data-node="primary_ds_6.t_order_item_2" values="160201, 1602, 16, init, 2017-08-08" />
- <row data-node="primary_ds_6.t_order_item_3" values="160300, 1603, 16, init, 2017-08-08" />
- <row data-node="primary_ds_6.t_order_item_3" values="160301, 1603, 16, init, 2017-08-08" />
- <row data-node="primary_ds_6.t_order_item_4" values="160400, 1604, 16, init, 2017-08-08" />
- <row data-node="primary_ds_6.t_order_item_4" values="160401, 1604, 16, init, 2017-08-08" />
- <row data-node="primary_ds_6.t_order_item_5" values="160500, 1605, 16, init, 2017-08-08" />
- <row data-node="primary_ds_6.t_order_item_5" values="160501, 1605, 16, init, 2017-08-08" />
- <row data-node="primary_ds_6.t_order_item_6" values="160600, 1606, 16, init, 2017-08-08" />
- <row data-node="primary_ds_6.t_order_item_6" values="160601, 1606, 16, init, 2017-08-08" />
- <row data-node="primary_ds_6.t_order_item_7" values="160700, 1607, 16, init, 2017-08-08" />
- <row data-node="primary_ds_6.t_order_item_7" values="160701, 1607, 16, init, 2017-08-08" />
- <row data-node="primary_ds_6.t_order_item_8" values="160800, 1608, 16, init, 2017-08-08" />
- <row data-node="primary_ds_6.t_order_item_8" values="160801, 1608, 16, init, 2017-08-08" />
- <row data-node="primary_ds_6.t_order_item_9" values="160900, 1609, 16, init, 2017-08-08" />
- <row data-node="primary_ds_6.t_order_item_9" values="160901, 1609, 16, init, 2017-08-08" />
- <row data-node="primary_ds_7.t_order_item_0" values="170000, 1700, 17, init, 2017-08-08" />
- <row data-node="primary_ds_7.t_order_item_0" values="170001, 1700, 17, init, 2017-08-08" />
- <row data-node="primary_ds_7.t_order_item_1" values="170100, 1701, 17, init, 2017-08-08" />
- <row data-node="primary_ds_7.t_order_item_1" values="170101, 1701, 17, init, 2017-08-08" />
- <row data-node="primary_ds_7.t_order_item_2" values="170200, 1702, 17, init, 2017-08-08" />
- <row data-node="primary_ds_7.t_order_item_2" values="170201, 1702, 17, init, 2017-08-08" />
- <row data-node="primary_ds_7.t_order_item_3" values="170300, 1703, 17, init, 2017-08-08" />
- <row data-node="primary_ds_7.t_order_item_3" values="170301, 1703, 17, init, 2017-08-08" />
- <row data-node="primary_ds_7.t_order_item_4" values="170400, 1704, 17, init, 2017-08-08" />
- <row data-node="primary_ds_7.t_order_item_4" values="170401, 1704, 17, init, 2017-08-08" />
- <row data-node="primary_ds_7.t_order_item_5" values="170500, 1705, 17, init, 2017-08-08" />
- <row data-node="primary_ds_7.t_order_item_5" values="170501, 1705, 17, init, 2017-08-08" />
- <row data-node="primary_ds_7.t_order_item_6" values="170600, 1706, 17, init, 2017-08-08" />
- <row data-node="primary_ds_7.t_order_item_6" values="170601, 1706, 17, init, 2017-08-08" />
- <row data-node="primary_ds_7.t_order_item_7" values="170700, 1707, 17, init, 2017-08-08" />
- <row data-node="primary_ds_7.t_order_item_7" values="170701, 1707, 17, init, 2017-08-08" />
- <row data-node="primary_ds_7.t_order_item_8" values="170800, 1708, 17, init, 2017-08-08" />
- <row data-node="primary_ds_7.t_order_item_8" values="170801, 1708, 17, init, 2017-08-08" />
- <row data-node="primary_ds_7.t_order_item_9" values="170900, 1709, 17, init, 2017-08-08" />
- <row data-node="primary_ds_7.t_order_item_9" values="170901, 1709, 17, init, 2017-08-08" />
- <row data-node="primary_ds_8.t_order_item_0" values="180000, 1800, 18, init, 2017-08-08" />
- <row data-node="primary_ds_8.t_order_item_0" values="180001, 1800, 18, init, 2017-08-08" />
- <row data-node="primary_ds_8.t_order_item_1" values="180100, 1801, 18, init, 2017-08-08" />
- <row data-node="primary_ds_8.t_order_item_1" values="180101, 1801, 18, init, 2017-08-08" />
- <row data-node="primary_ds_8.t_order_item_2" values="180200, 1802, 18, init, 2017-08-08" />
- <row data-node="primary_ds_8.t_order_item_2" values="180201, 1802, 18, init, 2017-08-08" />
- <row data-node="primary_ds_8.t_order_item_3" values="180300, 1803, 18, init, 2017-08-08" />
- <row data-node="primary_ds_8.t_order_item_3" values="180301, 1803, 18, init, 2017-08-08" />
- <row data-node="primary_ds_8.t_order_item_4" values="180400, 1804, 18, init, 2017-08-08" />
- <row data-node="primary_ds_8.t_order_item_4" values="180401, 1804, 18, init, 2017-08-08" />
- <row data-node="primary_ds_8.t_order_item_5" values="180500, 1805, 18, init, 2017-08-08" />
- <row data-node="primary_ds_8.t_order_item_5" values="180501, 1805, 18, init, 2017-08-08" />
- <row data-node="primary_ds_8.t_order_item_6" values="180600, 1806, 18, init, 2017-08-08" />
- <row data-node="primary_ds_8.t_order_item_6" values="180601, 1806, 18, init, 2017-08-08" />
- <row data-node="primary_ds_8.t_order_item_7" values="180700, 1807, 18, init, 2017-08-08" />
- <row data-node="primary_ds_8.t_order_item_7" values="180701, 1807, 18, init, 2017-08-08" />
- <row data-node="primary_ds_8.t_order_item_8" values="180800, 1808, 18, init, 2017-08-08" />
- <row data-node="primary_ds_8.t_order_item_8" values="180801, 1808, 18, init, 2017-08-08" />
- <row data-node="primary_ds_8.t_order_item_9" values="180900, 1809, 18, init, 2017-08-08" />
- <row data-node="primary_ds_8.t_order_item_9" values="180901, 1809, 18, init, 2017-08-08" />
- <row data-node="primary_ds_9.t_order_item_0" values="190000, 1900, 19, init, 2017-08-08" />
- <row data-node="primary_ds_9.t_order_item_0" values="190001, 1900, 19, init, 2017-08-08" />
- <row data-node="primary_ds_9.t_order_item_1" values="190100, 1901, 19, init, 2017-08-08" />
- <row data-node="primary_ds_9.t_order_item_1" values="190101, 1901, 19, init, 2017-08-08" />
- <row data-node="primary_ds_9.t_order_item_2" values="190200, 1902, 19, init, 2017-08-08" />
- <row data-node="primary_ds_9.t_order_item_2" values="190201, 1902, 19, init, 2017-08-08" />
- <row data-node="primary_ds_9.t_order_item_3" values="190300, 1903, 19, init, 2017-08-08" />
- <row data-node="primary_ds_9.t_order_item_3" values="190301, 1903, 19, init, 2017-08-08" />
- <row data-node="primary_ds_9.t_order_item_4" values="190400, 1904, 19, init, 2017-08-08" />
- <row data-node="primary_ds_9.t_order_item_4" values="190401, 1904, 19, init, 2017-08-08" />
- <row data-node="primary_ds_9.t_order_item_5" values="190500, 1905, 19, init, 2017-08-08" />
- <row data-node="primary_ds_9.t_order_item_5" values="190501, 1905, 19, init, 2017-08-08" />
- <row data-node="primary_ds_9.t_order_item_6" values="190600, 1906, 19, init, 2017-08-08" />
- <row data-node="primary_ds_9.t_order_item_6" values="190601, 1906, 19, init, 2017-08-08" />
- <row data-node="primary_ds_9.t_order_item_7" values="190700, 1907, 19, init, 2017-08-08" />
- <row data-node="primary_ds_9.t_order_item_7" values="190701, 1907, 19, init, 2017-08-08" />
- <row data-node="primary_ds_9.t_order_item_8" values="190800, 1908, 19, init, 2017-08-08" />
- <row data-node="primary_ds_9.t_order_item_8" values="190801, 1908, 19, init, 2017-08-08" />
- <row data-node="primary_ds_9.t_order_item_9" values="190900, 1909, 19, init, 2017-08-08" />
- <row data-node="primary_ds_9.t_order_item_9" values="190901, 1909, 19, init, 2017-08-08" />
- <row data-node="replica_ds_0.t_order_item_0" values="100000, 1000, 10, init_replica, 2017-08-08" />
- <row data-node="replica_ds_0.t_order_item_0" values="100001, 1000, 10, init_replica, 2017-08-08" />
- <row data-node="replica_ds_0.t_order_item_1" values="100100, 1001, 10, init_replica, 2017-08-08" />
- <row data-node="replica_ds_0.t_order_item_1" values="100101, 1001, 10, init_replica, 2017-08-08" />
- <row data-node="replica_ds_0.t_order_item_2" values="100200, 1002, 10, init_replica, 2017-08-08" />
- <row data-node="replica_ds_0.t_order_item_2" values="100201, 1002, 10, init_replica, 2017-08-08" />
- <row data-node="replica_ds_0.t_order_item_3" values="100300, 1003, 10, init_replica, 2017-08-08" />
- <row data-node="replica_ds_0.t_order_item_3" values="100301, 1003, 10, init_replica, 2017-08-08" />
- <row data-node="replica_ds_0.t_order_item_4" values="100400, 1004, 10, init_replica, 2017-08-08" />
- <row data-node="replica_ds_0.t_order_item_4" values="100401, 1004, 10, init_replica, 2017-08-08" />
- <row data-node="replica_ds_0.t_order_item_5" values="100500, 1005, 10, init_replica, 2017-08-08" />
- <row data-node="replica_ds_0.t_order_item_5" values="100501, 1005, 10, init_replica, 2017-08-08" />
- <row data-node="replica_ds_0.t_order_item_6" values="100600, 1006, 10, init_replica, 2017-08-08" />
- <row data-node="replica_ds_0.t_order_item_6" values="100601, 1006, 10, init_replica, 2017-08-08" />
- <row data-node="replica_ds_0.t_order_item_7" values="100700, 1007, 10, init_replica, 2017-08-08" />
- <row data-node="replica_ds_0.t_order_item_7" values="100701, 1007, 10, init_replica, 2017-08-08" />
- <row data-node="replica_ds_0.t_order_item_8" values="100800, 1008, 10, init_replica, 2017-08-08" />
- <row data-node="replica_ds_0.t_order_item_8" values="100801, 1008, 10, init_replica, 2017-08-08" />
- <row data-node="replica_ds_0.t_order_item_9" values="100900, 1009, 10, init_replica, 2017-08-08" />
- <row data-node="replica_ds_0.t_order_item_9" values="100901, 1009, 10, init_replica, 2017-08-08" />
- <row data-node="replica_ds_1.t_order_item_0" values="110000, 1100, 11, init_replica, 2017-08-08" />
- <row data-node="replica_ds_1.t_order_item_0" values="110001, 1100, 11, init_replica, 2017-08-08" />
- <row data-node="replica_ds_1.t_order_item_1" values="110100, 1101, 11, init_replica, 2017-08-08" />
- <row data-node="replica_ds_1.t_order_item_1" values="110101, 1101, 11, init_replica, 2017-08-08" />
- <row data-node="replica_ds_1.t_order_item_2" values="110200, 1102, 11, init_replica, 2017-08-08" />
- <row data-node="replica_ds_1.t_order_item_2" values="110201, 1102, 11, init_replica, 2017-08-08" />
- <row data-node="replica_ds_1.t_order_item_3" values="110300, 1103, 11, init_replica, 2017-08-08" />
- <row data-node="replica_ds_1.t_order_item_3" values="110301, 1103, 11, init_replica, 2017-08-08" />
- <row data-node="replica_ds_1.t_order_item_4" values="110400, 1104, 11, init_replica, 2017-08-08" />
- <row data-node="replica_ds_1.t_order_item_4" values="110401, 1104, 11, init_replica, 2017-08-08" />
- <row data-node="replica_ds_1.t_order_item_5" values="110500, 1105, 11, init_replica, 2017-08-08" />
- <row data-node="replica_ds_1.t_order_item_5" values="110501, 1105, 11, init_replica, 2017-08-08" />
- <row data-node="replica_ds_1.t_order_item_6" values="110600, 1106, 11, init_replica, 2017-08-08" />
- <row data-node="replica_ds_1.t_order_item_6" values="110601, 1106, 11, init_replica, 2017-08-08" />
- <row data-node="replica_ds_1.t_order_item_7" values="110700, 1107, 11, init_replica, 2017-08-08" />
- <row data-node="replica_ds_1.t_order_item_7" values="110701, 1107, 11, init_replica, 2017-08-08" />
- <row data-node="replica_ds_1.t_order_item_8" values="110800, 1108, 11, init_replica, 2017-08-08" />
- <row data-node="replica_ds_1.t_order_item_8" values="110801, 1108, 11, init_replica, 2017-08-08" />
- <row data-node="replica_ds_1.t_order_item_9" values="110900, 1109, 11, init_replica, 2017-08-08" />
- <row data-node="replica_ds_1.t_order_item_9" values="110901, 1109, 11, init_replica, 2017-08-08" />
- <row data-node="replica_ds_2.t_order_item_0" values="120000, 1200, 12, init_replica, 2017-08-08" />
- <row data-node="replica_ds_2.t_order_item_0" values="120001, 1200, 12, init_replica, 2017-08-08" />
- <row data-node="replica_ds_2.t_order_item_1" values="120100, 1201, 12, init_replica, 2017-08-08" />
- <row data-node="replica_ds_2.t_order_item_1" values="120101, 1201, 12, init_replica, 2017-08-08" />
- <row data-node="replica_ds_2.t_order_item_2" values="120200, 1202, 12, init_replica, 2017-08-08" />
- <row data-node="replica_ds_2.t_order_item_2" values="120201, 1202, 12, init_replica, 2017-08-08" />
- <row data-node="replica_ds_2.t_order_item_3" values="120300, 1203, 12, init_replica, 2017-08-08" />
- <row data-node="replica_ds_2.t_order_item_3" values="120301, 1203, 12, init_replica, 2017-08-08" />
- <row data-node="replica_ds_2.t_order_item_4" values="120400, 1204, 12, init_replica, 2017-08-08" />
- <row data-node="replica_ds_2.t_order_item_4" values="120401, 1204, 12, init_replica, 2017-08-08" />
- <row data-node="replica_ds_2.t_order_item_5" values="120500, 1205, 12, init_replica, 2017-08-08" />
- <row data-node="replica_ds_2.t_order_item_5" values="120501, 1205, 12, init_replica, 2017-08-08" />
- <row data-node="replica_ds_2.t_order_item_6" values="120600, 1206, 12, init_replica, 2017-08-08" />
- <row data-node="replica_ds_2.t_order_item_6" values="120601, 1206, 12, init_replica, 2017-08-08" />
- <row data-node="replica_ds_2.t_order_item_7" values="120700, 1207, 12, init_replica, 2017-08-08" />
- <row data-node="replica_ds_2.t_order_item_7" values="120701, 1207, 12, init_replica, 2017-08-08" />
- <row data-node="replica_ds_2.t_order_item_8" values="120800, 1208, 12, init_replica, 2017-08-08" />
- <row data-node="replica_ds_2.t_order_item_8" values="120801, 1208, 12, init_replica, 2017-08-08" />
- <row data-node="replica_ds_2.t_order_item_9" values="120900, 1209, 12, init_replica, 2017-08-08" />
- <row data-node="replica_ds_2.t_order_item_9" values="120901, 1209, 12, init_replica, 2017-08-08" />
- <row data-node="replica_ds_3.t_order_item_0" values="130000, 1300, 13, init_replica, 2017-08-08" />
- <row data-node="replica_ds_3.t_order_item_0" values="130001, 1300, 13, init_replica, 2017-08-08" />
- <row data-node="replica_ds_3.t_order_item_1" values="130100, 1301, 13, init_replica, 2017-08-08" />
- <row data-node="replica_ds_3.t_order_item_1" values="130101, 1301, 13, init_replica, 2017-08-08" />
- <row data-node="replica_ds_3.t_order_item_2" values="130200, 1302, 13, init_replica, 2017-08-08" />
- <row data-node="replica_ds_3.t_order_item_2" values="130201, 1302, 13, init_replica, 2017-08-08" />
- <row data-node="replica_ds_3.t_order_item_3" values="130300, 1303, 13, init_replica, 2017-08-08" />
- <row data-node="replica_ds_3.t_order_item_3" values="130301, 1303, 13, init_replica, 2017-08-08" />
- <row data-node="replica_ds_3.t_order_item_4" values="130400, 1304, 13, init_replica, 2017-08-08" />
- <row data-node="replica_ds_3.t_order_item_4" values="130401, 1304, 13, init_replica, 2017-08-08" />
- <row data-node="replica_ds_3.t_order_item_5" values="130500, 1305, 13, init_replica, 2017-08-08" />
- <row data-node="replica_ds_3.t_order_item_5" values="130501, 1305, 13, init_replica, 2017-08-08" />
- <row data-node="replica_ds_3.t_order_item_6" values="130600, 1306, 13, init_replica, 2017-08-08" />
- <row data-node="replica_ds_3.t_order_item_6" values="130601, 1306, 13, init_replica, 2017-08-08" />
- <row data-node="replica_ds_3.t_order_item_7" values="130700, 1307, 13, init_replica, 2017-08-08" />
- <row data-node="replica_ds_3.t_order_item_7" values="130701, 1307, 13, init_replica, 2017-08-08" />
- <row data-node="replica_ds_3.t_order_item_8" values="130800, 1308, 13, init_replica, 2017-08-08" />
- <row data-node="replica_ds_3.t_order_item_8" values="130801, 1308, 13, init_replica, 2017-08-08" />
- <row data-node="replica_ds_3.t_order_item_9" values="130900, 1309, 13, init_replica, 2017-08-08" />
- <row data-node="replica_ds_3.t_order_item_9" values="130901, 1309, 13, init_replica, 2017-08-08" />
- <row data-node="replica_ds_4.t_order_item_0" values="140000, 1400, 14, init_replica, 2017-08-08" />
- <row data-node="replica_ds_4.t_order_item_0" values="140001, 1400, 14, init_replica, 2017-08-08" />
- <row data-node="replica_ds_4.t_order_item_1" values="140100, 1401, 14, init_replica, 2017-08-08" />
- <row data-node="replica_ds_4.t_order_item_1" values="140101, 1401, 14, init_replica, 2017-08-08" />
- <row data-node="replica_ds_4.t_order_item_2" values="140200, 1402, 14, init_replica, 2017-08-08" />
- <row data-node="replica_ds_4.t_order_item_2" values="140201, 1402, 14, init_replica, 2017-08-08" />
- <row data-node="replica_ds_4.t_order_item_3" values="140300, 1403, 14, init_replica, 2017-08-08" />
- <row data-node="replica_ds_4.t_order_item_3" values="140301, 1403, 14, init_replica, 2017-08-08" />
- <row data-node="replica_ds_4.t_order_item_4" values="140400, 1404, 14, init_replica, 2017-08-08" />
- <row data-node="replica_ds_4.t_order_item_4" values="140401, 1404, 14, init_replica, 2017-08-08" />
- <row data-node="replica_ds_4.t_order_item_5" values="140500, 1405, 14, init_replica, 2017-08-08" />
- <row data-node="replica_ds_4.t_order_item_5" values="140501, 1405, 14, init_replica, 2017-08-08" />
- <row data-node="replica_ds_4.t_order_item_6" values="140600, 1406, 14, init_replica, 2017-08-08" />
- <row data-node="replica_ds_4.t_order_item_6" values="140601, 1406, 14, init_replica, 2017-08-08" />
- <row data-node="replica_ds_4.t_order_item_7" values="140700, 1407, 14, init_replica, 2017-08-08" />
- <row data-node="replica_ds_4.t_order_item_7" values="140701, 1407, 14, init_replica, 2017-08-08" />
- <row data-node="replica_ds_4.t_order_item_8" values="140800, 1408, 14, init_replica, 2017-08-08" />
- <row data-node="replica_ds_4.t_order_item_8" values="140801, 1408, 14, init_replica, 2017-08-08" />
- <row data-node="replica_ds_4.t_order_item_9" values="140900, 1409, 14, init_replica, 2017-08-08" />
- <row data-node="replica_ds_4.t_order_item_9" values="140901, 1409, 14, init_replica, 2017-08-08" />
- <row data-node="replica_ds_5.t_order_item_0" values="150000, 1500, 15, init_replica, 2017-08-08" />
- <row data-node="replica_ds_5.t_order_item_0" values="150001, 1500, 15, init_replica, 2017-08-08" />
- <row data-node="replica_ds_5.t_order_item_1" values="150100, 1501, 15, init_replica, 2017-08-08" />
- <row data-node="replica_ds_5.t_order_item_1" values="150101, 1501, 15, init_replica, 2017-08-08" />
- <row data-node="replica_ds_5.t_order_item_2" values="150200, 1502, 15, init_replica, 2017-08-08" />
- <row data-node="replica_ds_5.t_order_item_2" values="150201, 1502, 15, init_replica, 2017-08-08" />
- <row data-node="replica_ds_5.t_order_item_3" values="150300, 1503, 15, init_replica, 2017-08-08" />
- <row data-node="replica_ds_5.t_order_item_3" values="150301, 1503, 15, init_replica, 2017-08-08" />
- <row data-node="replica_ds_5.t_order_item_4" values="150400, 1504, 15, init_replica, 2017-08-08" />
- <row data-node="replica_ds_5.t_order_item_4" values="150401, 1504, 15, init_replica, 2017-08-08" />
- <row data-node="replica_ds_5.t_order_item_5" values="150500, 1505, 15, init_replica, 2017-08-08" />
- <row data-node="replica_ds_5.t_order_item_5" values="150501, 1505, 15, init_replica, 2017-08-08" />
- <row data-node="replica_ds_5.t_order_item_6" values="150600, 1506, 15, init_replica, 2017-08-08" />
- <row data-node="replica_ds_5.t_order_item_6" values="150601, 1506, 15, init_replica, 2017-08-08" />
- <row data-node="replica_ds_5.t_order_item_7" values="150700, 1507, 15, init_replica, 2017-08-08" />
- <row data-node="replica_ds_5.t_order_item_7" values="150701, 1507, 15, init_replica, 2017-08-08" />
- <row data-node="replica_ds_5.t_order_item_8" values="150800, 1508, 15, init_replica, 2017-08-08" />
- <row data-node="replica_ds_5.t_order_item_8" values="150801, 1508, 15, init_replica, 2017-08-08" />
- <row data-node="replica_ds_5.t_order_item_9" values="150900, 1509, 15, init_replica, 2017-08-08" />
- <row data-node="replica_ds_5.t_order_item_9" values="150901, 1509, 15, init_replica, 2017-08-08" />
- <row data-node="replica_ds_6.t_order_item_0" values="160000, 1600, 16, init_replica, 2017-08-08" />
- <row data-node="replica_ds_6.t_order_item_0" values="160001, 1600, 16, init_replica, 2017-08-08" />
- <row data-node="replica_ds_6.t_order_item_1" values="160100, 1601, 16, init_replica, 2017-08-08" />
- <row data-node="replica_ds_6.t_order_item_1" values="160101, 1601, 16, init_replica, 2017-08-08" />
- <row data-node="replica_ds_6.t_order_item_2" values="160200, 1602, 16, init_replica, 2017-08-08" />
- <row data-node="replica_ds_6.t_order_item_2" values="160201, 1602, 16, init_replica, 2017-08-08" />
- <row data-node="replica_ds_6.t_order_item_3" values="160300, 1603, 16, init_replica, 2017-08-08" />
- <row data-node="replica_ds_6.t_order_item_3" values="160301, 1603, 16, init_replica, 2017-08-08" />
- <row data-node="replica_ds_6.t_order_item_4" values="160400, 1604, 16, init_replica, 2017-08-08" />
- <row data-node="replica_ds_6.t_order_item_4" values="160401, 1604, 16, init_replica, 2017-08-08" />
- <row data-node="replica_ds_6.t_order_item_5" values="160500, 1605, 16, init_replica, 2017-08-08" />
- <row data-node="replica_ds_6.t_order_item_5" values="160501, 1605, 16, init_replica, 2017-08-08" />
- <row data-node="replica_ds_6.t_order_item_6" values="160600, 1606, 16, init_replica, 2017-08-08" />
- <row data-node="replica_ds_6.t_order_item_6" values="160601, 1606, 16, init_replica, 2017-08-08" />
- <row data-node="replica_ds_6.t_order_item_7" values="160700, 1607, 16, init_replica, 2017-08-08" />
- <row data-node="replica_ds_6.t_order_item_7" values="160701, 1607, 16, init_replica, 2017-08-08" />
- <row data-node="replica_ds_6.t_order_item_8" values="160800, 1608, 16, init_replica, 2017-08-08" />
- <row data-node="replica_ds_6.t_order_item_8" values="160801, 1608, 16, init_replica, 2017-08-08" />
- <row data-node="replica_ds_6.t_order_item_9" values="160900, 1609, 16, init_replica, 2017-08-08" />
- <row data-node="replica_ds_6.t_order_item_9" values="160901, 1609, 16, init_replica, 2017-08-08" />
- <row data-node="replica_ds_7.t_order_item_0" values="170000, 1700, 17, init_replica, 2017-08-08" />
- <row data-node="replica_ds_7.t_order_item_0" values="170001, 1700, 17, init_replica, 2017-08-08" />
- <row data-node="replica_ds_7.t_order_item_1" values="170100, 1701, 17, init_replica, 2017-08-08" />
- <row data-node="replica_ds_7.t_order_item_1" values="170101, 1701, 17, init_replica, 2017-08-08" />
- <row data-node="replica_ds_7.t_order_item_2" values="170200, 1702, 17, init_replica, 2017-08-08" />
- <row data-node="replica_ds_7.t_order_item_2" values="170201, 1702, 17, init_replica, 2017-08-08" />
- <row data-node="replica_ds_7.t_order_item_3" values="170300, 1703, 17, init_replica, 2017-08-08" />
- <row data-node="replica_ds_7.t_order_item_3" values="170301, 1703, 17, init_replica, 2017-08-08" />
- <row data-node="replica_ds_7.t_order_item_4" values="170400, 1704, 17, init_replica, 2017-08-08" />
- <row data-node="replica_ds_7.t_order_item_4" values="170401, 1704, 17, init_replica, 2017-08-08" />
- <row data-node="replica_ds_7.t_order_item_5" values="170500, 1705, 17, init_replica, 2017-08-08" />
- <row data-node="replica_ds_7.t_order_item_5" values="170501, 1705, 17, init_replica, 2017-08-08" />
- <row data-node="replica_ds_7.t_order_item_6" values="170600, 1706, 17, init_replica, 2017-08-08" />
- <row data-node="replica_ds_7.t_order_item_6" values="170601, 1706, 17, init_replica, 2017-08-08" />
- <row data-node="replica_ds_7.t_order_item_7" values="170700, 1707, 17, init_replica, 2017-08-08" />
- <row data-node="replica_ds_7.t_order_item_7" values="170701, 1707, 17, init_replica, 2017-08-08" />
- <row data-node="replica_ds_7.t_order_item_8" values="170800, 1708, 17, init_replica, 2017-08-08" />
- <row data-node="replica_ds_7.t_order_item_8" values="170801, 1708, 17, init_replica, 2017-08-08" />
- <row data-node="replica_ds_7.t_order_item_9" values="170900, 1709, 17, init_replica, 2017-08-08" />
- <row data-node="replica_ds_7.t_order_item_9" values="170901, 1709, 17, init_replica, 2017-08-08" />
- <row data-node="replica_ds_8.t_order_item_0" values="180000, 1800, 18, init_replica, 2017-08-08" />
- <row data-node="replica_ds_8.t_order_item_0" values="180001, 1800, 18, init_replica, 2017-08-08" />
- <row data-node="replica_ds_8.t_order_item_1" values="180100, 1801, 18, init_replica, 2017-08-08" />
- <row data-node="replica_ds_8.t_order_item_1" values="180101, 1801, 18, init_replica, 2017-08-08" />
- <row data-node="replica_ds_8.t_order_item_2" values="180200, 1802, 18, init_replica, 2017-08-08" />
- <row data-node="replica_ds_8.t_order_item_2" values="180201, 1802, 18, init_replica, 2017-08-08" />
- <row data-node="replica_ds_8.t_order_item_3" values="180300, 1803, 18, init_replica, 2017-08-08" />
- <row data-node="replica_ds_8.t_order_item_3" values="180301, 1803, 18, init_replica, 2017-08-08" />
- <row data-node="replica_ds_8.t_order_item_4" values="180400, 1804, 18, init_replica, 2017-08-08" />
- <row data-node="replica_ds_8.t_order_item_4" values="180401, 1804, 18, init_replica, 2017-08-08" />
- <row data-node="replica_ds_8.t_order_item_5" values="180500, 1805, 18, init_replica, 2017-08-08" />
- <row data-node="replica_ds_8.t_order_item_5" values="180501, 1805, 18, init_replica, 2017-08-08" />
- <row data-node="replica_ds_8.t_order_item_6" values="180600, 1806, 18, init_replica, 2017-08-08" />
- <row data-node="replica_ds_8.t_order_item_6" values="180601, 1806, 18, init_replica, 2017-08-08" />
- <row data-node="replica_ds_8.t_order_item_7" values="180700, 1807, 18, init_replica, 2017-08-08" />
- <row data-node="replica_ds_8.t_order_item_7" values="180701, 1807, 18, init_replica, 2017-08-08" />
- <row data-node="replica_ds_8.t_order_item_8" values="180800, 1808, 18, init_replica, 2017-08-08" />
- <row data-node="replica_ds_8.t_order_item_8" values="180801, 1808, 18, init_replica, 2017-08-08" />
- <row data-node="replica_ds_8.t_order_item_9" values="180900, 1809, 18, init_replica, 2017-08-08" />
- <row data-node="replica_ds_8.t_order_item_9" values="180901, 1809, 18, init_replica, 2017-08-08" />
- <row data-node="replica_ds_9.t_order_item_0" values="190000, 1900, 19, init_replica, 2017-08-08" />
- <row data-node="replica_ds_9.t_order_item_0" values="190001, 1900, 19, init_replica, 2017-08-08" />
- <row data-node="replica_ds_9.t_order_item_1" values="190100, 1901, 19, init_replica, 2017-08-08" />
- <row data-node="replica_ds_9.t_order_item_1" values="190101, 1901, 19, init_replica, 2017-08-08" />
- <row data-node="replica_ds_9.t_order_item_2" values="190200, 1902, 19, init_replica, 2017-08-08" />
- <row data-node="replica_ds_9.t_order_item_2" values="190201, 1902, 19, init_replica, 2017-08-08" />
- <row data-node="replica_ds_9.t_order_item_3" values="190300, 1903, 19, init_replica, 2017-08-08" />
- <row data-node="replica_ds_9.t_order_item_3" values="190301, 1903, 19, init_replica, 2017-08-08" />
- <row data-node="replica_ds_9.t_order_item_4" values="190400, 1904, 19, init_replica, 2017-08-08" />
- <row data-node="replica_ds_9.t_order_item_4" values="190401, 1904, 19, init_replica, 2017-08-08" />
- <row data-node="replica_ds_9.t_order_item_5" values="190500, 1905, 19, init_replica, 2017-08-08" />
- <row data-node="replica_ds_9.t_order_item_5" values="190501, 1905, 19, init_replica, 2017-08-08" />
- <row data-node="replica_ds_9.t_order_item_6" values="190600, 1906, 19, init_replica, 2017-08-08" />
- <row data-node="replica_ds_9.t_order_item_6" values="190601, 1906, 19, init_replica, 2017-08-08" />
- <row data-node="replica_ds_9.t_order_item_7" values="190700, 1907, 19, init_replica, 2017-08-08" />
- <row data-node="replica_ds_9.t_order_item_7" values="190701, 1907, 19, init_replica, 2017-08-08" />
- <row data-node="replica_ds_9.t_order_item_8" values="190800, 1908, 19, init_replica, 2017-08-08" />
- <row data-node="replica_ds_9.t_order_item_8" values="190801, 1908, 19, init_replica, 2017-08-08" />
- <row data-node="replica_ds_9.t_order_item_9" values="190900, 1909, 19, init_replica, 2017-08-08" />
- <row data-node="replica_ds_9.t_order_item_9" values="190901, 1909, 19, init_replica, 2017-08-08" />
-</dataset>
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dml/dataset/dbtbl_with_replica_query/delete_with_alias.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dml/dataset/dbtbl_with_replica_query/delete_with_alias.xml
deleted file mode 100644
index 64925fc..0000000
--- a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dml/dataset/dbtbl_with_replica_query/delete_with_alias.xml
+++ /dev/null
@@ -1,124 +0,0 @@
-<!--
- ~ Licensed to the Apache Software Foundation (ASF) under one or more
- ~ contributor license agreements. See the NOTICE file distributed with
- ~ this work for additional information regarding copyright ownership.
- ~ The ASF licenses this file to You under the Apache License, Version 2.0
- ~ (the "License"); you may not use this file except in compliance with
- ~ the License. You may obtain a copy of the License at
- ~
- ~ http://www.apache.org/licenses/LICENSE-2.0
- ~
- ~ Unless required by applicable law or agreed to in writing, software
- ~ distributed under the License is distributed on an "AS IS" BASIS,
- ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- ~ See the License for the specific language governing permissions and
- ~ limitations under the License.
- -->
-
-<dataset update-count="100">
- <metadata data-nodes="primary_ds_${0..9}.t_order_${0..9},replica_ds_${0..9}.t_order_${0..9}">
- <column name="order_id" type="numeric" />
- <column name="user_id" type="numeric" />
- <column name="status" type="varchar" />
- </metadata>
- <row data-node="replica_ds_0.t_order_0" values="1000, 10, init_replica" />
- <row data-node="replica_ds_0.t_order_1" values="1001, 10, init_replica" />
- <row data-node="replica_ds_0.t_order_2" values="1002, 10, init_replica" />
- <row data-node="replica_ds_0.t_order_3" values="1003, 10, init_replica" />
- <row data-node="replica_ds_0.t_order_4" values="1004, 10, init_replica" />
- <row data-node="replica_ds_0.t_order_5" values="1005, 10, init_replica" />
- <row data-node="replica_ds_0.t_order_6" values="1006, 10, init_replica" />
- <row data-node="replica_ds_0.t_order_7" values="1007, 10, init_replica" />
- <row data-node="replica_ds_0.t_order_8" values="1008, 10, init_replica" />
- <row data-node="replica_ds_0.t_order_9" values="1009, 10, init_replica" />
- <row data-node="replica_ds_1.t_order_0" values="1100, 11, init_replica" />
- <row data-node="replica_ds_1.t_order_1" values="1101, 11, init_replica" />
- <row data-node="replica_ds_1.t_order_2" values="1102, 11, init_replica" />
- <row data-node="replica_ds_1.t_order_3" values="1103, 11, init_replica" />
- <row data-node="replica_ds_1.t_order_4" values="1104, 11, init_replica" />
- <row data-node="replica_ds_1.t_order_5" values="1105, 11, init_replica" />
- <row data-node="replica_ds_1.t_order_6" values="1106, 11, init_replica" />
- <row data-node="replica_ds_1.t_order_7" values="1107, 11, init_replica" />
- <row data-node="replica_ds_1.t_order_8" values="1108, 11, init_replica" />
- <row data-node="replica_ds_1.t_order_9" values="1109, 11, init_replica" />
- <row data-node="replica_ds_2.t_order_0" values="1200, 12, init_replica" />
- <row data-node="replica_ds_2.t_order_1" values="1201, 12, init_replica" />
- <row data-node="replica_ds_2.t_order_2" values="1202, 12, init_replica" />
- <row data-node="replica_ds_2.t_order_3" values="1203, 12, init_replica" />
- <row data-node="replica_ds_2.t_order_4" values="1204, 12, init_replica" />
- <row data-node="replica_ds_2.t_order_5" values="1205, 12, init_replica" />
- <row data-node="replica_ds_2.t_order_6" values="1206, 12, init_replica" />
- <row data-node="replica_ds_2.t_order_7" values="1207, 12, init_replica" />
- <row data-node="replica_ds_2.t_order_8" values="1208, 12, init_replica" />
- <row data-node="replica_ds_2.t_order_9" values="1209, 12, init_replica" />
- <row data-node="replica_ds_3.t_order_0" values="1300, 13, init_replica" />
- <row data-node="replica_ds_3.t_order_1" values="1301, 13, init_replica" />
- <row data-node="replica_ds_3.t_order_2" values="1302, 13, init_replica" />
- <row data-node="replica_ds_3.t_order_3" values="1303, 13, init_replica" />
- <row data-node="replica_ds_3.t_order_4" values="1304, 13, init_replica" />
- <row data-node="replica_ds_3.t_order_5" values="1305, 13, init_replica" />
- <row data-node="replica_ds_3.t_order_6" values="1306, 13, init_replica" />
- <row data-node="replica_ds_3.t_order_7" values="1307, 13, init_replica" />
- <row data-node="replica_ds_3.t_order_8" values="1308, 13, init_replica" />
- <row data-node="replica_ds_3.t_order_9" values="1309, 13, init_replica" />
- <row data-node="replica_ds_4.t_order_0" values="1400, 14, init_replica" />
- <row data-node="replica_ds_4.t_order_1" values="1401, 14, init_replica" />
- <row data-node="replica_ds_4.t_order_2" values="1402, 14, init_replica" />
- <row data-node="replica_ds_4.t_order_3" values="1403, 14, init_replica" />
- <row data-node="replica_ds_4.t_order_4" values="1404, 14, init_replica" />
- <row data-node="replica_ds_4.t_order_5" values="1405, 14, init_replica" />
- <row data-node="replica_ds_4.t_order_6" values="1406, 14, init_replica" />
- <row data-node="replica_ds_4.t_order_7" values="1407, 14, init_replica" />
- <row data-node="replica_ds_4.t_order_8" values="1408, 14, init_replica" />
- <row data-node="replica_ds_4.t_order_9" values="1409, 14, init_replica" />
- <row data-node="replica_ds_5.t_order_0" values="1500, 15, init_replica" />
- <row data-node="replica_ds_5.t_order_1" values="1501, 15, init_replica" />
- <row data-node="replica_ds_5.t_order_2" values="1502, 15, init_replica" />
- <row data-node="replica_ds_5.t_order_3" values="1503, 15, init_replica" />
- <row data-node="replica_ds_5.t_order_4" values="1504, 15, init_replica" />
- <row data-node="replica_ds_5.t_order_5" values="1505, 15, init_replica" />
- <row data-node="replica_ds_5.t_order_6" values="1506, 15, init_replica" />
- <row data-node="replica_ds_5.t_order_7" values="1507, 15, init_replica" />
- <row data-node="replica_ds_5.t_order_8" values="1508, 15, init_replica" />
- <row data-node="replica_ds_5.t_order_9" values="1509, 15, init_replica" />
- <row data-node="replica_ds_6.t_order_0" values="1600, 16, init_replica" />
- <row data-node="replica_ds_6.t_order_1" values="1601, 16, init_replica" />
- <row data-node="replica_ds_6.t_order_2" values="1602, 16, init_replica" />
- <row data-node="replica_ds_6.t_order_3" values="1603, 16, init_replica" />
- <row data-node="replica_ds_6.t_order_4" values="1604, 16, init_replica" />
- <row data-node="replica_ds_6.t_order_5" values="1605, 16, init_replica" />
- <row data-node="replica_ds_6.t_order_6" values="1606, 16, init_replica" />
- <row data-node="replica_ds_6.t_order_7" values="1607, 16, init_replica" />
- <row data-node="replica_ds_6.t_order_8" values="1608, 16, init_replica" />
- <row data-node="replica_ds_6.t_order_9" values="1609, 16, init_replica" />
- <row data-node="replica_ds_7.t_order_0" values="1700, 17, init_replica" />
- <row data-node="replica_ds_7.t_order_1" values="1701, 17, init_replica" />
- <row data-node="replica_ds_7.t_order_2" values="1702, 17, init_replica" />
- <row data-node="replica_ds_7.t_order_3" values="1703, 17, init_replica" />
- <row data-node="replica_ds_7.t_order_4" values="1704, 17, init_replica" />
- <row data-node="replica_ds_7.t_order_5" values="1705, 17, init_replica" />
- <row data-node="replica_ds_7.t_order_6" values="1706, 17, init_replica" />
- <row data-node="replica_ds_7.t_order_7" values="1707, 17, init_replica" />
- <row data-node="replica_ds_7.t_order_8" values="1708, 17, init_replica" />
- <row data-node="replica_ds_7.t_order_9" values="1709, 17, init_replica" />
- <row data-node="replica_ds_8.t_order_0" values="1800, 18, init_replica" />
- <row data-node="replica_ds_8.t_order_1" values="1801, 18, init_replica" />
- <row data-node="replica_ds_8.t_order_2" values="1802, 18, init_replica" />
- <row data-node="replica_ds_8.t_order_3" values="1803, 18, init_replica" />
- <row data-node="replica_ds_8.t_order_4" values="1804, 18, init_replica" />
- <row data-node="replica_ds_8.t_order_5" values="1805, 18, init_replica" />
- <row data-node="replica_ds_8.t_order_6" values="1806, 18, init_replica" />
- <row data-node="replica_ds_8.t_order_7" values="1807, 18, init_replica" />
- <row data-node="replica_ds_8.t_order_8" values="1808, 18, init_replica" />
- <row data-node="replica_ds_8.t_order_9" values="1809, 18, init_replica" />
- <row data-node="replica_ds_9.t_order_0" values="1900, 19, init_replica" />
- <row data-node="replica_ds_9.t_order_1" values="1901, 19, init_replica" />
- <row data-node="replica_ds_9.t_order_2" values="1902, 19, init_replica" />
- <row data-node="replica_ds_9.t_order_3" values="1903, 19, init_replica" />
- <row data-node="replica_ds_9.t_order_4" values="1904, 19, init_replica" />
- <row data-node="replica_ds_9.t_order_5" values="1905, 19, init_replica" />
- <row data-node="replica_ds_9.t_order_6" values="1906, 19, init_replica" />
- <row data-node="replica_ds_9.t_order_7" values="1907, 19, init_replica" />
- <row data-node="replica_ds_9.t_order_8" values="1908, 19, init_replica" />
- <row data-node="replica_ds_9.t_order_9" values="1909, 19, init_replica" />
-</dataset>
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dml/dataset/dbtbl_with_replica_query/delete_with_sharding_value.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dml/dataset/dbtbl_with_replica_query/delete_with_sharding_value.xml
deleted file mode 100644
index ff2b220..0000000
--- a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dml/dataset/dbtbl_with_replica_query/delete_with_sharding_value.xml
+++ /dev/null
@@ -1,223 +0,0 @@
-<!--
- ~ Licensed to the Apache Software Foundation (ASF) under one or more
- ~ contributor license agreements. See the NOTICE file distributed with
- ~ this work for additional information regarding copyright ownership.
- ~ The ASF licenses this file to You under the Apache License, Version 2.0
- ~ (the "License"); you may not use this file except in compliance with
- ~ the License. You may obtain a copy of the License at
- ~
- ~ http://www.apache.org/licenses/LICENSE-2.0
- ~
- ~ Unless required by applicable law or agreed to in writing, software
- ~ distributed under the License is distributed on an "AS IS" BASIS,
- ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- ~ See the License for the specific language governing permissions and
- ~ limitations under the License.
- -->
-
-<dataset update-count="1">
- <metadata data-nodes="primary_ds_${0..9}.t_order_${0..9},replica_ds_${0..9}.t_order_${0..9}">
- <column name="order_id" type="numeric" />
- <column name="user_id" type="numeric" />
- <column name="status" type="varchar" />
- </metadata>
- <row data-node="primary_ds_0.t_order_1" values="1001, 10, init" />
- <row data-node="primary_ds_0.t_order_2" values="1002, 10, init" />
- <row data-node="primary_ds_0.t_order_3" values="1003, 10, init" />
- <row data-node="primary_ds_0.t_order_4" values="1004, 10, init" />
- <row data-node="primary_ds_0.t_order_5" values="1005, 10, init" />
- <row data-node="primary_ds_0.t_order_6" values="1006, 10, init" />
- <row data-node="primary_ds_0.t_order_7" values="1007, 10, init" />
- <row data-node="primary_ds_0.t_order_8" values="1008, 10, init" />
- <row data-node="primary_ds_0.t_order_9" values="1009, 10, init" />
- <row data-node="primary_ds_1.t_order_0" values="1100, 11, init" />
- <row data-node="primary_ds_1.t_order_1" values="1101, 11, init" />
- <row data-node="primary_ds_1.t_order_2" values="1102, 11, init" />
- <row data-node="primary_ds_1.t_order_3" values="1103, 11, init" />
- <row data-node="primary_ds_1.t_order_4" values="1104, 11, init" />
- <row data-node="primary_ds_1.t_order_5" values="1105, 11, init" />
- <row data-node="primary_ds_1.t_order_6" values="1106, 11, init" />
- <row data-node="primary_ds_1.t_order_7" values="1107, 11, init" />
- <row data-node="primary_ds_1.t_order_8" values="1108, 11, init" />
- <row data-node="primary_ds_1.t_order_9" values="1109, 11, init" />
- <row data-node="primary_ds_2.t_order_0" values="1200, 12, init" />
- <row data-node="primary_ds_2.t_order_1" values="1201, 12, init" />
- <row data-node="primary_ds_2.t_order_2" values="1202, 12, init" />
- <row data-node="primary_ds_2.t_order_3" values="1203, 12, init" />
- <row data-node="primary_ds_2.t_order_4" values="1204, 12, init" />
- <row data-node="primary_ds_2.t_order_5" values="1205, 12, init" />
- <row data-node="primary_ds_2.t_order_6" values="1206, 12, init" />
- <row data-node="primary_ds_2.t_order_7" values="1207, 12, init" />
- <row data-node="primary_ds_2.t_order_8" values="1208, 12, init" />
- <row data-node="primary_ds_2.t_order_9" values="1209, 12, init" />
- <row data-node="primary_ds_3.t_order_0" values="1300, 13, init" />
- <row data-node="primary_ds_3.t_order_1" values="1301, 13, init" />
- <row data-node="primary_ds_3.t_order_2" values="1302, 13, init" />
- <row data-node="primary_ds_3.t_order_3" values="1303, 13, init" />
- <row data-node="primary_ds_3.t_order_4" values="1304, 13, init" />
- <row data-node="primary_ds_3.t_order_5" values="1305, 13, init" />
- <row data-node="primary_ds_3.t_order_6" values="1306, 13, init" />
- <row data-node="primary_ds_3.t_order_7" values="1307, 13, init" />
- <row data-node="primary_ds_3.t_order_8" values="1308, 13, init" />
- <row data-node="primary_ds_3.t_order_9" values="1309, 13, init" />
- <row data-node="primary_ds_4.t_order_0" values="1400, 14, init" />
- <row data-node="primary_ds_4.t_order_1" values="1401, 14, init" />
- <row data-node="primary_ds_4.t_order_2" values="1402, 14, init" />
- <row data-node="primary_ds_4.t_order_3" values="1403, 14, init" />
- <row data-node="primary_ds_4.t_order_4" values="1404, 14, init" />
- <row data-node="primary_ds_4.t_order_5" values="1405, 14, init" />
- <row data-node="primary_ds_4.t_order_6" values="1406, 14, init" />
- <row data-node="primary_ds_4.t_order_7" values="1407, 14, init" />
- <row data-node="primary_ds_4.t_order_8" values="1408, 14, init" />
- <row data-node="primary_ds_4.t_order_9" values="1409, 14, init" />
- <row data-node="primary_ds_5.t_order_0" values="1500, 15, init" />
- <row data-node="primary_ds_5.t_order_1" values="1501, 15, init" />
- <row data-node="primary_ds_5.t_order_2" values="1502, 15, init" />
- <row data-node="primary_ds_5.t_order_3" values="1503, 15, init" />
- <row data-node="primary_ds_5.t_order_4" values="1504, 15, init" />
- <row data-node="primary_ds_5.t_order_5" values="1505, 15, init" />
- <row data-node="primary_ds_5.t_order_6" values="1506, 15, init" />
- <row data-node="primary_ds_5.t_order_7" values="1507, 15, init" />
- <row data-node="primary_ds_5.t_order_8" values="1508, 15, init" />
- <row data-node="primary_ds_5.t_order_9" values="1509, 15, init" />
- <row data-node="primary_ds_6.t_order_0" values="1600, 16, init" />
- <row data-node="primary_ds_6.t_order_1" values="1601, 16, init" />
- <row data-node="primary_ds_6.t_order_2" values="1602, 16, init" />
- <row data-node="primary_ds_6.t_order_3" values="1603, 16, init" />
- <row data-node="primary_ds_6.t_order_4" values="1604, 16, init" />
- <row data-node="primary_ds_6.t_order_5" values="1605, 16, init" />
- <row data-node="primary_ds_6.t_order_6" values="1606, 16, init" />
- <row data-node="primary_ds_6.t_order_7" values="1607, 16, init" />
- <row data-node="primary_ds_6.t_order_8" values="1608, 16, init" />
- <row data-node="primary_ds_6.t_order_9" values="1609, 16, init" />
- <row data-node="primary_ds_7.t_order_0" values="1700, 17, init" />
- <row data-node="primary_ds_7.t_order_1" values="1701, 17, init" />
- <row data-node="primary_ds_7.t_order_2" values="1702, 17, init" />
- <row data-node="primary_ds_7.t_order_3" values="1703, 17, init" />
- <row data-node="primary_ds_7.t_order_4" values="1704, 17, init" />
- <row data-node="primary_ds_7.t_order_5" values="1705, 17, init" />
- <row data-node="primary_ds_7.t_order_6" values="1706, 17, init" />
- <row data-node="primary_ds_7.t_order_7" values="1707, 17, init" />
- <row data-node="primary_ds_7.t_order_8" values="1708, 17, init" />
- <row data-node="primary_ds_7.t_order_9" values="1709, 17, init" />
- <row data-node="primary_ds_8.t_order_0" values="1800, 18, init" />
- <row data-node="primary_ds_8.t_order_1" values="1801, 18, init" />
- <row data-node="primary_ds_8.t_order_2" values="1802, 18, init" />
- <row data-node="primary_ds_8.t_order_3" values="1803, 18, init" />
- <row data-node="primary_ds_8.t_order_4" values="1804, 18, init" />
- <row data-node="primary_ds_8.t_order_5" values="1805, 18, init" />
- <row data-node="primary_ds_8.t_order_6" values="1806, 18, init" />
- <row data-node="primary_ds_8.t_order_7" values="1807, 18, init" />
- <row data-node="primary_ds_8.t_order_8" values="1808, 18, init" />
- <row data-node="primary_ds_8.t_order_9" values="1809, 18, init" />
- <row data-node="primary_ds_9.t_order_0" values="1900, 19, init" />
- <row data-node="primary_ds_9.t_order_1" values="1901, 19, init" />
- <row data-node="primary_ds_9.t_order_2" values="1902, 19, init" />
- <row data-node="primary_ds_9.t_order_3" values="1903, 19, init" />
- <row data-node="primary_ds_9.t_order_4" values="1904, 19, init" />
- <row data-node="primary_ds_9.t_order_5" values="1905, 19, init" />
- <row data-node="primary_ds_9.t_order_6" values="1906, 19, init" />
- <row data-node="primary_ds_9.t_order_7" values="1907, 19, init" />
- <row data-node="primary_ds_9.t_order_8" values="1908, 19, init" />
- <row data-node="primary_ds_9.t_order_9" values="1909, 19, init" />
- <row data-node="replica_ds_0.t_order_0" values="1000, 10, init_replica" />
- <row data-node="replica_ds_0.t_order_1" values="1001, 10, init_replica" />
- <row data-node="replica_ds_0.t_order_2" values="1002, 10, init_replica" />
- <row data-node="replica_ds_0.t_order_3" values="1003, 10, init_replica" />
- <row data-node="replica_ds_0.t_order_4" values="1004, 10, init_replica" />
- <row data-node="replica_ds_0.t_order_5" values="1005, 10, init_replica" />
- <row data-node="replica_ds_0.t_order_6" values="1006, 10, init_replica" />
- <row data-node="replica_ds_0.t_order_7" values="1007, 10, init_replica" />
- <row data-node="replica_ds_0.t_order_8" values="1008, 10, init_replica" />
- <row data-node="replica_ds_0.t_order_9" values="1009, 10, init_replica" />
- <row data-node="replica_ds_1.t_order_0" values="1100, 11, init_replica" />
- <row data-node="replica_ds_1.t_order_1" values="1101, 11, init_replica" />
- <row data-node="replica_ds_1.t_order_2" values="1102, 11, init_replica" />
- <row data-node="replica_ds_1.t_order_3" values="1103, 11, init_replica" />
- <row data-node="replica_ds_1.t_order_4" values="1104, 11, init_replica" />
- <row data-node="replica_ds_1.t_order_5" values="1105, 11, init_replica" />
- <row data-node="replica_ds_1.t_order_6" values="1106, 11, init_replica" />
- <row data-node="replica_ds_1.t_order_7" values="1107, 11, init_replica" />
- <row data-node="replica_ds_1.t_order_8" values="1108, 11, init_replica" />
- <row data-node="replica_ds_1.t_order_9" values="1109, 11, init_replica" />
- <row data-node="replica_ds_2.t_order_0" values="1200, 12, init_replica" />
- <row data-node="replica_ds_2.t_order_1" values="1201, 12, init_replica" />
- <row data-node="replica_ds_2.t_order_2" values="1202, 12, init_replica" />
- <row data-node="replica_ds_2.t_order_3" values="1203, 12, init_replica" />
- <row data-node="replica_ds_2.t_order_4" values="1204, 12, init_replica" />
- <row data-node="replica_ds_2.t_order_5" values="1205, 12, init_replica" />
- <row data-node="replica_ds_2.t_order_6" values="1206, 12, init_replica" />
- <row data-node="replica_ds_2.t_order_7" values="1207, 12, init_replica" />
- <row data-node="replica_ds_2.t_order_8" values="1208, 12, init_replica" />
- <row data-node="replica_ds_2.t_order_9" values="1209, 12, init_replica" />
- <row data-node="replica_ds_3.t_order_0" values="1300, 13, init_replica" />
- <row data-node="replica_ds_3.t_order_1" values="1301, 13, init_replica" />
- <row data-node="replica_ds_3.t_order_2" values="1302, 13, init_replica" />
- <row data-node="replica_ds_3.t_order_3" values="1303, 13, init_replica" />
- <row data-node="replica_ds_3.t_order_4" values="1304, 13, init_replica" />
- <row data-node="replica_ds_3.t_order_5" values="1305, 13, init_replica" />
- <row data-node="replica_ds_3.t_order_6" values="1306, 13, init_replica" />
- <row data-node="replica_ds_3.t_order_7" values="1307, 13, init_replica" />
- <row data-node="replica_ds_3.t_order_8" values="1308, 13, init_replica" />
- <row data-node="replica_ds_3.t_order_9" values="1309, 13, init_replica" />
- <row data-node="replica_ds_4.t_order_0" values="1400, 14, init_replica" />
- <row data-node="replica_ds_4.t_order_1" values="1401, 14, init_replica" />
- <row data-node="replica_ds_4.t_order_2" values="1402, 14, init_replica" />
- <row data-node="replica_ds_4.t_order_3" values="1403, 14, init_replica" />
- <row data-node="replica_ds_4.t_order_4" values="1404, 14, init_replica" />
- <row data-node="replica_ds_4.t_order_5" values="1405, 14, init_replica" />
- <row data-node="replica_ds_4.t_order_6" values="1406, 14, init_replica" />
- <row data-node="replica_ds_4.t_order_7" values="1407, 14, init_replica" />
- <row data-node="replica_ds_4.t_order_8" values="1408, 14, init_replica" />
- <row data-node="replica_ds_4.t_order_9" values="1409, 14, init_replica" />
- <row data-node="replica_ds_5.t_order_0" values="1500, 15, init_replica" />
- <row data-node="replica_ds_5.t_order_1" values="1501, 15, init_replica" />
- <row data-node="replica_ds_5.t_order_2" values="1502, 15, init_replica" />
- <row data-node="replica_ds_5.t_order_3" values="1503, 15, init_replica" />
- <row data-node="replica_ds_5.t_order_4" values="1504, 15, init_replica" />
- <row data-node="replica_ds_5.t_order_5" values="1505, 15, init_replica" />
- <row data-node="replica_ds_5.t_order_6" values="1506, 15, init_replica" />
- <row data-node="replica_ds_5.t_order_7" values="1507, 15, init_replica" />
- <row data-node="replica_ds_5.t_order_8" values="1508, 15, init_replica" />
- <row data-node="replica_ds_5.t_order_9" values="1509, 15, init_replica" />
- <row data-node="replica_ds_6.t_order_0" values="1600, 16, init_replica" />
- <row data-node="replica_ds_6.t_order_1" values="1601, 16, init_replica" />
- <row data-node="replica_ds_6.t_order_2" values="1602, 16, init_replica" />
- <row data-node="replica_ds_6.t_order_3" values="1603, 16, init_replica" />
- <row data-node="replica_ds_6.t_order_4" values="1604, 16, init_replica" />
- <row data-node="replica_ds_6.t_order_5" values="1605, 16, init_replica" />
- <row data-node="replica_ds_6.t_order_6" values="1606, 16, init_replica" />
- <row data-node="replica_ds_6.t_order_7" values="1607, 16, init_replica" />
- <row data-node="replica_ds_6.t_order_8" values="1608, 16, init_replica" />
- <row data-node="replica_ds_6.t_order_9" values="1609, 16, init_replica" />
- <row data-node="replica_ds_7.t_order_0" values="1700, 17, init_replica" />
- <row data-node="replica_ds_7.t_order_1" values="1701, 17, init_replica" />
- <row data-node="replica_ds_7.t_order_2" values="1702, 17, init_replica" />
- <row data-node="replica_ds_7.t_order_3" values="1703, 17, init_replica" />
- <row data-node="replica_ds_7.t_order_4" values="1704, 17, init_replica" />
- <row data-node="replica_ds_7.t_order_5" values="1705, 17, init_replica" />
- <row data-node="replica_ds_7.t_order_6" values="1706, 17, init_replica" />
- <row data-node="replica_ds_7.t_order_7" values="1707, 17, init_replica" />
- <row data-node="replica_ds_7.t_order_8" values="1708, 17, init_replica" />
- <row data-node="replica_ds_7.t_order_9" values="1709, 17, init_replica" />
- <row data-node="replica_ds_8.t_order_0" values="1800, 18, init_replica" />
- <row data-node="replica_ds_8.t_order_1" values="1801, 18, init_replica" />
- <row data-node="replica_ds_8.t_order_2" values="1802, 18, init_replica" />
- <row data-node="replica_ds_8.t_order_3" values="1803, 18, init_replica" />
- <row data-node="replica_ds_8.t_order_4" values="1804, 18, init_replica" />
- <row data-node="replica_ds_8.t_order_5" values="1805, 18, init_replica" />
- <row data-node="replica_ds_8.t_order_6" values="1806, 18, init_replica" />
- <row data-node="replica_ds_8.t_order_7" values="1807, 18, init_replica" />
- <row data-node="replica_ds_8.t_order_8" values="1808, 18, init_replica" />
- <row data-node="replica_ds_8.t_order_9" values="1809, 18, init_replica" />
- <row data-node="replica_ds_9.t_order_0" values="1900, 19, init_replica" />
- <row data-node="replica_ds_9.t_order_1" values="1901, 19, init_replica" />
- <row data-node="replica_ds_9.t_order_2" values="1902, 19, init_replica" />
- <row data-node="replica_ds_9.t_order_3" values="1903, 19, init_replica" />
- <row data-node="replica_ds_9.t_order_4" values="1904, 19, init_replica" />
- <row data-node="replica_ds_9.t_order_5" values="1905, 19, init_replica" />
- <row data-node="replica_ds_9.t_order_6" values="1906, 19, init_replica" />
- <row data-node="replica_ds_9.t_order_7" values="1907, 19, init_replica" />
- <row data-node="replica_ds_9.t_order_8" values="1908, 19, init_replica" />
- <row data-node="replica_ds_9.t_order_9" values="1909, 19, init_replica" />
-</dataset>
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dml/dataset/dbtbl_with_replica_query/insert_for_order_1.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dml/dataset/dbtbl_with_replica_query/insert_for_order_1.xml
deleted file mode 100644
index 5ac36dc..0000000
--- a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dml/dataset/dbtbl_with_replica_query/insert_for_order_1.xml
+++ /dev/null
@@ -1,225 +0,0 @@
-<!--
- ~ Licensed to the Apache Software Foundation (ASF) under one or more
- ~ contributor license agreements. See the NOTICE file distributed with
- ~ this work for additional information regarding copyright ownership.
- ~ The ASF licenses this file to You under the Apache License, Version 2.0
- ~ (the "License"); you may not use this file except in compliance with
- ~ the License. You may obtain a copy of the License at
- ~
- ~ http://www.apache.org/licenses/LICENSE-2.0
- ~
- ~ Unless required by applicable law or agreed to in writing, software
- ~ distributed under the License is distributed on an "AS IS" BASIS,
- ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- ~ See the License for the specific language governing permissions and
- ~ limitations under the License.
- -->
-
-<dataset update-count="1">
- <metadata data-nodes="primary_ds_${0..9}.t_order_${0..9},replica_ds_${0..9}.t_order_${0..9}">
- <column name="order_id" type="numeric" />
- <column name="user_id" type="numeric" />
- <column name="status" type="varchar" />
- </metadata>
- <row data-node="primary_ds_0.t_order_0" values="1000, 10, init" />
- <row data-node="primary_ds_0.t_order_1" values="1001, 10, init" />
- <row data-node="primary_ds_0.t_order_2" values="1002, 10, init" />
- <row data-node="primary_ds_0.t_order_3" values="1003, 10, init" />
- <row data-node="primary_ds_0.t_order_4" values="1004, 10, init" />
- <row data-node="primary_ds_0.t_order_5" values="1005, 10, init" />
- <row data-node="primary_ds_0.t_order_6" values="1006, 10, init" />
- <row data-node="primary_ds_0.t_order_7" values="1007, 10, init" />
- <row data-node="primary_ds_0.t_order_8" values="1008, 10, init" />
- <row data-node="primary_ds_0.t_order_9" values="1009, 10, init" />
- <row data-node="primary_ds_1.t_order_1" values="1, 1, insert" />
- <row data-node="primary_ds_1.t_order_0" values="1100, 11, init" />
- <row data-node="primary_ds_1.t_order_1" values="1101, 11, init" />
- <row data-node="primary_ds_1.t_order_2" values="1102, 11, init" />
- <row data-node="primary_ds_1.t_order_3" values="1103, 11, init" />
- <row data-node="primary_ds_1.t_order_4" values="1104, 11, init" />
- <row data-node="primary_ds_1.t_order_5" values="1105, 11, init" />
- <row data-node="primary_ds_1.t_order_6" values="1106, 11, init" />
- <row data-node="primary_ds_1.t_order_7" values="1107, 11, init" />
- <row data-node="primary_ds_1.t_order_8" values="1108, 11, init" />
- <row data-node="primary_ds_1.t_order_9" values="1109, 11, init" />
- <row data-node="primary_ds_2.t_order_0" values="1200, 12, init" />
- <row data-node="primary_ds_2.t_order_1" values="1201, 12, init" />
- <row data-node="primary_ds_2.t_order_2" values="1202, 12, init" />
- <row data-node="primary_ds_2.t_order_3" values="1203, 12, init" />
- <row data-node="primary_ds_2.t_order_4" values="1204, 12, init" />
- <row data-node="primary_ds_2.t_order_5" values="1205, 12, init" />
- <row data-node="primary_ds_2.t_order_6" values="1206, 12, init" />
- <row data-node="primary_ds_2.t_order_7" values="1207, 12, init" />
- <row data-node="primary_ds_2.t_order_8" values="1208, 12, init" />
- <row data-node="primary_ds_2.t_order_9" values="1209, 12, init" />
- <row data-node="primary_ds_3.t_order_0" values="1300, 13, init" />
- <row data-node="primary_ds_3.t_order_1" values="1301, 13, init" />
- <row data-node="primary_ds_3.t_order_2" values="1302, 13, init" />
- <row data-node="primary_ds_3.t_order_3" values="1303, 13, init" />
- <row data-node="primary_ds_3.t_order_4" values="1304, 13, init" />
- <row data-node="primary_ds_3.t_order_5" values="1305, 13, init" />
- <row data-node="primary_ds_3.t_order_6" values="1306, 13, init" />
- <row data-node="primary_ds_3.t_order_7" values="1307, 13, init" />
- <row data-node="primary_ds_3.t_order_8" values="1308, 13, init" />
- <row data-node="primary_ds_3.t_order_9" values="1309, 13, init" />
- <row data-node="primary_ds_4.t_order_0" values="1400, 14, init" />
- <row data-node="primary_ds_4.t_order_1" values="1401, 14, init" />
- <row data-node="primary_ds_4.t_order_2" values="1402, 14, init" />
- <row data-node="primary_ds_4.t_order_3" values="1403, 14, init" />
- <row data-node="primary_ds_4.t_order_4" values="1404, 14, init" />
- <row data-node="primary_ds_4.t_order_5" values="1405, 14, init" />
- <row data-node="primary_ds_4.t_order_6" values="1406, 14, init" />
- <row data-node="primary_ds_4.t_order_7" values="1407, 14, init" />
- <row data-node="primary_ds_4.t_order_8" values="1408, 14, init" />
- <row data-node="primary_ds_4.t_order_9" values="1409, 14, init" />
- <row data-node="primary_ds_5.t_order_0" values="1500, 15, init" />
- <row data-node="primary_ds_5.t_order_1" values="1501, 15, init" />
- <row data-node="primary_ds_5.t_order_2" values="1502, 15, init" />
- <row data-node="primary_ds_5.t_order_3" values="1503, 15, init" />
- <row data-node="primary_ds_5.t_order_4" values="1504, 15, init" />
- <row data-node="primary_ds_5.t_order_5" values="1505, 15, init" />
- <row data-node="primary_ds_5.t_order_6" values="1506, 15, init" />
- <row data-node="primary_ds_5.t_order_7" values="1507, 15, init" />
- <row data-node="primary_ds_5.t_order_8" values="1508, 15, init" />
- <row data-node="primary_ds_5.t_order_9" values="1509, 15, init" />
- <row data-node="primary_ds_6.t_order_0" values="1600, 16, init" />
- <row data-node="primary_ds_6.t_order_1" values="1601, 16, init" />
- <row data-node="primary_ds_6.t_order_2" values="1602, 16, init" />
- <row data-node="primary_ds_6.t_order_3" values="1603, 16, init" />
- <row data-node="primary_ds_6.t_order_4" values="1604, 16, init" />
- <row data-node="primary_ds_6.t_order_5" values="1605, 16, init" />
- <row data-node="primary_ds_6.t_order_6" values="1606, 16, init" />
- <row data-node="primary_ds_6.t_order_7" values="1607, 16, init" />
- <row data-node="primary_ds_6.t_order_8" values="1608, 16, init" />
- <row data-node="primary_ds_6.t_order_9" values="1609, 16, init" />
- <row data-node="primary_ds_7.t_order_0" values="1700, 17, init" />
- <row data-node="primary_ds_7.t_order_1" values="1701, 17, init" />
- <row data-node="primary_ds_7.t_order_2" values="1702, 17, init" />
- <row data-node="primary_ds_7.t_order_3" values="1703, 17, init" />
- <row data-node="primary_ds_7.t_order_4" values="1704, 17, init" />
- <row data-node="primary_ds_7.t_order_5" values="1705, 17, init" />
- <row data-node="primary_ds_7.t_order_6" values="1706, 17, init" />
- <row data-node="primary_ds_7.t_order_7" values="1707, 17, init" />
- <row data-node="primary_ds_7.t_order_8" values="1708, 17, init" />
- <row data-node="primary_ds_7.t_order_9" values="1709, 17, init" />
- <row data-node="primary_ds_8.t_order_0" values="1800, 18, init" />
- <row data-node="primary_ds_8.t_order_1" values="1801, 18, init" />
- <row data-node="primary_ds_8.t_order_2" values="1802, 18, init" />
- <row data-node="primary_ds_8.t_order_3" values="1803, 18, init" />
- <row data-node="primary_ds_8.t_order_4" values="1804, 18, init" />
- <row data-node="primary_ds_8.t_order_5" values="1805, 18, init" />
- <row data-node="primary_ds_8.t_order_6" values="1806, 18, init" />
- <row data-node="primary_ds_8.t_order_7" values="1807, 18, init" />
- <row data-node="primary_ds_8.t_order_8" values="1808, 18, init" />
- <row data-node="primary_ds_8.t_order_9" values="1809, 18, init" />
- <row data-node="primary_ds_9.t_order_0" values="1900, 19, init" />
- <row data-node="primary_ds_9.t_order_1" values="1901, 19, init" />
- <row data-node="primary_ds_9.t_order_2" values="1902, 19, init" />
- <row data-node="primary_ds_9.t_order_3" values="1903, 19, init" />
- <row data-node="primary_ds_9.t_order_4" values="1904, 19, init" />
- <row data-node="primary_ds_9.t_order_5" values="1905, 19, init" />
- <row data-node="primary_ds_9.t_order_6" values="1906, 19, init" />
- <row data-node="primary_ds_9.t_order_7" values="1907, 19, init" />
- <row data-node="primary_ds_9.t_order_8" values="1908, 19, init" />
- <row data-node="primary_ds_9.t_order_9" values="1909, 19, init" />
- <row data-node="replica_ds_0.t_order_0" values="1000, 10, init_replica" />
- <row data-node="replica_ds_0.t_order_1" values="1001, 10, init_replica" />
- <row data-node="replica_ds_0.t_order_2" values="1002, 10, init_replica" />
- <row data-node="replica_ds_0.t_order_3" values="1003, 10, init_replica" />
- <row data-node="replica_ds_0.t_order_4" values="1004, 10, init_replica" />
- <row data-node="replica_ds_0.t_order_5" values="1005, 10, init_replica" />
- <row data-node="replica_ds_0.t_order_6" values="1006, 10, init_replica" />
- <row data-node="replica_ds_0.t_order_7" values="1007, 10, init_replica" />
- <row data-node="replica_ds_0.t_order_8" values="1008, 10, init_replica" />
- <row data-node="replica_ds_0.t_order_9" values="1009, 10, init_replica" />
- <row data-node="replica_ds_1.t_order_0" values="1100, 11, init_replica" />
- <row data-node="replica_ds_1.t_order_1" values="1101, 11, init_replica" />
- <row data-node="replica_ds_1.t_order_2" values="1102, 11, init_replica" />
- <row data-node="replica_ds_1.t_order_3" values="1103, 11, init_replica" />
- <row data-node="replica_ds_1.t_order_4" values="1104, 11, init_replica" />
- <row data-node="replica_ds_1.t_order_5" values="1105, 11, init_replica" />
- <row data-node="replica_ds_1.t_order_6" values="1106, 11, init_replica" />
- <row data-node="replica_ds_1.t_order_7" values="1107, 11, init_replica" />
- <row data-node="replica_ds_1.t_order_8" values="1108, 11, init_replica" />
- <row data-node="replica_ds_1.t_order_9" values="1109, 11, init_replica" />
- <row data-node="replica_ds_2.t_order_0" values="1200, 12, init_replica" />
- <row data-node="replica_ds_2.t_order_1" values="1201, 12, init_replica" />
- <row data-node="replica_ds_2.t_order_2" values="1202, 12, init_replica" />
- <row data-node="replica_ds_2.t_order_3" values="1203, 12, init_replica" />
- <row data-node="replica_ds_2.t_order_4" values="1204, 12, init_replica" />
- <row data-node="replica_ds_2.t_order_5" values="1205, 12, init_replica" />
- <row data-node="replica_ds_2.t_order_6" values="1206, 12, init_replica" />
- <row data-node="replica_ds_2.t_order_7" values="1207, 12, init_replica" />
- <row data-node="replica_ds_2.t_order_8" values="1208, 12, init_replica" />
- <row data-node="replica_ds_2.t_order_9" values="1209, 12, init_replica" />
- <row data-node="replica_ds_3.t_order_0" values="1300, 13, init_replica" />
- <row data-node="replica_ds_3.t_order_1" values="1301, 13, init_replica" />
- <row data-node="replica_ds_3.t_order_2" values="1302, 13, init_replica" />
- <row data-node="replica_ds_3.t_order_3" values="1303, 13, init_replica" />
- <row data-node="replica_ds_3.t_order_4" values="1304, 13, init_replica" />
- <row data-node="replica_ds_3.t_order_5" values="1305, 13, init_replica" />
- <row data-node="replica_ds_3.t_order_6" values="1306, 13, init_replica" />
- <row data-node="replica_ds_3.t_order_7" values="1307, 13, init_replica" />
- <row data-node="replica_ds_3.t_order_8" values="1308, 13, init_replica" />
- <row data-node="replica_ds_3.t_order_9" values="1309, 13, init_replica" />
- <row data-node="replica_ds_4.t_order_0" values="1400, 14, init_replica" />
- <row data-node="replica_ds_4.t_order_1" values="1401, 14, init_replica" />
- <row data-node="replica_ds_4.t_order_2" values="1402, 14, init_replica" />
- <row data-node="replica_ds_4.t_order_3" values="1403, 14, init_replica" />
- <row data-node="replica_ds_4.t_order_4" values="1404, 14, init_replica" />
- <row data-node="replica_ds_4.t_order_5" values="1405, 14, init_replica" />
- <row data-node="replica_ds_4.t_order_6" values="1406, 14, init_replica" />
- <row data-node="replica_ds_4.t_order_7" values="1407, 14, init_replica" />
- <row data-node="replica_ds_4.t_order_8" values="1408, 14, init_replica" />
- <row data-node="replica_ds_4.t_order_9" values="1409, 14, init_replica" />
- <row data-node="replica_ds_5.t_order_0" values="1500, 15, init_replica" />
- <row data-node="replica_ds_5.t_order_1" values="1501, 15, init_replica" />
- <row data-node="replica_ds_5.t_order_2" values="1502, 15, init_replica" />
- <row data-node="replica_ds_5.t_order_3" values="1503, 15, init_replica" />
- <row data-node="replica_ds_5.t_order_4" values="1504, 15, init_replica" />
- <row data-node="replica_ds_5.t_order_5" values="1505, 15, init_replica" />
- <row data-node="replica_ds_5.t_order_6" values="1506, 15, init_replica" />
- <row data-node="replica_ds_5.t_order_7" values="1507, 15, init_replica" />
- <row data-node="replica_ds_5.t_order_8" values="1508, 15, init_replica" />
- <row data-node="replica_ds_5.t_order_9" values="1509, 15, init_replica" />
- <row data-node="replica_ds_6.t_order_0" values="1600, 16, init_replica" />
- <row data-node="replica_ds_6.t_order_1" values="1601, 16, init_replica" />
- <row data-node="replica_ds_6.t_order_2" values="1602, 16, init_replica" />
- <row data-node="replica_ds_6.t_order_3" values="1603, 16, init_replica" />
- <row data-node="replica_ds_6.t_order_4" values="1604, 16, init_replica" />
- <row data-node="replica_ds_6.t_order_5" values="1605, 16, init_replica" />
- <row data-node="replica_ds_6.t_order_6" values="1606, 16, init_replica" />
- <row data-node="replica_ds_6.t_order_7" values="1607, 16, init_replica" />
- <row data-node="replica_ds_6.t_order_8" values="1608, 16, init_replica" />
- <row data-node="replica_ds_6.t_order_9" values="1609, 16, init_replica" />
- <row data-node="replica_ds_7.t_order_0" values="1700, 17, init_replica" />
- <row data-node="replica_ds_7.t_order_1" values="1701, 17, init_replica" />
- <row data-node="replica_ds_7.t_order_2" values="1702, 17, init_replica" />
- <row data-node="replica_ds_7.t_order_3" values="1703, 17, init_replica" />
- <row data-node="replica_ds_7.t_order_4" values="1704, 17, init_replica" />
- <row data-node="replica_ds_7.t_order_5" values="1705, 17, init_replica" />
- <row data-node="replica_ds_7.t_order_6" values="1706, 17, init_replica" />
- <row data-node="replica_ds_7.t_order_7" values="1707, 17, init_replica" />
- <row data-node="replica_ds_7.t_order_8" values="1708, 17, init_replica" />
- <row data-node="replica_ds_7.t_order_9" values="1709, 17, init_replica" />
- <row data-node="replica_ds_8.t_order_0" values="1800, 18, init_replica" />
- <row data-node="replica_ds_8.t_order_1" values="1801, 18, init_replica" />
- <row data-node="replica_ds_8.t_order_2" values="1802, 18, init_replica" />
- <row data-node="replica_ds_8.t_order_3" values="1803, 18, init_replica" />
- <row data-node="replica_ds_8.t_order_4" values="1804, 18, init_replica" />
- <row data-node="replica_ds_8.t_order_5" values="1805, 18, init_replica" />
- <row data-node="replica_ds_8.t_order_6" values="1806, 18, init_replica" />
- <row data-node="replica_ds_8.t_order_7" values="1807, 18, init_replica" />
- <row data-node="replica_ds_8.t_order_8" values="1808, 18, init_replica" />
- <row data-node="replica_ds_8.t_order_9" values="1809, 18, init_replica" />
- <row data-node="replica_ds_9.t_order_0" values="1900, 19, init_replica" />
- <row data-node="replica_ds_9.t_order_1" values="1901, 19, init_replica" />
- <row data-node="replica_ds_9.t_order_2" values="1902, 19, init_replica" />
- <row data-node="replica_ds_9.t_order_3" values="1903, 19, init_replica" />
- <row data-node="replica_ds_9.t_order_4" values="1904, 19, init_replica" />
- <row data-node="replica_ds_9.t_order_5" values="1905, 19, init_replica" />
- <row data-node="replica_ds_9.t_order_6" values="1906, 19, init_replica" />
- <row data-node="replica_ds_9.t_order_7" values="1907, 19, init_replica" />
- <row data-node="replica_ds_9.t_order_8" values="1908, 19, init_replica" />
- <row data-node="replica_ds_9.t_order_9" values="1909, 19, init_replica" />
-</dataset>
diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dml/dataset/dbtbl_with_replica_query/insert_with_now_function.xml b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dml/dataset/dbtbl_with_replica_query/insert_with_now_function.xml
deleted file mode 100644
index 714803f..0000000
--- a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-test-suite/src/test/resources/integrate/cases/dml/dataset/dbtbl_with_replica_query/insert_with_now_function.xml
+++ /dev/null
@@ -1,427 +0,0 @@
-<!--
- ~ Licensed to the Apache Software Foundation (ASF) under one or more
- ~ contributor license agreements. See the NOTICE file distributed with
- ~ this work for additional information regarding copyright ownership.
- ~ The ASF licenses this file to You under the Apache License, Version 2.0
- ~ (the "License"); you may not use this file except in compliance with
- ~ the License. You may obtain a copy of the License at
- ~
- ~ http://www.apache.org/licenses/LICENSE-2.0
- ~
- ~ Unless required by applicable law or agreed to in writing, software
- ~ distributed under the License is distributed on an "AS IS" BASIS,
- ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- ~ See the License for the specific language governing permissions and
- ~ limitations under the License.
- -->
-
-<dataset update-count="1">
- <metadata data-nodes="primary_ds_${0..9}.t_order_item_${0..9},replica_ds_${0..9}.t_order_item_${0..9}">
- <column name="item_id" type="numeric" />
- <column name="order_id" type="numeric" />
- <column name="user_id" type="numeric" />
- <column name="status" type="varchar" />
- <column name="creation_date" type="datetime" />
- </metadata>
- <row data-node="primary_ds_0.t_order_item_0" values="100000, 1000, 10, init, NOT_VERIFY" />
- <row data-node="primary_ds_0.t_order_item_0" values="100001, 1000, 10, init, NOT_VERIFY" />
- <row data-node="primary_ds_0.t_order_item_1" values="100100, 1001, 10, init, NOT_VERIFY" />
- <row data-node="primary_ds_0.t_order_item_1" values="100101, 1001, 10, init, NOT_VERIFY" />
- <row data-node="primary_ds_0.t_order_item_2" values="100200, 1002, 10, init, NOT_VERIFY" />
- <row data-node="primary_ds_0.t_order_item_2" values="100201, 1002, 10, init, NOT_VERIFY" />
- <row data-node="primary_ds_0.t_order_item_3" values="100300, 1003, 10, init, NOT_VERIFY" />
- <row data-node="primary_ds_0.t_order_item_3" values="100301, 1003, 10, init, NOT_VERIFY" />
- <row data-node="primary_ds_0.t_order_item_4" values="100400, 1004, 10, init, NOT_VERIFY" />
- <row data-node="primary_ds_0.t_order_item_4" values="100401, 1004, 10, init, NOT_VERIFY" />
- <row data-node="primary_ds_0.t_order_item_5" values="100500, 1005, 10, init, NOT_VERIFY" />
- <row data-node="primary_ds_0.t_order_item_5" values="100501, 1005, 10, init, NOT_VERIFY" />
- <row data-node="primary_ds_0.t_order_item_6" values="100600, 1006, 10, init, NOT_VERIFY" />
- <row data-node="primary_ds_0.t_order_item_6" values="100601, 1006, 10, init, NOT_VERIFY" />
- <row data-node="primary_ds_0.t_order_item_7" values="100700, 1007, 10, init, NOT_VERIFY" />
- <row data-node="primary_ds_0.t_order_item_7" values="100701, 1007, 10, init, NOT_VERIFY" />
- <row data-node="primary_ds_0.t_order_item_8" values="100800, 1008, 10, init, NOT_VERIFY" />
- <row data-node="primary_ds_0.t_order_item_8" values="100801, 1008, 10, init, NOT_VERIFY" />
- <row data-node="primary_ds_0.t_order_item_9" values="100900, 1009, 10, init, NOT_VERIFY" />
- <row data-node="primary_ds_0.t_order_item_9" values="100901, 1009, 10, init, NOT_VERIFY" />
- <row data-node="primary_ds_1.t_order_item_0" values="110000, 1100, 11, init, NOT_VERIFY" />
- <row data-node="primary_ds_1.t_order_item_0" values="110001, 1100, 11, init, NOT_VERIFY" />
- <row data-node="primary_ds_1.t_order_item_1" values="1, 1, 1, insert, NOT_VERIFY" />
- <row data-node="primary_ds_1.t_order_item_1" values="110100, 1101, 11, init, NOT_VERIFY" />
- <row data-node="primary_ds_1.t_order_item_1" values="110101, 1101, 11, init, NOT_VERIFY" />
- <row data-node="primary_ds_1.t_order_item_2" values="110200, 1102, 11, init, NOT_VERIFY" />
- <row data-node="primary_ds_1.t_order_item_2" values="110201, 1102, 11, init, NOT_VERIFY" />
- <row data-node="primary_ds_1.t_order_item_3" values="110300, 1103, 11, init, NOT_VERIFY" />
- <row data-node="primary_ds_1.t_order_item_3" values="110301, 1103, 11, init, NOT_VERIFY" />
- <row data-node="primary_ds_1.t_order_item_4" values="110400, 1104, 11, init, NOT_VERIFY" />
- <row data-node="primary_ds_1.t_order_item_4" values="110401, 1104, 11, init, NOT_VERIFY" />
- <row data-node="primary_ds_1.t_order_item_5" values="110500, 1105, 11, init, NOT_VERIFY" />
- <row data-node="primary_ds_1.t_order_item_5" values="110501, 1105, 11, init, NOT_VERIFY" />
- <row data-node="primary_ds_1.t_order_item_6" values="110600, 1106, 11, init, NOT_VERIFY" />
- <row data-node="primary_ds_1.t_order_item_6" values="110601, 1106, 11, init, NOT_VERIFY" />
- <row data-node="primary_ds_1.t_order_item_7" values="110700, 1107, 11, init, NOT_VERIFY" />
- <row data-node="primary_ds_1.t_order_item_7" values="110701, 1107, 11, init, NOT_VERIFY" />
- <row data-node="primary_ds_1.t_order_item_8" values="110800, 1108, 11, init, NOT_VERIFY" />
- <row data-node="primary_ds_1.t_order_item_8" values="110801, 1108, 11, init, NOT_VERIFY" />
- <row data-node="primary_ds_1.t_order_item_9" values="110900, 1109, 11, init, NOT_VERIFY" />
- <row data-node="primary_ds_1.t_order_item_9" values="110901, 1109, 11, init, NOT_VERIFY" />
- <row data-node="primary_ds_2.t_order_item_0" values="120000, 1200, 12, init, NOT_VERIFY" />
- <row data-node="primary_ds_2.t_order_item_0" values="120001, 1200, 12, init, NOT_VERIFY" />
- <row data-node="primary_ds_2.t_order_item_1" values="120100, 1201, 12, init, NOT_VERIFY" />
- <row data-node="primary_ds_2.t_order_item_1" values="120101, 1201, 12, init, NOT_VERIFY" />
- <row data-node="primary_ds_2.t_order_item_2" values="120200, 1202, 12, init, NOT_VERIFY" />
- <row data-node="primary_ds_2.t_order_item_2" values="120201, 1202, 12, init, NOT_VERIFY" />
- <row data-node="primary_ds_2.t_order_item_3" values="120300, 1203, 12, init, NOT_VERIFY" />
- <row data-node="primary_ds_2.t_order_item_3" values="120301, 1203, 12, init, NOT_VERIFY" />
- <row data-node="primary_ds_2.t_order_item_4" values="120400, 1204, 12, init, NOT_VERIFY" />
- <row data-node="primary_ds_2.t_order_item_4" values="120401, 1204, 12, init, NOT_VERIFY" />
- <row data-node="primary_ds_2.t_order_item_5" values="120500, 1205, 12, init, NOT_VERIFY" />
- <row data-node="primary_ds_2.t_order_item_5" values="120501, 1205, 12, init, NOT_VERIFY" />
- <row data-node="primary_ds_2.t_order_item_6" values="120600, 1206, 12, init, NOT_VERIFY" />
- <row data-node="primary_ds_2.t_order_item_6" values="120601, 1206, 12, init, NOT_VERIFY" />
- <row data-node="primary_ds_2.t_order_item_7" values="120700, 1207, 12, init, NOT_VERIFY" />
- <row data-node="primary_ds_2.t_order_item_7" values="120701, 1207, 12, init, NOT_VERIFY" />
- <row data-node="primary_ds_2.t_order_item_8" values="120800, 1208, 12, init, NOT_VERIFY" />
- <row data-node="primary_ds_2.t_order_item_8" values="120801, 1208, 12, init, NOT_VERIFY" />
- <row data-node="primary_ds_2.t_order_item_9" values="120900, 1209, 12, init, NOT_VERIFY" />
- <row data-node="primary_ds_2.t_order_item_9" values="120901, 1209, 12, init, NOT_VERIFY" />
- <row data-node="primary_ds_3.t_order_item_0" values="130000, 1300, 13, init, NOT_VERIFY" />
- <row data-node="primary_ds_3.t_order_item_0" values="130001, 1300, 13, init, NOT_VERIFY" />
- <row data-node="primary_ds_3.t_order_item_1" values="130100, 1301, 13, init, NOT_VERIFY" />
- <row data-node="primary_ds_3.t_order_item_1" values="130101, 1301, 13, init, NOT_VERIFY" />
- <row data-node="primary_ds_3.t_order_item_2" values="130200, 1302, 13, init, NOT_VERIFY" />
- <row data-node="primary_ds_3.t_order_item_2" values="130201, 1302, 13, init, NOT_VERIFY" />
- <row data-node="primary_ds_3.t_order_item_3" values="130300, 1303, 13, init, NOT_VERIFY" />
- <row data-node="primary_ds_3.t_order_item_3" values="130301, 1303, 13, init, NOT_VERIFY" />
- <row data-node="primary_ds_3.t_order_item_4" values="130400, 1304, 13, init, NOT_VERIFY" />
- <row data-node="primary_ds_3.t_order_item_4" values="130401, 1304, 13, init, NOT_VERIFY" />
- <row data-node="primary_ds_3.t_order_item_5" values="130500, 1305, 13, init, NOT_VERIFY" />
- <row data-node="primary_ds_3.t_order_item_5" values="130501, 1305, 13, init, NOT_VERIFY" />
- <row data-node="primary_ds_3.t_order_item_6" values="130600, 1306, 13, init, NOT_VERIFY" />
- <row data-node="primary_ds_3.t_order_item_6" values="130601, 1306, 13, init, NOT_VERIFY" />
- <row data-node="primary_ds_3.t_order_item_7" values="130700, 1307, 13, init, NOT_VERIFY" />
- <row data-node="primary_ds_3.t_order_item_7" values="130701, 1307, 13, init, NOT_VERIFY" />
- <row data-node="primary_ds_3.t_order_item_8" values="130800, 1308, 13, init, NOT_VERIFY" />
- <row data-node="primary_ds_3.t_order_item_8" values="130801, 1308, 13, init, NOT_VERIFY" />
- <row data-node="primary_ds_3.t_order_item_9" values="130900, 1309, 13, init, NOT_VERIFY" />
- <row data-node="primary_ds_3.t_order_item_9" values="130901, 1309, 13, init, NOT_VERIFY" />
- <row data-node="primary_ds_4.t_order_item_0" values="140000, 1400, 14, init, NOT_VERIFY" />
- <row data-node="primary_ds_4.t_order_item_0" values="140001, 1400, 14, init, NOT_VERIFY" />
- <row data-node="primary_ds_4.t_order_item_1" values="140100, 1401, 14, init, NOT_VERIFY" />
... 18594 lines suppressed ...