Skip to content

ROWNUM Pseudocolumn Implementation - Test Cases and Implementation Guide #10

Closed as not planned

Description

@rophy

ROWNUM Pseudocolumn Implementation

This issue tracks the implementation of Oracle ROWNUM pseudocolumn support in IvorySQL.

Related to: IvorySQL#41

Documentation

All design documentation, test cases, and Oracle behavior verification are tracked in the repository:

Quick Summary

ROWNUM is an Oracle pseudocolumn that returns sequential numbers (1, 2, 3...) as rows are retrieved. It has special behavior:

  • ✅ WHERE ROWNUM <= N - Works (returns first N rows)
  • ❌ WHERE ROWNUM > 1 - Returns NO rows (critical Oracle quirk)
  • ⚠️ ROWNUM assigned before ORDER BY

Implementation Status

See the design document for the complete implementation checklist covering Parser, Optimizer, and Executor layers.

Branch: feat/rownum

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions