Skip to content

Complete type system: DECIMAL, full temporal, BOOLEAN, three-valued logic #25

Description

@siyul-park

Summary

Some SQL types lack a faithful representation and NULL handling is simplified.

Scope

  • Exact DECIMAL/NUMERIC (no float rounding)
  • Full DATE / TIME / TIMESTAMP / DATETIME with timezone
  • BOOLEAN as a distinct type
  • Complete three-valued logic for AND/OR/NOT and comparisons
  • Implicit/explicit type coercion rules matching standard SQL

Acceptance

Arithmetic, comparison, and NULL behavior match standard SQL for every type.

Notes

Extend value/ and the runtime boxing layer. Boxed carries no SQL type tag, so non-native types currently use a heap cell; a tagged representation may be needed.

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

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions