Skip to content

Commit d06469b

Browse files
committed
disable connection pooling
1 parent 16bd62d commit d06469b

File tree

1 file changed

+2
-10
lines changed

1 file changed

+2
-10
lines changed

Firebolt.pq

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -167,18 +167,10 @@ FireboltImpl = (account as text, engine as text, database as text, optional env
167167
OdbcSqlType.SQL_GUID = -11,
168168

169169
FixDataType = (dataType) =>
170-
if dataType = "12" then // Boolean
171-
OdbcSqlType.BIT
172-
else if dataType = "-1" then // Text
173-
OdbcSqlType.DOUBLE
174-
else
175170
// Diagnostics.CorrelationId("SQLColumns.DataType", dataType),
176-
dataType,
171+
dataType,
177172
// Not sure if this is needed
178173
FixDataTypeName = (dataTypeName) =>
179-
if dataTypeName = "TEXT" then
180-
"SQL_WVARCHAR"
181-
else
182174
dataTypeName,
183175
Transform = Table.TransformColumns(source, {
184176
{"data_type", FixDataType}
@@ -215,7 +207,7 @@ FireboltImpl = (account as text, engine as text, database as text, optional env
215207
// Allow upconversion / resizing of numeric and string types
216208
TolerateConcatOverflow = true,
217209
// Enables connection pooling via the system ODBC manager
218-
ClientConnectionPooling = true,
210+
ClientConnectionPooling = false,
219211
// No timeout for setting up the connection
220212
ConnectionTimeout = #duration(0, 0, 0, Config_Timeout),
221213
// No timeout for executing a query

0 commit comments

Comments
 (0)