Skip to content

Commit

Permalink
Ignore in GetSerde.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
acvictor committed Apr 5, 2024
1 parent 804dd03 commit 07e33ad
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions velox/functions/remote/if/GetSerde.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@

namespace facebook::velox::functions {

#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wreturn-type"
std::unique_ptr<VectorSerde> getSerde(const remote::PageFormat& format) {
switch (format) {
case remote::PageFormat::PRESTO_PAGE:
Expand All @@ -29,5 +31,6 @@ std::unique_ptr<VectorSerde> getSerde(const remote::PageFormat& format) {
return std::make_unique<serializer::spark::UnsafeRowVectorSerde>();
}
}
#pragma GCC diagnostic pop

} // namespace facebook::velox::functions

0 comments on commit 07e33ad

Please sign in to comment.