Skip to content

Commit

Permalink
add other scenarios of dml (apache#9770)
Browse files Browse the repository at this point in the history
* add other scenarios of dml

* it fixed

* add issues

* ci fixed
  • Loading branch information
JiekerTime authored Mar 23, 2021
1 parent 8386291 commit 41e822b
Show file tree
Hide file tree
Showing 19 changed files with 441 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,6 @@
<row data-node="db_0.t_single_table" values="2, 1101, init" />
<row data-node="db_0.t_single_table" values="3, 2300, init" />
<row data-node="db_0.t_single_table" values="4, 2401, init" />
<row data-node="db_0.t_single_table" values="5, 1001, insert" />
<row data-node="db_0.t_single_table" values="6, 2000, insert" />
<row data-node="db_0.t_single_table" values="5, 5000, insert" />
<row data-node="db_0.t_single_table" values="6, 6000, insert" />
</dataset>
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
<!--
~ 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="write_ds_0.t_single_table">
<column name="single_id" type="numeric" />
<column name="id" type="numeric" />
<column name="status" type="varchar" />
</metadata>
<row data-node="write_ds_0.t_single_table" values="1, 1000, init" />
<row data-node="write_ds_0.t_single_table" values="2, 1101, init" />
<row data-node="write_ds_0.t_single_table" values="3, 1202, init" />
<row data-node="write_ds_0.t_single_table" values="4, 1303, init" />
<row data-node="write_ds_0.t_single_table" values="5, 5000, insert" />
<row data-node="write_ds_0.t_single_table" values="6, 6000, insert" />
</dataset>
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
<!--
~ 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="write_ds_0.t_single_table">
<column name="single_id" type="numeric" />
<column name="id" type="numeric" />
<column name="status" type="varchar" />
</metadata>
<row data-node="write_ds_0.t_single_table" values="2, 1101, init" />
<row data-node="write_ds_0.t_single_table" values="3, 1202, init" />
<row data-node="write_ds_0.t_single_table" values="4, 1303, init" />
</dataset>
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<!--
~ 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="4">
<metadata data-nodes="write_ds_0.t_single_table">
<column name="single_id" type="numeric" />
<column name="id" type="numeric" />
<column name="status" type="varchar" />
</metadata>
<row data-node="write_ds_0.t_single_table" values="1, 1000, finished" />
<row data-node="write_ds_0.t_single_table" values="2, 1101, finished" />
<row data-node="write_ds_0.t_single_table" values="3, 1202, finished" />
<row data-node="write_ds_0.t_single_table" values="4, 1303, finished" />
</dataset>
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
<!--
~ 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="encrypt_write_ds_0.t_single_table">
<column name="single_id" type="numeric" />
<column name="id" type="numeric" />
<column name="status" type="varchar" />
</metadata>
<row data-node="encrypt_write_ds_0.t_single_table" values="1, 0, init" />
<row data-node="encrypt_write_ds_0.t_single_table" values="2, 11, init" />
<row data-node="encrypt_write_ds_0.t_single_table" values="3, 22, init" />
<row data-node="encrypt_write_ds_0.t_single_table" values="4, 33, init" />
<row data-node="encrypt_write_ds_0.t_single_table" values="5, 5000, insert" />
<row data-node="encrypt_write_ds_0.t_single_table" values="6, 6000, insert" />
</dataset>
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
<!--
~ 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="encrypt_write_ds_0.t_single_table">
<column name="single_id" type="numeric" />
<column name="id" type="numeric" />
<column name="status" type="varchar" />
</metadata>
<row data-node="encrypt_write_ds_0.t_single_table" values="2, 11, init" />
<row data-node="encrypt_write_ds_0.t_single_table" values="3, 12, init" />
<row data-node="encrypt_write_ds_0.t_single_table" values="4, 13, init" />
</dataset>
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<!--
~ 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="4">
<metadata data-nodes="encrypt_write_ds_0.t_single_table">
<column name="single_id" type="numeric" />
<column name="id" type="numeric" />
<column name="status" type="varchar" />
</metadata>
<row data-node="encrypt_write_ds_0.t_single_table" values="1, 0, finished" />
<row data-node="encrypt_write_ds_0.t_single_table" values="2, 11, finished" />
<row data-node="encrypt_write_ds_0.t_single_table" values="3, 22, finished" />
<row data-node="encrypt_write_ds_0.t_single_table" values="4, 33, finished" />
</dataset>
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
<!--
~ 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="encrypt.t_single_table">
<column name="single_id" type="numeric" />
<column name="id" type="numeric" />
<column name="status" type="varchar" />
</metadata>
<row data-node="encrypt.t_single_table" values="1, 10, init" />
<row data-node="encrypt.t_single_table" values="2, 11, init" />
<row data-node="encrypt.t_single_table" values="3, 12, init" />
<row data-node="encrypt.t_single_table" values="4, 13, init" />
<row data-node="encrypt.t_single_table" values="5, 5000, insert" />
<row data-node="encrypt.t_single_table" values="6, 6000, insert" />
</dataset>
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
<!--
~ 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="encrypt.t_single_table">
<column name="single_id" type="numeric" />
<column name="id" type="numeric" />
<column name="status" type="varchar" />
</metadata>
<row data-node="encrypt.t_single_table" values="2, 11, init" />
<row data-node="encrypt.t_single_table" values="3, 12, init" />
<row data-node="encrypt.t_single_table" values="4, 13, init" />
</dataset>
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<!--
~ 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="4">
<metadata data-nodes="encrypt.t_single_table">
<column name="single_id" type="numeric" />
<column name="id" type="numeric" />
<column name="status" type="varchar" />
</metadata>
<row data-node="encrypt.t_single_table" values="1, 10, finished" />
<row data-node="encrypt.t_single_table" values="2, 11, finished" />
<row data-node="encrypt.t_single_table" values="3, 12, finished" />
<row data-node="encrypt.t_single_table" values="4, 13, finished" />
</dataset>
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<column name="id" type="numeric" />
<column name="status" type="varchar" />
</metadata>
<row data-node="write_ds.t_broadcast_table" values="1, init_read" />
<row data-node="write_ds.t_broadcast_table" values="1, init" />
<row data-node="write_ds.t_broadcast_table" values="2, insert" />
<row data-node="write_ds.t_broadcast_table" values="3, insert" />
</dataset>
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
<!--
~ 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="write_ds.t_single_table">
<column name="single_id" type="numeric" />
<column name="id" type="numeric" />
<column name="status" type="varchar" />
</metadata>
<row data-node="write_ds.t_single_table" values="1, 1000, init" />
<row data-node="write_ds.t_single_table" values="2, 1100, init" />
<row data-node="write_ds.t_single_table" values="3, 1200, init" />
<row data-node="write_ds.t_single_table" values="4, 1300, init" />
<row data-node="write_ds.t_single_table" values="5, 5000, insert" />
<row data-node="write_ds.t_single_table" values="6, 6000, insert" />
</dataset>
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
<!--
~ 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="write_ds.t_single_table">
<column name="single_id" type="numeric" />
<column name="id" type="numeric" />
<column name="status" type="varchar" />
</metadata>
<row data-node="write_ds.t_single_table" values="2, 1100, init" />
<row data-node="write_ds.t_single_table" values="3, 1200, init" />
<row data-node="write_ds.t_single_table" values="4, 1300, init" />
</dataset>
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<!--
~ 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="4">
<metadata data-nodes="write_ds.t_single_table">
<column name="single_id" type="numeric" />
<column name="id" type="numeric" />
<column name="status" type="varchar" />
</metadata>
<row data-node="write_ds.t_single_table" values="1, 1000, finished" />
<row data-node="write_ds.t_single_table" values="2, 1100, finished" />
<row data-node="write_ds.t_single_table" values="3, 1200, finished" />
<row data-node="write_ds.t_single_table" values="4, 1300, finished" />
</dataset>
Loading

0 comments on commit 41e822b

Please sign in to comment.