Skip to content

Commit

Permalink
Removing unused method
Browse files Browse the repository at this point in the history
Summary: I found a function that I couldn't find any references. Let's delete them.

Reviewed By: zzhao0

Differential Revision: D30843267

fbshipit-source-id: 44f13f86f7313ac974b4c138d1165cbd3f0388c6
  • Loading branch information
Jake Jung authored and facebook-github-bot committed Sep 9, 2021
1 parent b69e9fe commit 50c2d67
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions velox/dwio/common/FilterNode.h
Original file line number Diff line number Diff line change
Expand Up @@ -139,25 +139,11 @@ struct FilterNode {
expression,
partitionKey);
}

template <typename T>
static std::vector<FilterNode> fromColumns(const std::vector<T>& cols);
};

// Define two aliases to capture column filter types
using ColumnFilter = std::vector<FilterNode>;

template <typename T>
std::vector<FilterNode> FilterNode::fromColumns(const std::vector<T>& cols) {
std::vector<FilterNode> nodes;
nodes.reserve(cols.size());
for (auto& col : cols) {
nodes.push_back(col);
}

return nodes;
}

/**
* This class is exact physical schema of data (file)
* with filter node information associated with it.
Expand Down

0 comments on commit 50c2d67

Please sign in to comment.