Skip to content

Improve SQLAlchemy ColumnElement serialization for hashing #1381

@ilongin

Description

@ilongin

Currently we have function serialize_column_element() which takes one instance of ColumnElement and returns deterministic hashable structure in form of dict.
The issue is that we have couple of most common variations of ColumnElement checked like BinaryExpression but there might be more so we should refactor it to work for any kind of ColumnElement without explicit checks for subclasses.

Metadata

Metadata

Assignees

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