Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 4.3k
ARROW-16721: [C++] Drop support for bundled Thrift < 0.13#13292
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Uh oh!
There was an error while loading. Please reload this page.
Changes from all commits
File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading. Please reload this page.
Jump to
Uh oh!
There was an error while loading. Please reload this page.
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -31,29 +31,32 @@ set(ARROW_HIVESERVER2_SRCS | ||
| types.cc | ||
| util.cc) | ||
| set(HIVESERVER2_THRIFT_SRC_DIR "${ARROW_BINARY_DIR}/src/arrow/dbi/hiveserver2") | ||
Member There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think our hiveserver adapter doesn't even build currently, do we want to bother fixing it? | ||
| file(MAKE_DIRECTORY ${HIVESERVER2_THRIFT_SRC_DIR}) | ||
| add_subdirectory(thrift) | ||
| # *_constants.* aren't generated when "const" doesn't exist in *.thrift. | ||
| set(HIVESERVER2_THRIFT_SRC | ||
| ErrorCodes_constants.cpp | ||
| ErrorCodes_types.cpp | ||
| ImpalaService.cpp | ||
| ImpalaService_constants.cpp | ||
| ImpalaService_types.cpp | ||
| ImpalaHiveServer2Service.cpp | ||
| beeswax_constants.cpp | ||
| beeswax_types.cpp | ||
| BeeswaxService.cpp | ||
| TCLIService.cpp | ||
| TCLIService_constants.cpp | ||
| TCLIService_types.cpp | ||
| ExecStats_constants.cpp | ||
| ExecStats_types.cpp | ||
| hive_metastore_constants.cpp | ||
| hive_metastore_types.cpp | ||
| Status_constants.cpp | ||
| Status_types.cpp | ||
| Types_constants.cpp | ||
| Types_types.cpp) | ||
| ${HIVESERVER2_THRIFT_SRC_DIR}/ErrorCodes_constants.cpp | ||
| ${HIVESERVER2_THRIFT_SRC_DIR}/ErrorCodes_types.cpp | ||
| ${HIVESERVER2_THRIFT_SRC_DIR}/ImpalaService.cpp | ||
| # ${HIVESERVER2_THRIFT_SRC_DIR}/ImpalaService_constants.cpp | ||
| ${HIVESERVER2_THRIFT_SRC_DIR}/ImpalaService_types.cpp | ||
| ${HIVESERVER2_THRIFT_SRC_DIR}/ImpalaHiveServer2Service.cpp | ||
| # ${HIVESERVER2_THRIFT_SRC_DIR}/beeswax_constants.cpp | ||
| ${HIVESERVER2_THRIFT_SRC_DIR}/beeswax_types.cpp | ||
| ${HIVESERVER2_THRIFT_SRC_DIR}/BeeswaxService.cpp | ||
| ${HIVESERVER2_THRIFT_SRC_DIR}/TCLIService.cpp | ||
| ${HIVESERVER2_THRIFT_SRC_DIR}/TCLIService_constants.cpp | ||
| ${HIVESERVER2_THRIFT_SRC_DIR}/TCLIService_types.cpp | ||
| # ${HIVESERVER2_THRIFT_SRC_DIR}/ExecStats_constants.cpp | ||
| ${HIVESERVER2_THRIFT_SRC_DIR}/ExecStats_types.cpp | ||
| ${HIVESERVER2_THRIFT_SRC_DIR}/hive_metastore_constants.cpp | ||
| ${HIVESERVER2_THRIFT_SRC_DIR}/hive_metastore_types.cpp | ||
| # ${HIVESERVER2_THRIFT_SRC_DIR}/Status_constants.cpp | ||
| ${HIVESERVER2_THRIFT_SRC_DIR}/Status_types.cpp | ||
| # ${HIVESERVER2_THRIFT_SRC_DIR}/Types_constants.cpp | ||
| ${HIVESERVER2_THRIFT_SRC_DIR}/Types_types.cpp) | ||
| set_source_files_properties(${HIVESERVER2_THRIFT_SRC} | ||
| PROPERTIES COMPILE_FLAGS | ||
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So boost is always required by Thrift nevertheless?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes. The condition was wrong. We needs Boost to use Thrift.
We need Thrift only when we use Parquet or
arrow/dbi/hiveserver2/.Parquet uses
thrift/transport/TBufferTransports.h: https://github.com/apache/arrow/blob/master/cpp/src/parquet/thrift_internal.h#L43thrift/transport/TBufferTransports.huses Boost: https://github.com/apache/thrift/blob/master/lib/cpp/src/thrift/transport/TBufferTransports.h#L26