Skip to content

Commit

Permalink
Merge pull request #2094 from kuzudb/fix-warning
Browse files Browse the repository at this point in the history
Fix warning
  • Loading branch information
acquamarin committed Sep 27, 2023
2 parents 3753f71 + cc05da1 commit d5c756a
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/function/table_functions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,9 @@ void ShowTablesFunction::tableFunc(std::pair<offset_t, offset_t> morsel,
case TableType::RDF: {
typeString = "RDF";
} break;
default: {
throw common::NotImplementedException{"ShowTablesFunction::tableFunc"};
}
};
outputVectors[1]->setValue(i, typeString);
outputVectors[2]->setValue(i, tableSchema->comment);
Expand Down
7 changes: 7 additions & 0 deletions third_party/miniparquet/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,13 @@ if(POLICY CMP0063)
cmake_policy(SET CMP0063 NEW)
endif()

# Certain Clang compiler versions throw "deprecated declarations" warnings for
# Thrift.h which comes from the Apache thrift library.
# The workaround, for now, is to disable this warning if the compiler is Clang.
if(CMAKE_CXX_COMPILER_ID MATCHES "Clang")
add_compile_options(-Wno-deprecated-declarations)
endif()

project(miniparquet CXX)

include_directories(src/parquet
Expand Down
12 changes: 12 additions & 0 deletions third_party/miniparquet/src/parquet/parquet_types.h

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit d5c756a

Please sign in to comment.