Skip to content

Commit

Permalink
[CP] Disable skip scan default for hotfix
Browse files Browse the repository at this point in the history
  • Loading branch information
obdev authored and ob-robot committed Sep 8, 2023
1 parent b5cab8d commit f8a756d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/sql/optimizer/ob_join_order.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2436,6 +2436,8 @@ int ObJoinOrder::will_use_skip_scan(const uint64_t table_id,
use_skip_scan = OptSkipScanState::SS_HINT_ENABLE;
} else if (hint_force_no_skip_scan) {
use_skip_scan = OptSkipScanState::SS_DISABLE;
} else if (true/* TODO yuanzhe read parameter, just for hotfix */) {
use_skip_scan = OptSkipScanState::SS_DISABLE;
} else if (helper.is_inner_path_ || get_tables().is_subset(get_plan()->get_subq_pdfilter_tset())) {
use_skip_scan = OptSkipScanState::SS_DISABLE;
} else {
Expand Down

0 comments on commit f8a756d

Please sign in to comment.