@@ -232,6 +232,7 @@ def sa_integer(_, satype, nullable=True):
232
232
233
233
234
234
@dt .dtype .register (Dialect , mysql .TINYINT )
235
+ @dt .dtype .register (MSDialect , mssql .TINYINT )
235
236
def sa_mysql_tinyint (_ , satype , nullable = True ):
236
237
return dt .Int8 (nullable = nullable )
237
238
@@ -242,10 +243,16 @@ def sa_mysql_bit(_, satype, nullable=True):
242
243
243
244
244
245
@dt .dtype .register (Dialect , sa .types .BigInteger )
246
+ @dt .dtype .register (MSDialect , mssql .MONEY )
245
247
def sa_bigint (_ , satype , nullable = True ):
246
248
return dt .Int64 (nullable = nullable )
247
249
248
250
251
+ @dt .dtype .register (MSDialect , mssql .SMALLMONEY )
252
+ def sa_mssql_smallmoney (_ , satype , nullable = True ):
253
+ return dt .Int32 (nullable = nullable )
254
+
255
+
249
256
@dt .dtype .register (Dialect , sa .REAL )
250
257
def sa_real (_ , satype , nullable = True ):
251
258
return dt .Float32 (nullable = nullable )
@@ -259,10 +266,16 @@ def sa_double(_, satype, nullable=True):
259
266
260
267
261
268
@dt .dtype .register (PGDialect , postgresql .UUID )
269
+ @dt .dtype .register (MSDialect , mssql .UNIQUEIDENTIFIER )
262
270
def sa_uuid (_ , satype , nullable = True ):
263
271
return dt .UUID (nullable = nullable )
264
272
265
273
274
+ @dt .dtype .register (MSDialect , (mssql .BINARY , mssql .TIMESTAMP ))
275
+ def sa_mssql_timestamp (_ , satype , nullable = True ):
276
+ return dt .Binary (nullable = nullable )
277
+
278
+
266
279
@dt .dtype .register (PGDialect , postgresql .MACADDR )
267
280
def sa_macaddr (_ , satype , nullable = True ):
268
281
return dt .MACADDR (nullable = nullable )
0 commit comments