Skip to content

feat: add IvorySQL Oracle-compatible type support#1

Open
NotHimmel wants to merge 1 commit intoIvorySQL:mainfrom
NotHimmel:main
Open

feat: add IvorySQL Oracle-compatible type support#1
NotHimmel wants to merge 1 commit intoIvorySQL:mainfrom
NotHimmel:main

Conversation

@NotHimmel
Copy link
Copy Markdown
Collaborator

Add OID caching and type conversion for 15 IvorySQL Oracle types: oradate, oratimestamp, oratimestamptz, oratimestampltz, yminterval, dsinterval, number, binary_float, binary_double, oravarcharchar, oravarcharbyte, oracharchar, oracharbyte, raw_long, xmltype.

  • Lookup IvorySQL type OIDs from the 'sys' namespace at metadata cache initialization time, with InvalidOid fallback when IvorySQL is absent.
  • Map IvorySQL types to/from DuckDB logical types using "ivory:" aliases.
  • Handle Oracle CHAR blank-padding semantics in string conversion.
  • Add ivorysql_types regression test to verify standard-PG fallback path produces no regressions.

Add OID caching and type conversion for 15 IvorySQL Oracle types:
oradate, oratimestamp, oratimestamptz, oratimestampltz, yminterval,
dsinterval, number, binary_float, binary_double, oravarcharchar,
oravarcharbyte, oracharchar, oracharbyte, raw_long, xmltype.

- Lookup IvorySQL type OIDs from the 'sys' namespace at metadata cache
  initialization time, with InvalidOid fallback when IvorySQL is absent.
- Map IvorySQL types to/from DuckDB logical types using "ivory:" aliases.
- Handle Oracle CHAR blank-padding semantics in string conversion.
- Add ivorysql_types regression test to verify standard-PG fallback
  path produces no regressions.
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.

1 participant