Skip to content

Commit

Permalink
fix(query): fix flaky test date_sub/add err
Browse files Browse the repository at this point in the history
  • Loading branch information
TCeason committed Oct 31, 2024
1 parent bfb98f2 commit fb06a5c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -700,9 +700,9 @@ SELECT substr(DATE_ADD(year, 1, now())::String, 1, 4)=substr(now()::String, 1, 4
----
1

# format: -29 11:47:46.704107
# format: 11:47:46.704107(time)
query T
SELECT substr(DATE_ADD(month, 1, now())::String, 8)=substr(now()::String, 8);
SELECT substr(DATE_ADD(month, 1, now())::String, 11)=substr(now()::String, 11);
----
1

Expand Down Expand Up @@ -752,9 +752,9 @@ SELECT substr(DATE_ADD(year, 1, now())::String, 1, 4)=substr(now()::String, 1, 4
----
1

# format: -29 11:47:46.704107
# format: 11:47:46.704107(time)
query T
SELECT substr(DATE_ADD(month, 1, now())::String, 8)=substr(now()::String, 8);
SELECT substr(DATE_ADD(month, 1, now())::String, 11)=substr(now()::String, 11);
----
1

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -742,9 +742,9 @@ SELECT substr(DATE_ADD(year, 1, now())::String, 1, 4)=substr(now()::String, 1, 4
----
1

# format: -29 11:47:46.704107
# format: 11:47:46.704107(time)
query T
SELECT substr(DATE_ADD(month, 1, now())::String, 8)=substr(now()::String, 8);
SELECT substr(DATE_ADD(month, 1, now())::String, 11)=substr(now()::String, 11);
----
1

Expand Down Expand Up @@ -784,9 +784,9 @@ SELECT substr(DATE_ADD(year, 1, now())::String, 1, 4)=substr(now()::String, 1, 4
----
1

# format: -29 11:47:46.704107
# format: 11:47:46.704107(time)
query T
SELECT substr(DATE_ADD(month, 1, now())::String, 8)=substr(now()::String, 8);
SELECT substr(DATE_ADD(month, 1, now())::String, 11)=substr(now()::String, 11);
----
1

Expand Down

0 comments on commit fb06a5c

Please sign in to comment.