Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Fix ODR violation coming from DuckLogicalOperator.h (#12016)
Summary: Pull Request resolved: #12016 DuckLogicalOperator.h defines a bunch of DuckDB logical plan nodes that would come from duckdb-internal.hpp but we can't include that file. #11930 added LogicalOrder and included a minimal version of the definition in DuckDB 0.8.1 not including a bunch of fields/functions we don't use. I see minimal versions of other plan nodes are likewise used in the file, but for whatever reason, this one in particular is tripping up ODR issue detection during linking when UBSan is enabled. The fix I offer here is to copy the definition verbatim from duckdb/planner/operator/logical_order.hpp. I also noticed some unnecessary includes in velox/parse/QueryPlanner.cpp introduced by that PR while debugging which I've removed here for cleanliness, they're not critical to the fix. Reviewed By: xiaoxmeng, kgpai Differential Revision: D67804092 fbshipit-source-id: 7f3363c0bdd340d180da431222f5e7b1b1913f4f
- Loading branch information