Skip to content

Commit

Permalink
[native] Remove const from VeloxPlanValidator.
Browse files Browse the repository at this point in the history
  • Loading branch information
amitkdutta committed Dec 4, 2024
1 parent a524d33 commit 72b2324
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ namespace facebook::presto {
protocol::PlanConversionResponse prestoToVeloxPlanConversion(
const std::string& planFragmentJson,
memory::MemoryPool* pool,
const VeloxPlanValidator* planValidator) {
VeloxPlanValidator* planValidator) {
protocol::PlanConversionResponse response;

try {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,6 @@ namespace facebook::presto {
protocol::PlanConversionResponse prestoToVeloxPlanConversion(
const std::string& planFragmentJson,
velox::memory::MemoryPool* pool,
const VeloxPlanValidator* planValidator);
VeloxPlanValidator* planValidator);

} // namespace facebook::presto
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ bool planHasNestedJoinLoop(const velox::core::PlanNodePtr planNode) {
}

void VeloxPlanValidator::validatePlanFragment(
const velox::core::PlanFragment& fragment) const {
const velox::core::PlanFragment& fragment) {
const auto failOnNestedLoopJoin =
SystemConfig::instance()
->optionalProperty<bool>(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@
namespace facebook::presto {
class VeloxPlanValidator {
public:
virtual void validatePlanFragment(
const velox::core::PlanFragment& fragment) const;
virtual void validatePlanFragment(const velox::core::PlanFragment& fragment);
virtual ~VeloxPlanValidator() = default;
};
} // namespace facebook::presto

0 comments on commit 72b2324

Please sign in to comment.