Skip to content

Commit

Permalink
chore(test):add e2e test for producing timestamp in kafka source (#7699)
Browse files Browse the repository at this point in the history
Approved-By: liurenjie1024
  • Loading branch information
ZENOTME authored Feb 6, 2023
1 parent 50fc449 commit b996ba1
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions e2e_test/source/basic/kafka_batch.slt
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,30 @@ query IT
select * from s1 where _rw_kafka_timestamp > '2045-01-01 0:00:00+00:00'
----

query B
select _rw_kafka_timestamp > '1977-01-01 00:00:00+00:00' from s1
----
t
t
t
t

query B
select _rw_kafka_timestamp < now() from s1
----
t
t
t
t

query B
select _rw_kafka_timestamp < now() - interval '1 day' from s1
----
f
f
f
f

query IT rowsort
select * from s1 limit 2
----
Expand Down

0 comments on commit b996ba1

Please sign in to comment.