We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 7c67d71 + 5d52c17 commit 6b55069Copy full SHA for 6b55069
1 file changed
dbt/adapters/sqlserver/sqlserver_column.py
@@ -2,6 +2,22 @@
2
3
4
class SQLServerColumn(FabricColumn):
5
+ def is_string(self) -> bool:
6
+ return super().is_string() or self.dtype.lower() in [
7
+ # real types
8
+ "char",
9
+ "varchar",
10
+ "text",
11
+ "nchar",
12
+ "nvarchar",
13
+ "ntext",
14
+ "uniqueidentifier",
15
+ # aliases
16
+ "string",
17
+ "str",
18
+ "stringtype",
19
+ ]
20
+
21
def is_integer(self) -> bool:
22
return self.dtype.lower() in [
23
# real types
0 commit comments