Skip to content

Commit

Permalink
case: update create yaml (4paradigm#1155)
Browse files Browse the repository at this point in the history
  • Loading branch information
dl239 authored Feb 8, 2022
1 parent 0ee9669 commit bd630cf
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions cases/function/ddl/test_ttl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,9 @@ cases:
-
id: 6
desc: ttl_type=absolute-ttl=(3650m)
tags: ["TODO","bug:https://github.com/4paradigm/OpenMLDB/issues/189"]
sql: create table {auto} (c1 string NOT NULL,c2 int,c3 timestamp, c4 timestamp,index(key=(c1),ts=c4,ttl=(3650m),ttl_type=absolute));
expect:
success: false
success: true
-
id: 7
desc: ttl_type=latest-ttl=(3650)
Expand Down Expand Up @@ -313,4 +312,10 @@ cases:
order: id
rows:
- [4,"aa", 4, 1590738990000]
- [5,"aa", 5, 1590738990000]
- [5,"aa", 5, 1590738990000]
-
id: 29
desc: ttl_type=latest-ttl=(10)
sql: create table {auto} (c1 string NOT NULL,c2 int,c3 timestamp, c4 timestamp,index(key=(c1),ts=c4,ttl=(10),ttl_type=latest));
expect:
success: true

0 comments on commit bd630cf

Please sign in to comment.