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

Commit 69a37b7

Browse files
authored
Merge pull request #848 from datafold/alexey-lab-271-redshift-spectrum-xdb-int-and-float-type-mapping
LAB-271 Redshift Spectrum type mapping
2 parents 831ecbb + d59eab7 commit 69a37b7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

data_diff/databases/redshift.py

+3
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
FractionalType,
1111
DbPath,
1212
TimestampTZ,
13+
Integer,
1314
)
1415
from data_diff.databases.postgresql import (
1516
BaseDialect,
@@ -31,6 +32,8 @@ class Dialect(PostgresqlDialect):
3132
"double": Float,
3233
"real": Float,
3334
"super": JSON,
35+
"int": Integer, # Redshift Spectrum
36+
"float": Float, # Redshift Spectrum
3437
}
3538
SUPPORTS_INDEXES = False
3639

0 commit comments

Comments
 (0)