-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #39 from sharding-sphere/dev
update from origin
- Loading branch information
Showing
44 changed files
with
1,003 additions
and
156 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,7 +25,7 @@ | |
/** | ||
* Table rule configuration. | ||
* | ||
* @author zhangiang | ||
* @author zhangliang | ||
*/ | ||
@Getter | ||
@Setter | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
49 changes: 49 additions & 0 deletions
49
...rc/test/resources/integrate/cases/dml/dataset/db/insert_multiple_values_for_order_1_2.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
<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> |
47 changes: 47 additions & 0 deletions
47
...core/src/test/resources/integrate/cases/dml/dataset/db/insert_on_duplicate_key_update.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
<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> |
Oops, something went wrong.