Skip to content

Add Geography support for ST_KNN (#3178) - #3319

Closed
SHIVANSH-ux-ys wants to merge 2 commits into
apache:masterfrom
SHIVANSH-ux-ys:feature-3178-st-knn-geography
Closed

Add Geography support for ST_KNN (#3178)#3319
SHIVANSH-ux-ys wants to merge 2 commits into
apache:masterfrom
SHIVANSH-ux-ys:feature-3178-st-knn-geography

Conversation

@SHIVANSH-ux-ys

Copy link
Copy Markdown

This PR adds GeographyType support to ST_KNN for spatial k-nearest-neighbour joins on geography columns (#3178).

Changes

  • Updated Predicates.scala and Functions.java with Geography overloads for ST_KNN.
  • Updated JoinQueryDetector.scala to detect GeographyUDT columns for ST_KNN joins.
  • Added unit test in KnnJoinSuite.scala covering ST_KNN with geography columns.

@jiayuasu jiayuasu left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please do not work on very difficult tickets without asking first.

@jiayuasu jiayuasu closed this Sep 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants