Skip to content

Commit

Permalink
Fix compilation error in Github action nightly jobs
Browse files Browse the repository at this point in the history
Summary: This diff fixes #7972.

Differential Revision: D52059708
  • Loading branch information
kagamiori authored and facebook-github-bot committed Dec 12, 2023
1 parent 25398f2 commit 77dc56c
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,7 @@ TEST_F(TimestampWithTimeZoneCastTest, toTimestamp) {
makeFlatVector<int16_t>({0, 0, 1825 /*America/Los_Angeles*/}));
tsWithTZVector->setNull(1, true);

for (const std::string& timezone :
{"America/Los_Angeles", "America/New_York"}) {
for (const char* timezone : {"America/Los_Angeles", "America/New_York"}) {
setQueryTimeZone(timezone);
auto expected = makeNullableFlatVector<Timestamp>(
{Timestamp(1996, 0), std::nullopt, Timestamp(19920, 0)});
Expand Down

0 comments on commit 77dc56c

Please sign in to comment.