Skip to content

Commit

Permalink
Slightly alter planner logic to allow BinderExceptions to be thrown u…
Browse files Browse the repository at this point in the history
…p instead of looking into the operator extension
  • Loading branch information
Dtenwolde committed Jul 4, 2023
1 parent 07f0f0c commit fd44771
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/planner/planner.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,9 @@ void Planner::CreatePlan(SQLStatement &statement) {
this->types = {LogicalTypeId::UNKNOWN};
this->plan = nullptr;
parameters_resolved = false;
} catch (const Exception &ex) {
} catch (const BinderException &ex) {
throw;
} catch (const Exception &ex) {
auto &config = DBConfig::GetConfig(context);

this->plan = nullptr;
Expand Down

0 comments on commit fd44771

Please sign in to comment.