Skip to content

Commit 87a450a

Browse files
authored
Merge pull request #29 from reflection/master
Support LowCardinality(String) type
2 parents dc55d90 + 81feec6 commit 87a450a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

connector.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,9 @@ def create_ad_hoc_field(cls, db_type):
7878
if db_type.startswith('FixedString'):
7979
db_type = 'String'
8080

81+
if db_type == 'LowCardinality(String)':
82+
db_type = 'String'
83+
8184
if db_type.startswith('DateTime'):
8285
db_type = 'DateTime'
8386

@@ -345,4 +348,3 @@ def _process_response(self, response):
345348
self._data = data
346349
self._columns = cols
347350
self._state = self._STATE_FINISHED
348-

0 commit comments

Comments
 (0)