Skip to content

Databricks dialects does not seem to support Type Json #32

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?

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions