Skip to content
This repository was archived by the owner on May 17, 2024. It is now read-only.

Fix databricks schema handling #836

Merged
merged 1 commit into from
Jan 3, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion data_diff/databases/databricks.py
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ def _process_table_schema(
resulted_rows = []
for info in col_infos:
raw_data_type = info.data_type
row_type = "DECIMAL" if info.data_type.startswith("DECIMAL") else info.data_type
row_type = info.data_type.split("(")[0]
info = attrs.evolve(info, data_type=row_type)
type_cls = self.dialect.TYPE_CLASSES.get(row_type, UnknownColType)

Expand Down