Skip to content

Commit f5e2bdb

Browse files
committed
update
1 parent ff3b8f7 commit f5e2bdb

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

cpp/src/parquet/CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,10 @@ if(DEFINED ARROW_FSST_INCLUDE_DIR)
205205
list(APPEND PARQUET_PRIVATE_INCLUDE_DIRS ${ARROW_FSST_INCLUDE_DIR})
206206
list(APPEND PARQUET_TEST_EXTRA_INCLUDES ${ARROW_FSST_INCLUDE_DIR})
207207
endif()
208+
if(DEFINED ARROW_FSST_SOURCES)
209+
set_source_files_properties(${ARROW_FSST_SOURCES}
210+
PROPERTIES COMPILE_OPTIONS "-Wno-error=shorten-64-to-32")
211+
endif()
208212

209213
if(ARROW_HAVE_RUNTIME_AVX2)
210214
# AVX2 is used as a proxy for BMI2.

cpp/src/parquet/encoding_test.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2886,7 +2886,7 @@ TEST(TestFsstEncoding, HeavyNullsDecodeSpaced) {
28862886
}
28872887
writer.Finish();
28882888

2889-
const int null_count = binary.null_count();
2889+
const int null_count = static_cast<int>(binary.null_count());
28902890
ASSERT_EQ(static_cast<int>(values->length() - null_count),
28912891
decoder->DecodeSpaced(decoded.data(), static_cast<int>(values->length()),
28922892
null_count, valid_bits.data(), 0));

0 commit comments

Comments
 (0)