You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@sedona.apache.org by "Kontinuation (via GitHub)" <gi...@apache.org> on 2026/02/01 03:45:28 UTC

[PR] refactor(sedona-spatial-join): split SpatialPredicate rewrite logic [sedona-db]

Kontinuation opened a new pull request, #567:
URL: https://github.com/apache/sedona-db/pull/567

   ## Summary
   - Refactor spatial predicate projection-rewrite and swap logic into per-predicate implementations via a new .
   - Keep existing  API surface while reducing large match blocks.
   - Preserve behavior for relation, distance, and KNN predicates; add/keep unit coverage.
   
   ## Testing
   - 
   running 327 tests
   test evaluated_batch::evaluated_batch_stream::external::tests::test_external_stream_empty_spill_file_list ... ok
   test evaluated_batch::evaluated_batch_stream::external::tests::test_external_stream_empty_file ... ok
   test evaluated_batch::evaluated_batch_stream::external::tests::test_external_stream_creation ... ok
   test evaluated_batch::evaluated_batch_stream::external::tests::test_external_stream_is_external_flag ... ok
   test evaluated_batch::spill::tests::test_spill_batch_splitting ... ok
   test evaluated_batch::evaluated_batch_stream::external::tests::test_external_stream_poll_after_completion ... ok
   test evaluated_batch::evaluated_batch_stream::external::tests::test_external_stream_preserves_data ... ok
   test evaluated_batch::evaluated_batch_stream::external::tests::test_external_stream_single_batch ... ok
   test evaluated_batch::spill::tests::test_spill_metrics_updated ... ok
   test evaluated_batch::spill::tests::test_spill_empty_batch ... ok
   test evaluated_batch::evaluated_batch_stream::external::tests::test_external_stream_multiple_batches ... ok
   test evaluated_batch::spill::tests::test_spill_rect_preservation ... ok
   test evaluated_batch::spill::tests::test_spill_scalar_distance_preserved ... ok
   test evaluated_batch::spill::tests::test_spill_write_and_read_basic ... ok
   test evaluated_batch::evaluated_batch_stream::external::tests::test_external_stream_concurrent_access ... ok
   test evaluated_batch::spill::tests::test_spill_writer_creation ... ok
   test evaluated_batch::evaluated_batch_stream::external::tests::test_external_stream_multiple_spill_files ... ok
   test evaluated_batch::spill::tests::test_spill_write_and_read_with_array_distance ... ok
   test evaluated_batch::spill::tests::test_spill_multiple_batches ... ok
   test evaluated_batch::spill::tests::test_spill_write_and_read_with_nulls ... ok
   test evaluated_batch::evaluated_batch_stream::external::tests::test_external_stream_large_number_of_batches ... ok
   test exec::tests::test_geography_join_is_not_optimized ... ok
   test exec::tests::test_empty_data ... ok
   test exec::tests::test_knn_join_correctness ... ok
   test exec::tests::test_inner_join ... ok
   test exec::tests::test_full_outer_join ... ok
   test exec::tests::test_left_joins::join_type_1_JoinType__Left ... ok
   test exec::tests::test_left_joins::join_type_2_JoinType__LeftSemi ... ok
   test exec::tests::test_left_joins::join_type_3_JoinType__LeftAnti ... ok
   test exec::tests::test_mark_joins::join_type_1_JoinType__LeftMark ... ok
   test exec::tests::test_mark_join_via_correlated_exists_sql ... ok
   test exec::tests::test_query_window_in_subquery ... ok
   test exec::tests::test_mark_joins::join_type_2_JoinType__RightMark ... ok
   test exec::tests::test_range_join_with_conf::max_batch_size_1_10::execution_mode_1_ExecutionMode__PrepareNone::spatial_library_1_SpatialLibrary__Geo ... ok
   test exec::tests::test_range_join_with_conf::max_batch_size_1_10::execution_mode_1_ExecutionMode__PrepareNone::spatial_library_3_SpatialLibrary__Tg ... ok
   test exec::tests::test_range_join_with_conf::max_batch_size_1_10::execution_mode_1_ExecutionMode__PrepareNone::spatial_library_2_SpatialLibrary__Geos ... ok
   test exec::tests::test_range_join_with_conf::max_batch_size_1_10::execution_mode_2_ExecutionMode__PrepareBuild::spatial_library_1_SpatialLibrary__Geo ... ok
   test exec::tests::test_range_join_with_conf::max_batch_size_1_10::execution_mode_2_ExecutionMode__PrepareBuild::spatial_library_2_SpatialLibrary__Geos ... ok
   test exec::tests::test_range_join_with_conf::max_batch_size_1_10::execution_mode_2_ExecutionMode__PrepareBuild::spatial_library_3_SpatialLibrary__Tg ... ok
   test exec::tests::test_range_join_with_conf::max_batch_size_1_10::execution_mode_3_ExecutionMode__PrepareProbe::spatial_library_3_SpatialLibrary__Tg ... ok
   test exec::tests::test_range_join_with_conf::max_batch_size_1_10::execution_mode_3_ExecutionMode__PrepareProbe::spatial_library_2_SpatialLibrary__Geos ... ok
   test exec::tests::test_range_join_with_conf::max_batch_size_1_10::execution_mode_3_ExecutionMode__PrepareProbe::spatial_library_1_SpatialLibrary__Geo ... ok
   test exec::tests::test_range_join_with_conf::max_batch_size_1_10::execution_mode_4_ExecutionMode__Speculative_20_::spatial_library_1_SpatialLibrary__Geo ... ok
   test exec::tests::test_range_join_with_conf::max_batch_size_1_10::execution_mode_4_ExecutionMode__Speculative_20_::spatial_library_2_SpatialLibrary__Geos ... ok
   test exec::tests::test_range_join_with_conf::max_batch_size_1_10::execution_mode_4_ExecutionMode__Speculative_20_::spatial_library_3_SpatialLibrary__Tg ... ok
   test exec::tests::test_range_join_with_conf::max_batch_size_2_30::execution_mode_1_ExecutionMode__PrepareNone::spatial_library_3_SpatialLibrary__Tg ... ok
   test exec::tests::test_range_join_with_conf::max_batch_size_2_30::execution_mode_1_ExecutionMode__PrepareNone::spatial_library_1_SpatialLibrary__Geo ... ok
   test exec::tests::test_range_join_with_conf::max_batch_size_2_30::execution_mode_1_ExecutionMode__PrepareNone::spatial_library_2_SpatialLibrary__Geos ... ok
   test exec::tests::test_range_join_with_conf::max_batch_size_2_30::execution_mode_2_ExecutionMode__PrepareBuild::spatial_library_3_SpatialLibrary__Tg ... ok
   test exec::tests::test_range_join_with_conf::max_batch_size_2_30::execution_mode_2_ExecutionMode__PrepareBuild::spatial_library_1_SpatialLibrary__Geo ... ok
   test exec::tests::test_range_join_with_conf::max_batch_size_2_30::execution_mode_2_ExecutionMode__PrepareBuild::spatial_library_2_SpatialLibrary__Geos ... ok
   test exec::tests::test_range_join_with_conf::max_batch_size_2_30::execution_mode_3_ExecutionMode__PrepareProbe::spatial_library_2_SpatialLibrary__Geos ... ok
   test exec::tests::test_range_join_with_conf::max_batch_size_2_30::execution_mode_3_ExecutionMode__PrepareProbe::spatial_library_1_SpatialLibrary__Geo ... ok
   test exec::tests::test_range_join_with_conf::max_batch_size_2_30::execution_mode_3_ExecutionMode__PrepareProbe::spatial_library_3_SpatialLibrary__Tg ... ok
   test exec::tests::test_range_join_with_conf::max_batch_size_2_30::execution_mode_4_ExecutionMode__Speculative_20_::spatial_library_1_SpatialLibrary__Geo ... ok
   test exec::tests::test_distance_join_with_conf::max_batch_size_1_30::spatial_library_2_SpatialLibrary__Geos ... ok
   test exec::tests::test_distance_join_with_conf::max_batch_size_2_1000::spatial_library_3_SpatialLibrary__Tg ... ok
   test exec::tests::test_distance_join_with_conf::max_batch_size_2_1000::spatial_library_2_SpatialLibrary__Geos ... ok
   test exec::tests::test_range_join_with_conf::max_batch_size_2_30::execution_mode_4_ExecutionMode__Speculative_20_::spatial_library_2_SpatialLibrary__Geos ... ok
   test exec::tests::test_range_join_with_conf::max_batch_size_2_30::execution_mode_4_ExecutionMode__Speculative_20_::spatial_library_3_SpatialLibrary__Tg ... ok
   test exec::tests::test_distance_join_with_conf::max_batch_size_2_1000::spatial_library_1_SpatialLibrary__Geo ... ok
   test exec::tests::test_distance_join_with_conf::max_batch_size_1_30::spatial_library_1_SpatialLibrary__Geo ... ok
   test exec::tests::test_parallel_refinement_for_large_candidate_set ... ok
   test exec::tests::test_distance_join_with_conf::max_batch_size_1_30::spatial_library_3_SpatialLibrary__Tg ... ok
   test exec::tests::test_range_join_with_conf::max_batch_size_3_1000::execution_mode_1_ExecutionMode__PrepareNone::spatial_library_3_SpatialLibrary__Tg ... ok
   test exec::tests::test_range_join_with_conf::max_batch_size_3_1000::execution_mode_1_ExecutionMode__PrepareNone::spatial_library_1_SpatialLibrary__Geo ... ok
   test exec::tests::test_range_join_with_conf::max_batch_size_3_1000::execution_mode_1_ExecutionMode__PrepareNone::spatial_library_2_SpatialLibrary__Geos ... ok
   test exec::tests::test_range_join_with_conf::max_batch_size_3_1000::execution_mode_2_ExecutionMode__PrepareBuild::spatial_library_1_SpatialLibrary__Geo ... ok
   test exec::tests::test_range_join_with_conf::max_batch_size_3_1000::execution_mode_3_ExecutionMode__PrepareProbe::spatial_library_2_SpatialLibrary__Geos ... ok
   test exec::tests::test_range_join_with_conf::max_batch_size_3_1000::execution_mode_2_ExecutionMode__PrepareBuild::spatial_library_2_SpatialLibrary__Geos ... ok
   test exec::tests::test_range_join_with_conf::max_batch_size_3_1000::execution_mode_4_ExecutionMode__Speculative_20_::spatial_library_1_SpatialLibrary__Geo ... ok
   test exec::tests::test_range_join_with_conf::max_batch_size_3_1000::execution_mode_3_ExecutionMode__PrepareProbe::spatial_library_3_SpatialLibrary__Tg ... ok
   test exec::tests::test_swap_inputs_flips_knn_probe_side_without_swapping_exprs ... ok
   test exec::tests::test_range_join_with_conf::max_batch_size_3_1000::execution_mode_4_ExecutionMode__Speculative_20_::spatial_library_2_SpatialLibrary__Geos ... ok
   test exec::tests::test_try_swapping_with_projection_pushes_down_and_rewrites_knn_predicate_by_probe_side ... ok
   test exec::tests::test_try_swapping_with_projection_pushes_down_and_rewrites_relation_predicate ... ok
   test index::build_side_collector::tests::collect_handles_empty_stream ... ok
   test index::build_side_collector::tests::collect_keeps_batches_in_memory_when_capacity_suffices ... ok
   test index::memory_plan::tests::memory_plan_errors_when_no_memory_but_rows_exist ... ok
   test index::memory_plan::tests::memory_plan_handles_zero_rows ... ok
   test index::memory_plan::tests::memory_plan_partitions_large_jobs ... ok
   test index::memory_plan::tests::memory_plan_uses_entire_reservation_when_fraction_rounds_down ... ok
   test index::build_side_collector::tests::collect_spills_when_reservation_cannot_grow ... ok
   test exec::tests::test_range_join_with_conf::max_batch_size_3_1000::execution_mode_4_ExecutionMode__Speculative_20_::spatial_library_3_SpatialLibrary__Tg ... ok
   test index::partitioned_index_provider::tests::single_partition_builds_once_and_is_cached ... ok
   test index::spatial_index::tests::test_knn_query_execution_edge_cases ... ok
   test index::spatial_index::tests::test_knn_query_execution_empty_index ... ok
   test index::spatial_index::tests::test_knn_query_execution_with_different_k_values ... ok
   test index::spatial_index::tests::test_knn_query_execution_with_sample_data ... ok
   test index::spatial_index::tests::test_knn_query_execution_with_spheroid_distance ... ok
   test index::spatial_index::tests::test_knn_query_execution_with_tie_breakers ... ok
   test index::spatial_index::tests::test_query_batch_empty_range ... ok
   test index::spatial_index::tests::test_knn_query_with_empty_geometry ... ok
   test index::spatial_index::tests::test_query_batch_empty_results ... ok
   test index::spatial_index::tests::test_query_batch_max_result_size ... ok
   test index::spatial_index::tests::test_query_batch_parallel_refinement ... ok
   test index::spatial_index::tests::test_query_batch_range_offset ... ok
   test index::spatial_index::tests::test_query_batch_zero_parallel_refinement_chunk_size ... ok
   test index::spatial_index::tests::test_query_knn_with_geometry_distance ... ok
   test index::spatial_index::tests::test_query_knn_with_mixed_geometries ... ok
   test index::partitioned_index_provider::tests::multi_partition_concurrent_requests_share_indexes ... ok
   test index::spatial_index::tests::test_query_knn_with_tie_breakers_geometry_distance ... ok
   test index::spatial_index::tests::test_spatial_index_builder_add_batch ... ok
   test index::spatial_index::tests::test_spatial_index_builder_empty ... ok
   test partitioning::flat::tests::test_flat_partitioner_creation ... ok
   test partitioning::flat::tests::test_flat_partitioner_empty_bbox_build ... ok
   test partitioning::flat::tests::test_flat_partitioner_empty_bbox_query ... ok
   test partitioning::flat::tests::test_flat_partitioner_multi ... ok
   test partitioning::flat::tests::test_flat_partitioner_no_dup_prefers_largest_overlap ... ok
   test partitioning::flat::tests::test_flat_partitioner_none ... ok
   test partitioning::flat::tests::test_flat_partitioner_regular ... ok
   test partitioning::kdb::tests::test_bbox_at_partition_boundary ... ok
   test partitioning::kdb::tests::test_build_with_samples_outside_boundary ... ok
   test partitioning::kdb::tests::test_empty_tree ... ok
   test partitioning::kdb::tests::test_find_leaf_nodes_matches_visit ... ok
   test partitioning::kdb::tests::test_kdb_find_overlapping_partitions ... ok
   test partitioning::kdb::tests::test_kdb_insert_and_leaf_assignment ... ok
   test partitioning::kdb::tests::test_find_leaf_nodes_no_match ... ok
   test partitioning::kdb::tests::test_kdb_partitioner ... ok
   test partitioning::kdb::tests::test_kdb_partitioner_empty_bbox_query ... ok
   test partitioning::kdb::tests::test_kdb_partitioner_empty_extent ... ok
   test partitioning::kdb::tests::test_max_overlap_selection ... ok
   test partitioning::kdb::tests::test_out_of_bounds ... ok
   test partitioning::kdb::tests::test_kdb_partitioner_num_partitions_no_less_than_specified ... ok
   test partitioning::kdb::tests::test_large_number_of_partitions ... ok
   test partitioning::kdb::tests::test_point_like_bboxes ... ok
   test partitioning::kdb::tests::test_split_behavior ... ok
   test partitioning::kdb::tests::test_wraparound_queries_rejected ... ok
   test partitioning::kdb::tests::test_wraparound_samples_rejected ... ok
   test partitioning::kdb::tests::test_partition_assignment_consistency ... ok
   test partitioning::rtree::tests::test_partition_boundary_edge ... ok
   test partitioning::rtree::tests::test_partition_multiple_intersections ... ok
   test partitioning::rtree::tests::test_num_partitions ... ok
   test partitioning::rtree::tests::test_partition_none ... ok
   test partitioning::rtree::tests::test_partition_with_empty_boundaries_returns_none ... ok
   test partitioning::rtree::tests::test_partition_wraparound_input ... ok
   test partitioning::rtree::tests::test_partition_single_intersection ... ok
   test partitioning::rtree::tests::test_rtree_partitioner_creation ... ok
   test partitioning::rtree::tests::test_rtree_partitioner_empty_bbox_query ... ok
   test partitioning::rtree::tests::test_rtree_partitioner_empty_bbox_build ... ok
   test partitioning::rtree::tests::test_rtree_partitioner_empty_boundaries ... ok
   test partitioning::rtree::tests::test_rtree_partitioner_wraparound_boundary ... ok
   test partitioning::stream_repartitioner::tests::interleave_distance_arrays ... ok
   test partitioning::stream_repartitioner::tests::interleave_distance_different_scalars ... ok
   test partitioning::stream_repartitioner::tests::interleave_distance_inconsistent_metadata ... ok
   test partitioning::stream_repartitioner::tests::interleave_binary_view_array ... ok
   test exec::tests::test_range_join_with_conf::max_batch_size_3_1000::execution_mode_2_ExecutionMode__PrepareBuild::spatial_library_3_SpatialLibrary__Tg ... ok
   test partitioning::stream_repartitioner::tests::interleave_distance_mixed_scalar_and_array ... ok
   test partitioning::stream_repartitioner::tests::interleave_distance_mixed_none_and_null ... ok
   test partitioning::stream_repartitioner::tests::interleave_distance_none ... ok
   test partitioning::stream_repartitioner::tests::interleave_distance_uniform_scalar ... ok
   test partitioning::stream_repartitioner::tests::interleave_evaluated_batch_empty_assignments ... ok
   test partitioning::stream_repartitioner::tests::streaming_repartitioner_buffers_until_threshold ... ok
   test partitioning::stream_repartitioner::tests::streaming_repartitioner_finishes_partitions ... ok
   test partitioning::util::tests::test_bbox_to_f32_rect_empty ... ok
   test partitioning::stream_repartitioner::tests::repartition_multi_and_none ... ok
   test partitioning::util::tests::test_bbox_to_f32_rect_large_values ... ok
   test partitioning::util::tests::test_bbox_to_f32_rect_negative ... ok
   test partitioning::util::tests::test_bbox_to_f32_rect_preserves_bounds ... ok
   test partitioning::util::tests::test_bbox_to_f32_rect_simple ... ok
   test partitioning::util::tests::test_bbox_to_f32_rect_wraparound_rejected ... ok
   test partitioning::util::tests::test_rect_helpers ... ok
   test partitioning::stream_repartitioner::tests::repartition_basic ... ok
   test planner::spatial_expr_utils::tests::test_collect_column_references ... ok
   test planner::spatial_expr_utils::tests::test_complex_nested_spatial_and_filters ... ok
   test planner::spatial_expr_utils::tests::test_extract_spatial_predicate_knn ... ok
   test planner::spatial_expr_utils::tests::test_extract_spatial_predicate_knn_with_and ... ok
   test partitioning::stream_repartitioner::tests::streaming_repartitioner_respects_target_batch_size ... ok
   test planner::spatial_expr_utils::tests::test_extract_spatial_predicate_knn_with_multiple_clauses ... ok
   test planner::spatial_expr_utils::tests::test_extract_spatial_predicate_knn_no_remainder ... ok
   test planner::spatial_expr_utils::tests::test_extract_spatial_predicate_no_spatial ... ok
   test planner::spatial_expr_utils::tests::test_extract_spatial_predicate_distance_in_and ... ok
   test planner::spatial_expr_utils::tests::test_extract_spatial_predicate_simple ... ok
   test planner::spatial_expr_utils::tests::test_extract_spatial_predicate_with_and ... ok
   test planner::spatial_expr_utils::tests::test_is_knn_predicate_supported ... ok
   test planner::spatial_expr_utils::tests::test_is_spatial_predicate ... ok
   test planner::spatial_expr_utils::tests::test_is_spatial_predicate_supported ... ok
   test planner::spatial_expr_utils::tests::test_match_distance_predicate_st_distance_comparison ... ok
   test planner::spatial_expr_utils::tests::test_match_knn_predicate_basic ... ok
   test planner::spatial_expr_utils::tests::test_match_distance_predicate_st_dwithin ... ok
   test planner::spatial_expr_utils::tests::test_match_distance_predicate_with_column_distance ... ok
   test planner::spatial_expr_utils::tests::test_match_knn_predicate_both_sides_in_k_expression ... ok
   test planner::spatial_expr_utils::tests::test_match_knn_predicate_complex_k_expressions ... ok
   test planner::spatial_expr_utils::tests::test_match_knn_predicate_insufficient_args ... ok
   test planner::spatial_expr_utils::tests::test_match_knn_predicate_complex_use_spheroid_expressions ... ok
   test planner::spatial_expr_utils::tests::test_match_knn_predicate_inverted ... ok
   test planner::spatial_expr_utils::tests::test_match_knn_predicate_nested_expressions ... ok
   test planner::spatial_expr_utils::tests::test_match_knn_predicate_non_column_arguments ... ok
   test planner::spatial_expr_utils::tests::test_match_knn_predicate_same_side_fails ... ok
   test planner::spatial_expr_utils::tests::test_match_knn_predicate_spheroid_true_accepted ... ok
   test planner::spatial_expr_utils::tests::test_match_knn_predicate_wrong_function_name ... ok
   test planner::spatial_expr_utils::tests::test_match_relation_predicate_same_side_fails ... ok
   test planner::spatial_expr_utils::tests::test_match_relation_predicate_st_intersects ... ok
   test planner::spatial_expr_utils::tests::test_match_relation_predicate_st_within_inverted ... ok
   test planner::spatial_expr_utils::tests::test_replace_join_filter_expr ... ok
   test planner::spatial_expr_utils::tests::test_reproject_column_reference_complex ... ok
   test planner::spatial_expr_utils::tests::test_reproject_column_references ... ok
   test planner::spatial_expr_utils::tests::test_reproject_column_references_for_left_side ... ok
   test planner::spatial_expr_utils::tests::test_reproject_column_references_for_none_side ... ok
   test planner::spatial_expr_utils::tests::test_reproject_column_references_for_right_side ... ok
   test planner::spatial_expr_utils::tests::test_side_of_column_references ... ok
   test planner::spatial_expr_utils::tests::test_resolve_column_reference_sides ... ok
   test planner::spatial_expr_utils::tests::test_transform_join_filter_with_complex_knn_predicate ... ok
   test planner::spatial_expr_utils::tests::test_transform_join_filter_with_knn_predicate ... ok
   test planner::spatial_expr_utils::tests::test_transform_join_filter_with_spatial_and_non_spatial ... ok
   test refine::exec_mode_selector::tests::test_exec_mode_selector_progression ... ok
   test refine::exec_mode_selector::tests::test_get_or_update_execution_mode_neither_ready ... ok
   test planner::spatial_expr_utils::tests::test_transform_join_filter_with_spatial_predicate ... ok
   test refine::exec_mode_selector::tests::test_get_or_update_execution_mode_ready ... ok
   test refine::exec_mode_selector::tests::test_get_or_update_execution_mode_selector_ready ... ok
   test refine::geo::tests::test_geo_refiner_distance_predicate_immediate_selection ... ok
   test refine::geo::tests::test_geo_refiner_intersects_ignore_build_complexity ... ok
   test refine::geo::tests::test_geo_refiner_all_relation_types ... ok
   test refine::geo::tests::test_geo_refiner_intersects_predicate_needs_stats ... ok
   test refine::geo::tests::test_geo_refiner_intersects_with_complex_geometries_prefer_probe ... ok
   test refine::geo::tests::test_geo_refiner_intersects_with_simple_geometries ... ok
   test refine::geo::tests::test_geo_refiner_select_optimal_mode_function ... ok
   test refine::geo::tests::test_geo_refiner_non_speculative_mode ... ok
   test refine::geos::tests::test_geos_refiner_contains_predicate_immediate_selection::case_1 ... ok
   test refine::geos::tests::test_geos_refiner_contains_predicate_immediate_selection::case_2 ... ok
   test refine::geos::tests::test_geos_refiner_distance_predicate_immediate_selection ... ok
   test refine::geos::tests::test_geos_refiner_intersects_needs_stats ... ok
   test prepare::tests::merge_spilled_partitions_combines_files_and_stats ... ok
   test refine::geos::tests::test_geos_refiner_intersects_with_stats_prefer_build ... ok
   test refine::geos::tests::test_geos_refiner_intersects_with_stats_prefer_probe ... ok
   test refine::geos::tests::test_geos_refiner_non_speculative_mode ... ok
   test refine::geos::tests::test_geos_refiner_other_predicates_immediate_selection::case_1 ... ok
   test refine::geos::tests::test_geos_refiner_other_predicates_immediate_selection::case_2 ... ok
   test refine::geos::tests::test_geos_refiner_other_predicates_immediate_selection::case_3 ... ok
   test refine::geos::tests::test_geos_refiner_other_predicates_immediate_selection::case_4 ... ok
   test refine::geos::tests::test_geos_refiner_select_optimal_mode::case_1 ... ok
   test refine::geos::tests::test_geos_refiner_prepared_geom_array_sizing ... ok
   test refine::geos::tests::test_geos_refiner_select_optimal_mode::case_2 ... ok
   test refine::geos::tests::test_geos_refiner_select_optimal_mode::case_3 ... ok
   test refine::geos::tests::test_geos_refiner_select_optimal_mode::case_4 ... ok
   test refine::geos::tests::test_geos_refiner_select_optimal_mode::case_5 ... ok
   test refine::geos::tests::test_geos_refiner_select_optimal_mode::case_6 ... ok
   test refine::geos::tests::test_geos_refiner_select_optimal_mode::case_7 ... ok
   test refine::geos::tests::test_geos_refiner_select_optimal_mode::case_8 ... ok
   test refine::geos::tests::test_geos_refiner_within_predicate_immediate_selection::case_1 ... ok
   test refine::geos::tests::test_geos_refiner_within_predicate_immediate_selection::case_2 ... ok
   test refine::geos::tests::test_owned_prepared_geometry_creation ... ok
   test refine::tg::tests::test_tg_refiner_contains_predicate_immediate_selection ... ok
   test refine::tg::tests::test_tg_refiner_covered_by_predicate_immediate_selection ... ok
   test refine::tg::tests::test_tg_refiner_covers_predicate_immediate_selection ... ok
   test refine::tg::tests::test_tg_refiner_distance_predicate_unsupported ... ok
   test refine::tg::tests::test_tg_refiner_intersects_predicate_needs_stats ... ok
   test refine::tg::tests::test_tg_refiner_intersects_with_complex_geometries_prefer_build ... ok
   test refine::tg::tests::test_tg_refiner_intersects_with_complex_geometries_prefer_probe ... ok
   test refine::tg::tests::test_tg_refiner_intersects_with_simple_geometries ... ok
   test refine::tg::tests::test_tg_refiner_non_speculative_mode ... ok
   test refine::tg::tests::test_tg_refiner_select_optimal_mode_function ... ok
   test refine::tg::tests::test_tg_refiner_prepared_geom_array_sizing ... ok
   test refine::tg::tests::test_tg_refiner_within_predicate_immediate_selection ... ok
   test spatial_predicate::tests::distance_rewrite_distance_side_left ... ok
   test spatial_predicate::tests::distance_rewrite_distance_side_none_keeps_literal ... ok
   test spatial_predicate::tests::knn_rewrite_errors_on_none_probe_side ... ok
   test spatial_predicate::tests::knn_rewrite_success_probe_left_and_right ... ok
   test spatial_predicate::tests::relation_rewrite_none_when_missing ... ok
   test spatial_predicate::tests::relation_rewrite_success ... ok
   test stream::tests::test_assemble_partial_build_batch_duplicate_references ... ok
   test stream::tests::test_assemble_partial_build_batch_empty_batch ... ok
   test stream::tests::test_assemble_partial_build_batch_empty_indices ... ok
   test stream::tests::test_assemble_partial_build_batch_multiple_batches ... ok
   test stream::tests::test_assemble_partial_build_batch_single_batch ... ok
   test utils::arrow_utils::tests::test_binary_view_array_memory_size ... ok
   test utils::arrow_utils::tests::test_compact_array_compacts_struct_containnig_binary_view ... ok
   test utils::arrow_utils::tests::test_compact_array_compacts_list_of_binary_view ... ok
   test utils::arrow_utils::tests::test_compact_array_list_without_view_is_noop ... ok
   test utils::arrow_utils::tests::test_compact_array_struct_without_view_is_noop ... ok
   test exec::tests::test_range_join_with_conf::max_batch_size_3_1000::execution_mode_3_ExecutionMode__PrepareProbe::spatial_library_1_SpatialLibrary__Geo ... ok
   test utils::arrow_utils::tests::test_compact_batch_without_view_returns_input_as_is ... ok
   test utils::arrow_utils::tests::test_schema_contains_view_types_nested ... ok
   test utils::arrow_utils::tests::test_schema_contains_view_types_top_level ... ok
   test utils::arrow_utils::tests::test_compact_batch_recurses_into_struct ... ok
   test utils::arrow_utils::tests::test_string_view_array_memory_size ... ok
   test utils::arrow_utils::tests::test_struct_array_with_list_of_view_and_list_of_i32_memory_size_slices_xfail ... ignored, XFAIL: get_array_memory_size slice accounting for ListArray is incorrect/fragile
   test utils::arrow_utils::tests::test_sliced_view_array_memory_size ... ok
   test utils::arrow_utils::tests::test_struct_array_with_list_of_view_and_list_of_i32_memory_size ... ok
   test utils::arrow_utils::tests::test_struct_array_with_view_memory_size ... ok
   test utils::bbox_sampler::tests::test_combine_samples ... ok
   test utils::bbox_sampler::tests::test_combine_with_zero_population ... ok
   test utils::bbox_sampler::tests::test_combine_with_zero_sampling_rate ... ok
   test utils::bbox_sampler::tests::test_empty ... ok
   test utils::bbox_sampler::tests::test_deterministic_with_seeded_rng ... ok
   test stream::tests::test_produce_joined_indices ... ok
   test utils::disposable_async_cell::tests::dispose_unblocks_waiters ... ok
   test utils::disposable_async_cell::tests::get_returns_value_once_set ... ok
   test utils::bbox_sampler::tests::test_uniform_sampling_across_space ... ok
   test utils::disposable_async_cell::tests::multiple_waiters_receive_same_value ... ok
   test utils::disposable_async_cell::tests::set_after_dispose_fails ... ok
   test utils::disposable_async_cell::tests::set_twice_rejects_second_value ... ok
   test utils::init_once_array::tests::test_concurrent_different_indices ... ok
   test utils::init_once_array::tests::test_concurrent_get_or_create ... ok
   test utils::init_once_array::tests::test_concurrent_mixed_operations ... ok
   test utils::init_once_array::tests::test_concurrent_set_if_null ... ok
   test utils::init_once_array::tests::test_drop_cleans_up_memory ... ok
   test utils::init_once_array::tests::test_error_doesnt_set_value ... ok
   test utils::init_once_array::tests::test_get_or_create_error ... ok
   test utils::init_once_array::tests::test_get_or_create_success ... ok
   test utils::init_once_array::tests::test_init_once_array_empty ... ok
   test utils::init_once_array::tests::test_init_once_array_new ... ok
   test utils::init_once_array::tests::test_send_sync_traits ... ok
   test utils::init_once_array::tests::test_set_if_null_empty_slot ... ok
   test utils::init_once_array::tests::test_set_if_null_occupied_slot ... ok
   test utils::init_once_array::tests::test_with_different_types ... ok
   test utils::join_utils::tests::adjust_right_output_partitioning_offsets_hash_columns ... ok
   test utils::join_utils::tests::adjust_right_output_partitioning_passthrough_non_hash ... ok
   test utils::join_utils::tests::asymmetric_join_output_partitioning_all_combinations_hash_keys ... ok
   test utils::join_utils::tests::compute_join_emission_type_always_both_for_full_outer_join ... ok
   test utils::join_utils::tests::compute_join_emission_type_incremental_when_join_type_and_probe_side_matches ... ok
   test utils::join_utils::tests::compute_join_emission_type_prefers_final_for_unbounded_build ... ok
   test utils::join_utils::tests::compute_join_emission_type_uses_probe_behavior_for_inner_join ... ok
   test utils::once_fut::tests::check_error_nesting ... ok
   test utils::spill::tests::test_record_batch_spill_auto_splitting ... ok
   test utils::disposable_async_cell::tests::get_waits_until_value_is_set ... ok
   test utils::spill::tests::test_record_batch_spill_round_trip ... ok
   test utils::spill::tests::test_record_batch_spill_empty_batch_round_trip ... ok
   test utils::spill::tests::test_record_batch_spill_sliced_binary_view_not_excessive ... ok
   test utils::bbox_sampler::tests::test_all_stages_of_sampling ... ok
   test utils::bbox_sampler::tests::test_large_dataset ... ok
   test exec::tests::test_right_joins::join_type_3_JoinType__RightAnti ... ok
   test exec::tests::test_right_joins::join_type_2_JoinType__RightSemi ... ok
   test exec::tests::test_right_joins::join_type_1_JoinType__Right ... ok
   test exec::tests::test_range_join_with_empty_partitions ... ok
   test stream::tests::test_fuzz_produce_probe_indices ... ok
   test exec::tests::test_spatial_join_with_filter ... ok
   
   test result: ok. 326 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in 3.33s
   
   
   running 3 tests
   test rust/sedona-spatial-join/src/partitioning/rtree.rs - partitioning::rtree::RTreePartitioner::try_new (line 76) ... ok
   test rust/sedona-spatial-join/src/partitioning/kdb.rs - partitioning::kdb::KDBPartitioner (line 433) ... ok
   test rust/sedona-spatial-join/src/partitioning/kdb.rs - partitioning::kdb::KDBTree (line 66) ... ok
   
   test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.99s
   
   ## Notes
   - This is a code-structure refactor; no functional changes intended.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@sedona.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] refactor(sedona-spatial-join): split SpatialPredicate rewrite logic [sedona-db]

Posted by "Kontinuation (via GitHub)" <gi...@apache.org>.
Kontinuation closed pull request #567: refactor(sedona-spatial-join): split SpatialPredicate rewrite logic
URL: https://github.com/apache/sedona-db/pull/567


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@sedona.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org