Skip to content

Commit

Permalink
Fix failing IT
Browse files Browse the repository at this point in the history
Signed-off-by: currantw <[email protected]>
  • Loading branch information
currantw committed Jan 15, 2025
1 parent f5cd625 commit 7daa8ec
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,7 @@ class FlintSparkPPLBuiltInDateTimeFunctionITSuite
| | eval last_wednesday = relative_timestamp("-1d@w3")
| | eval actual_days_ago = timestampdiff(DAY, last_wednesday, now())
| | eval day_of_week = day_of_week(now())
| | eval expected_days_ago = case(day_of_week >= 4, day_of_week - 4 else day_of_week + 3)
| | eval expected_days_ago = case(day_of_week > 4, day_of_week - 4 else day_of_week + 3)
| | eval test_result = (expected_days_ago = actual_days_ago)
| | fields test_result
| | head 1
Expand Down

0 comments on commit 7daa8ec

Please sign in to comment.