sqlalchemy icon indicating copy to clipboard operation
sqlalchemy copied to clipboard

support Oracle JSON datatype

Open zzzeek opened this issue 3 years ago • 5 comments

Discussed in https://github.com/sqlalchemy/sqlalchemy/discussions/10374

it's in Oracle 21 so we need that.

zzzeek avatar Sep 20 '23 14:09 zzzeek

Any update on this issue? it's in Oracle 23 now

IthacaDream avatar Jul 11 '24 01:07 IthacaDream

The issue is still open, so no.

A pr would speed things up

CaselIT avatar Jul 11 '24 05:07 CaselIT

Hi, I am intersted on working on this issue.

I am still getting my head around how I will pull this off. What I am looking at right now is:

  • pg's implementation of the JSON datatype
  • tests related to pg dialect (test_types, test_query, test_dialect?).
  • the latest added type to oracle dialect (# 13000)
  • the project architecture

7adidaz avatar Dec 31 '25 21:12 7adidaz

Makes sense. Postgresql has a lot of operators that may not apply in oracle, but the general idea should be similar

CaselIT avatar Jan 01 '26 17:01 CaselIT

abdallah elhdad has proposed a fix for this issue in the main branch:

Add JSON type support for Oracle dialect https://gerrit.sqlalchemy.org/c/sqlalchemy/sqlalchemy/+/6547

sqla-tester avatar Apr 02 '26 19:04 sqla-tester