docs: private static void updatePartialIndex(IndexScanPlanNode scan) {
          if (scan.getPredicate() == null && scan.getPartialIndexPredicate() != null) {
              if (scan.isForSortOrderOnly()) {
                  scan.setPredicate(Collections.singletonList(scan.getPartialIndexPredicate()));
              }
              scan.setForPartialIndexOnly();
          }
      }