Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
Patch
Description
The spatial join operation fails when both datasets involved in the join have indices. The operation succeeds if one of the datasets does not have an index or if the index-only plan is disabled using the command: SET compiler.indexonly "false";
Expected Behavior: The spatial join should work seamlessly with indexed datasets without the need to disable the index-only plan.
Actual Behavior: The spatial join fails when both datasets have indices, indicating an issue with the index-only plan mechanism.
Workaround: Disabling the index-only plan with the command SET }}compiler.indexonly{{ "false"; allows the spatial join to succeed.
Attachments:
- Queries to replicate the issue.(QueriesToReplicateIssues.txt)
- Log trace showcasing the error.(LogTrace.txt)