Skip to content

Commit

Permalink
GH-44700: [C++][Parquet] Remove obsolete parquet_constants generated …
Browse files Browse the repository at this point in the history
…files from old thrift (#44772)

### Rationale for this change

The files were generated 4 years ago with and old version of Thrift and don't seem necessary anymore.

### What changes are included in this PR?

Remove obsolete files.

### Are these changes tested?

No new tests added, just validate tests pass.

### Are there any user-facing changes?

No
* GitHub Issue: #44700

Authored-by: Raúl Cumplido <[email protected]>
Signed-off-by: Sutou Kouhei <[email protected]>
  • Loading branch information
raulcd authored Nov 19, 2024
1 parent 6134b2e commit 9d19450
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 48 deletions.
1 change: 0 additions & 1 deletion cpp/build-support/lint_exclusions.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
*RcppExports.cpp*
*_generated*
*arrowExports.cpp*
*parquet_constants.*
*parquet_types.*
*pyarrow_api.h
*pyarrow_lib.h
Expand Down
17 changes: 0 additions & 17 deletions cpp/src/generated/parquet_constants.cpp

This file was deleted.

24 changes: 0 additions & 24 deletions cpp/src/generated/parquet_constants.h

This file was deleted.

4 changes: 0 additions & 4 deletions cpp/src/parquet/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -140,8 +140,6 @@ set(PARQUET_THRIFT_SOURCE_DIR "${ARROW_SOURCE_DIR}/src/generated/")

set_source_files_properties("${PARQUET_THRIFT_SOURCE_DIR}/parquet_types.cpp"
"${PARQUET_THRIFT_SOURCE_DIR}/parquet_types.h"
"${PARQUET_THRIFT_SOURCE_DIR}/parquet_constants.cpp"
"${PARQUET_THRIFT_SOURCE_DIR}/parquet_constants.h"
PROPERTIES SKIP_PRECOMPILE_HEADERS ON
SKIP_UNITY_BUILD_INCLUSION ON)

Expand Down Expand Up @@ -178,7 +176,6 @@ set(PARQUET_SRCS
metadata.cc
xxhasher.cc
page_index.cc
"${PARQUET_THRIFT_SOURCE_DIR}/parquet_constants.cpp"
"${PARQUET_THRIFT_SOURCE_DIR}/parquet_types.cpp"
platform.cc
printer.cc
Expand Down Expand Up @@ -307,7 +304,6 @@ add_arrow_lib(parquet

if(WIN32 AND NOT (ARROW_TEST_LINKAGE STREQUAL "static"))
add_library(parquet_test_support STATIC
"${PARQUET_THRIFT_SOURCE_DIR}/parquet_constants.cpp"
"${PARQUET_THRIFT_SOURCE_DIR}/parquet_types.cpp")
target_link_libraries(parquet_test_support thrift::thrift)
list(PREPEND PARQUET_TEST_LINK_LIBS parquet_test_support)
Expand Down
2 changes: 0 additions & 2 deletions dev/release/rat_exclude_files.txt
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,6 @@ cpp/build-support/iwyu/*
cpp/cmake_modules/FindPythonLibsNew.cmake
cpp/examples/parquet/parquet-arrow/cmake_modules/FindArrow.cmake
cpp/src/parquet/.parquetcppversion
cpp/src/generated/parquet_constants.cpp
cpp/src/generated/parquet_constants.h
cpp/src/generated/parquet_types.cpp
cpp/src/generated/parquet_types.h
cpp/src/generated/substrait/*
Expand Down

0 comments on commit 9d19450

Please sign in to comment.