Skip to content

PLAN-010 Phase 9: Create Geometry API Builder Protocol (Stubs) #69

Description

@discreteds

Phase 9: Create Geometry Protocol (Stubs)

Priority: P2 (Medium)
Effort: Small
Methods: +18
New Files: 1
Depends on: PLAN-009 Phase 8 (#60)

Description

Create API builder protocol stubs for geometry operations. All implementations will raise NotImplementedError.

File to Create

src/mountainash_expressions/core/expression_protocols/api_builders/substrait/prtcl_api_bldr_scalar_geometry.py

Methods to Add (18 stubs)

All geometry operations from Substrait specification including:

  • Point operations
  • Line operations
  • Polygon operations
  • Distance/relationship functions

Implementation Notes

All 18 geometry methods will be protocol stubs. Corresponding backend implementations raise NotImplementedError("Geometry operations require specialized libraries").

Acceptance Criteria

  • Protocol file created
  • All 18 method stubs defined
  • Consistent with expression system geometry protocol
  • Update substrait/__init__.py with new import

Reference

  • ADR-010: API Builder Protocol Alignment
  • Substrait geometry extension

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions