Skip to content

Commit ed488d2

Browse files
committed
Added Json type to the sqlalchemy parser
1 parent 1f8cf73 commit ed488d2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/databricks/sqlalchemy/_types.py

+1
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ def process_literal_param_hack(value: Any):
3333
@compiles(sqlalchemy.types.Unicode, "databricks")
3434
@compiles(sqlalchemy.types.UnicodeText, "databricks")
3535
@compiles(sqlalchemy.types.Uuid, "databricks")
36+
@compiles(sqlalchemy.types.Json, "databricks")
3637
def compile_string_databricks(type_, compiler, **kw):
3738
"""
3839
We override the default compilation for Enum(), String(), Text(), and Time() because SQLAlchemy

0 commit comments

Comments
 (0)