From 53dd6098b3739614a1aa14d9689203d75bf35918 Mon Sep 17 00:00:00 2001 From: Krishna Pai Date: Tue, 19 Mar 2024 17:53:43 -0700 Subject: [PATCH] Fix build on ubuntu and gcc 11 --- .github/workflows/scheduled.yml | 2 +- velox/vector/arrow/tests/ArrowBridgeArrayTest.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/scheduled.yml b/.github/workflows/scheduled.yml index 5badcaf29e8d..966739963497 100644 --- a/.github/workflows/scheduled.yml +++ b/.github/workflows/scheduled.yml @@ -12,7 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -name: "Scheduled Fuzzer Jobs" +name: "Scheduled Fuzzer Jobs Test" on: pull_request: diff --git a/velox/vector/arrow/tests/ArrowBridgeArrayTest.cpp b/velox/vector/arrow/tests/ArrowBridgeArrayTest.cpp index 6fb8af3fb339..df700deda612 100644 --- a/velox/vector/arrow/tests/ArrowBridgeArrayTest.cpp +++ b/velox/vector/arrow/tests/ArrowBridgeArrayTest.cpp @@ -1172,7 +1172,7 @@ class ArrowBridgeArrayImportTest : public ArrowBridgeArrayExportTest { testArrowImport("g", {-99.9, 4.3, 31.1, 129.11, -12}); testArrowImport("f", {-99.9, 4.3, 31.1, 129.11, -12}); - for (const std::string& tsString : {"tss:", "tsm:", "tsu:", "tsn:"}) { + for (const std::string tsString : {"tss:", "tsm:", "tsu:", "tsn:"}) { testArrowImport( tsString.data(), {0, std::nullopt, Timestamp::kMaxSeconds}); }