Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove costing index scan of hypertable parent
When computing cost for a merge join path, an index scan will be done on the relation to find the actual variable range using `get_actual_variable_range()`, which will include an index scan of the hypertable parent. In addition to being unneccessary, it can also cause problems in situations where the hypertable parent contains data as a result of a bug. There is a check that an index scan is not done for a partitioned table, so we do the same here by setting the indexlist to NIL after hypertable expansion. The index list is needed while expanding the hypertables to construct correct index scans for chunks of a hypertable.
- Loading branch information