Skip to content

Commit

Permalink
temp fix using getPath()
Browse files Browse the repository at this point in the history
  • Loading branch information
yma11 committed Apr 23, 2024
1 parent b06cbf0 commit 46cbf7d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions velox/exec/tests/WindowTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ TEST_F(WindowTest, rankLikeWithEqualValue) {
.config(core::QueryConfig::kMaxOutputBatchRows, "2")
.config(core::QueryConfig::kSpillEnabled, "true")
.config(core::QueryConfig::kWindowSpillEnabled, "true")
.spillDirectory(spillDirectory->path)
.spillDirectory(spillDirectory->getPath())
.assertResults(
"SELECT *, sum(c1) over (order by c1 rows unbounded preceding) FROM tmp");
}
Expand Down Expand Up @@ -142,7 +142,7 @@ TEST_F(WindowTest, rankLikeOptimization) {
.config(core::QueryConfig::kPreferredOutputBatchBytes, "1024")
.config(core::QueryConfig::kSpillEnabled, "true")
.config(core::QueryConfig::kWindowSpillEnabled, "true")
.spillDirectory(spillDirectory->path)
.spillDirectory(spillDirectory->getPath())
.assertResults(
"SELECT *, rank() over (partition by p order by s), row_number() over (partition by p order by s), sum(d) over (partition by p order by s) FROM tmp");
}
Expand Down

0 comments on commit 46cbf7d

Please sign in to comment.