Skip to content

Commit

Permalink
add other scenarios‘s dql (apache#9760)
Browse files Browse the repository at this point in the history
* add other scenarios dql

* it fixed
  • Loading branch information
JiekerTime authored Mar 22, 2021
1 parent cf27fc9 commit 7dd569b
Show file tree
Hide file tree
Showing 12 changed files with 320 additions and 98 deletions.
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" />
<row data-node="write_ds.t_broadcast_table" values="1, init_read" />
<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
Expand Up @@ -27,99 +27,99 @@
<row values="2, 12000, c02, init_read" />
<row values="3, 13000, d03, init_read" />
<row values="4, 14000, e04, init_read" />
<row values="5, 15000, f05" />
<row values="6, 16000, g06" />
<row values="7, 17000, h07" />
<row values="8, 18000, i08" />
<row values="9, 19000, j09" />
<row values="10, 10001, a10" />
<row values="11, 11001, b11" />
<row values="12, 12001, c12" />
<row values="13, 13001, d13" />
<row values="14, 14001, e14" />
<row values="15, 15001, f15" />
<row values="16, 16001, g16" />
<row values="17, 17001, h17" />
<row values="18, 18001, i18" />
<row values="19, 19001, j19" />
<row values="20, 10002, a20" />
<row values="21, 11002, b21" />
<row values="22, 12002, c22" />
<row values="23, 13002, d23" />
<row values="24, 14002, e24" />
<row values="25, 15002, f25" />
<row values="26, 16002, g26" />
<row values="27, 17002, h27" />
<row values="28, 18002, i28" />
<row values="29, 19002, j29" />
<row values="30, 10003, a30" />
<row values="31, 11003, b31" />
<row values="32, 12003, c32" />
<row values="33, 13003, d33" />
<row values="34, 14003, e34" />
<row values="35, 15003, f35" />
<row values="36, 16003, g36" />
<row values="37, 17003, h37" />
<row values="38, 18003, i38" />
<row values="39, 19003, j39" />
<row values="40, 10004, a40" />
<row values="41, 11004, b41" />
<row values="42, 12004, c42" />
<row values="43, 13004, d43" />
<row values="44, 14004, e44" />
<row values="45, 15004, f45" />
<row values="46, 16004, g46" />
<row values="47, 17004, h47" />
<row values="48, 18004, i48" />
<row values="49, 19004, j49" />
<row values="50, 10005, a50" />
<row values="51, 11005, b51" />
<row values="52, 12005, c52" />
<row values="53, 13005, d53" />
<row values="54, 14005, e54" />
<row values="55, 15005, f55" />
<row values="56, 16005, g56" />
<row values="57, 17005, h57" />
<row values="58, 18005, i58" />
<row values="59, 19005, j59" />
<row values="60, 10006, a60" />
<row values="61, 11006, b61" />
<row values="62, 12006, c62" />
<row values="63, 13006, d63" />
<row values="64, 14006, e64" />
<row values="65, 15006, f65" />
<row values="66, 16006, g66" />
<row values="67, 17006, h67" />
<row values="68, 18006, i68" />
<row values="69, 19006, j69" />
<row values="70, 10007, a70" />
<row values="71, 11007, b71" />
<row values="72, 12007, c72" />
<row values="73, 13007, d73" />
<row values="74, 14007, e74" />
<row values="75, 15007, f75" />
<row values="76, 16007, g76" />
<row values="77, 17007, h77" />
<row values="78, 18007, i78" />
<row values="79, 19007, j79" />
<row values="80, 10008, a80" />
<row values="81, 11008, b81" />
<row values="82, 12008, c82" />
<row values="83, 13008, d83" />
<row values="84, 14008, e84" />
<row values="85, 15008, f85" />
<row values="86, 16008, g86" />
<row values="87, 17008, h87" />
<row values="88, 18008, i88" />
<row values="89, 19008, j89" />
<row values="90, 10009, a90" />
<row values="91, 11009, b91" />
<row values="92, 12009, c92" />
<row values="93, 13009, d93" />
<row values="94, 14009, e94" />
<row values="95, 15009, f95" />
<row values="96, 16009, g96" />
<row values="97, 17009, h97" />
<row values="98, 18009, i98" />
<row values="99, 19009, j99" />
<row values="5, 15000, f05, init_read" />
<row values="6, 16000, g06, init_read" />
<row values="7, 17000, h07, init_read" />
<row values="8, 18000, i08, init_read" />
<row values="9, 19000, j09, init_read" />
<row values="10, 10001, a10, init_read" />
<row values="11, 11001, b11, init_read" />
<row values="12, 12001, c12, init_read" />
<row values="13, 13001, d13, init_read" />
<row values="14, 14001, e14, init_read" />
<row values="15, 15001, f15, init_read" />
<row values="16, 16001, g16, init_read" />
<row values="17, 17001, h17, init_read" />
<row values="18, 18001, i18, init_read" />
<row values="19, 19001, j19, init_read" />
<row values="20, 10002, a20, init_read" />
<row values="21, 11002, b21, init_read" />
<row values="22, 12002, c22, init_read" />
<row values="23, 13002, d23, init_read" />
<row values="24, 14002, e24, init_read" />
<row values="25, 15002, f25, init_read" />
<row values="26, 16002, g26, init_read" />
<row values="27, 17002, h27, init_read" />
<row values="28, 18002, i28, init_read" />
<row values="29, 19002, j29, init_read" />
<row values="30, 10003, a30, init_read" />
<row values="31, 11003, b31, init_read" />
<row values="32, 12003, c32, init_read" />
<row values="33, 13003, d33, init_read" />
<row values="34, 14003, e34, init_read" />
<row values="35, 15003, f35, init_read" />
<row values="36, 16003, g36, init_read" />
<row values="37, 17003, h37, init_read" />
<row values="38, 18003, i38, init_read" />
<row values="39, 19003, j39, init_read" />
<row values="40, 10004, a40, init_read" />
<row values="41, 11004, b41, init_read" />
<row values="42, 12004, c42, init_read" />
<row values="43, 13004, d43, init_read" />
<row values="44, 14004, e44, init_read" />
<row values="45, 15004, f45, init_read" />
<row values="46, 16004, g46, init_read" />
<row values="47, 17004, h47, init_read" />
<row values="48, 18004, i48, init_read" />
<row values="49, 19004, j49, init_read" />
<row values="50, 10005, a50, init_read" />
<row values="51, 11005, b51, init_read" />
<row values="52, 12005, c52, init_read" />
<row values="53, 13005, d53, init_read" />
<row values="54, 14005, e54, init_read" />
<row values="55, 15005, f55, init_read" />
<row values="56, 16005, g56, init_read" />
<row values="57, 17005, h57, init_read" />
<row values="58, 18005, i58, init_read" />
<row values="59, 19005, j59, init_read" />
<row values="60, 10006, a60, init_read" />
<row values="61, 11006, b61, init_read" />
<row values="62, 12006, c62, init_read" />
<row values="63, 13006, d63, init_read" />
<row values="64, 14006, e64, init_read" />
<row values="65, 15006, f65, init_read" />
<row values="66, 16006, g66, init_read" />
<row values="67, 17006, h67, init_read" />
<row values="68, 18006, i68, init_read" />
<row values="69, 19006, j69, init_read" />
<row values="70, 10007, a70, init_read" />
<row values="71, 11007, b71, init_read" />
<row values="72, 12007, c72, init_read" />
<row values="73, 13007, d73, init_read" />
<row values="74, 14007, e74, init_read" />
<row values="75, 15007, f75, init_read" />
<row values="76, 16007, g76, init_read" />
<row values="77, 17007, h77, init_read" />
<row values="78, 18007, i78, init_read" />
<row values="79, 19007, j79, init_read" />
<row values="80, 10008, a80, init_read" />
<row values="81, 11008, b81, init_read" />
<row values="82, 12008, c82, init_read" />
<row values="83, 13008, d83, init_read" />
<row values="84, 14008, e84, init_read" />
<row values="85, 15008, f85, init_read" />
<row values="86, 16008, g86, init_read" />
<row values="87, 17008, h87, init_read" />
<row values="88, 18008, i88, init_read" />
<row values="89, 19008, j89, init_read" />
<row values="90, 10009, a90, init_read" />
<row values="91, 11009, b91, init_read" />
<row values="92, 12009, c92, init_read" />
<row values="93, 13009, d93, init_read" />
<row values="94, 14009, e94, init_read" />
<row values="95, 15009, f95, init_read" />
<row values="96, 16009, g96, init_read" />
<row values="97, 17009, h97, init_read" />
<row values="98, 18009, i98, init_read" />
<row values="99, 19009, j99, init_read" />
</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>
<metadata>
<column name="single_id"/>
<column name="id" />
<column name="status"/>
</metadata>
<row values="1, 0, init_read" />
<row values="2, 11, init_read" />
<row values="3, 22, init_read" />
<row values="4, 33, init_read" />
</dataset>
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
<!--
~ 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>
<column name="single_id"/>
<column name="id" />
<column name="status"/>
<column name="user_id" />
<column name="address_id" />
<column name="pwd" />
<column name="status" />
</metadata>
<row values="1, 10, init_read, 0, 10000, a00, init_read" />
<row values="2, 11, init_read, 11, 11001, b11, init_read" />
<row values="3, 22, init_read, 22, 12002, c22, init_read" />
<row values="4, 33, init_read, 33, 13003, d33, init_read" />
</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>
<metadata>
<column name="single_id"/>
<column name="id" />
<column name="status"/>
</metadata>
<row values="1, 10, init" />
<row values="2, 11, init" />
<row values="3, 12, init" />
<row values="4, 13, init" />
</dataset>
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
<!--
~ 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>
<column name="single_id"/>
<column name="id" />
<column name="status"/>
<column name="user_id" />
<column name="address_id" />
<column name="pwd" />
<column name="status" />
</metadata>
<row values="1, 10, init, 10, 10000, a10, init" />
<row values="2, 11, init, 11, 11000, b11, init" />
<row values="3, 12, init, 12, 12000, c12, init" />
<row values="4, 13, init, 13, 13000, d13, 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>
<metadata>
<column name="single_id"/>
<column name="id" />
<column name="status"/>
</metadata>
<row values="1, 1000, init_read" />
<row values="2, 1100, init_read" />
<row values="3, 1200, init_read" />
<row values="4, 1300, init_read" />
</dataset>
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
<!--
~ 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>
<column name="single_id"/>
<column name="id" />
<column name="status"/>
<column name="order_id" />
<column name="user_id" />
<column name="status" />
</metadata>
<row values="1, 1000, init_read, 1000, 10, init_read" />
<row values="2, 1100, init_read, 1100, 11, init_read" />
<row values="3, 1200, init_read, 1200, 12, init_read" />
<row values="4, 1300, init_read, 1300, 13, init_read" />
</dataset>
Loading

0 comments on commit 7dd569b

Please sign in to comment.