Skip to content

Databricks dialects does not seem to support Type Json #32

@noklam

Description

@noklam

CompileError: (in table 'runs', column 'params'): Compiler <sqlalchemy.sql.compiler.GenericTypeCompiler object
at 0x16e361210> can't render element of type JSON

This is part of the definition of my tables

class SomeTable(Base):
    params = Column(JSON, nullable=False, default={})
    ...

Is there a workaround or recommended way to deal with JSON type?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions