Skip to content

Commit 18d346f

Browse files
supported_version for whole file in schema-template-prepare.yamsql
1 parent c1278e0 commit 18d346f

1 file changed

Lines changed: 7 additions & 10 deletions

File tree

yaml-tests/src/test/resources/schema-template-prepare.yamsql

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -17,18 +17,15 @@
1717
# See the License for the specific language governing permissions and
1818
# limitations under the License.
1919

20+
---
21+
options:
22+
supported_version: !current_version
2023
---
2124
schema_template:
22-
- initialVersionLessThan: !current_version
23-
definition: |
24-
create table t1(id bigint, col1 bigint, col2 bigint, primary key(id))
25-
create index i1 as select col1 from t1
26-
- initialVersionAtLeast: !current_version
27-
definition: |
28-
create table t1(id bigint, col1 bigint, col2 bigint, primary key(id))
29-
create index i1 as select col1 from t1
30-
prepare by_col1 from 'select * from t1 where col1 = 1'
31-
prepare by_id from 'select * from t1 where id = 1'
25+
create table t1(id bigint, col1 bigint, col2 bigint, primary key(id))
26+
create index i1 as select col1 from t1
27+
prepare by_col1 from 'select * from t1 where col1 = 1'
28+
prepare by_id from 'select * from t1 where id = 1'
3229
---
3330
setup:
3431
steps:

0 commit comments

Comments
 (0)