diff --git a/CMakeLists.txt b/CMakeLists.txt index 4d95b285..e5696c47 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -22,16 +22,14 @@ include_directories(src) add_subdirectory(third_party) -#find_package(absl REQUIRED) -#include_directories(${ABSL_INCLUDE_DIRS}) +# find_package(absl REQUIRED) include_directories(${ABSL_INCLUDE_DIRS}) find_package(Protobuf REQUIRED CONFIG) -#include_directories(${PROTOBUF_INCLUDE_DIRS}) +# include_directories(${PROTOBUF_INCLUDE_DIRS}) message(STATUS "include dirs are ${Protobuf_INCLUDE_DIRS}") message(STATUS "include dirs are ${PROTOBUF_INCLUDE_DIRS}") - list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake_modules") include(BuildUtils) diff --git a/src/substrait/textplan/converter/LoadBinary.cpp b/src/substrait/textplan/converter/LoadBinary.cpp index 486e9a5e..6d259791 100644 --- a/src/substrait/textplan/converter/LoadBinary.cpp +++ b/src/substrait/textplan/converter/LoadBinary.cpp @@ -70,8 +70,8 @@ PlanOrErrors loadFromJson(std::string_view json) { auto status = google::protobuf::util::JsonStringToMessage( std::string{usableJson}, &plan); if (!status.ok()) { - return PlanOrErrors({fmt::format( - "Failed to parse Substrait JSON: {}", status.message())}); + return PlanOrErrors( + {fmt::format("Failed to parse Substrait JSON: {}", status.message())}); } return PlanOrErrors(plan); }