@@ -199,6 +199,11 @@ This corresponds to the `MaxFetchSize` setting in <<odbc-cfg-dsnparams>>.
199
199
The maximum number of megabytes that the driver will accept for one page.
200
200
This corresponds to the `MaxBodySizeMB` setting in <<odbc-cfg-dsnparams>>.
201
201
+
202
+ * Varchar limit
203
+ +
204
+ The maximum character length of the string type columns.
205
+ this correspeonds to the `VarcharLimit` setting in <<odbc-cfg-dsnparams>>.
206
+ +
202
207
* Floats format
203
208
+
204
209
How should the floating point numbers be printed, when these are converted to string by the driver.
@@ -214,30 +219,36 @@ This corresponds to the `Packing` setting in <<odbc-cfg-dsnparams>>.
214
219
Should the data between the server and the driver be compressed?
215
220
This corresponds to the `Compression` setting in <<odbc-cfg-dsnparams>>.
216
221
+
217
- * Follow HTTP redirects?
222
+ * Follow HTTP redirects
218
223
+
219
224
Should the driver follow HTTP redirects of the requests to the server?
220
225
This corresponds to the `Follow` setting in <<odbc-cfg-dsnparams>>.
221
226
+
222
- * Use local timezone?
227
+ * Use local timezone
223
228
+
224
229
Should the driver use machine's local timezone? The default is UTC.
225
230
This corresponds to the `ApplyTZ` setting in <<odbc-cfg-dsnparams>>.
226
231
+
227
- * Auto-escape PVAs?
232
+ * Auto-escape PVAs
228
233
+
229
234
Should the driver auto-escape the pattern-value arguments?
230
235
This corresponds to the `AutoEscapePVA` setting in <<odbc-cfg-dsnparams>>.
231
236
+
232
- * Multi value field lenient?
237
+ * Multi value field lenient
233
238
+
234
239
Should the server return one value out of a multi-value field (instead of rejecting the request)?
235
240
This corresponds to the `MultiFieldLenient` setting in <<odbc-cfg-dsnparams>>.
236
241
+
237
- * Include frozen indices?
242
+ * Include frozen indices
238
243
+
239
244
Should the server consider the frozen indices when servicing a request?
240
245
This corresponds to the `IndexIncludeFrozen` setting in <<odbc-cfg-dsnparams>>.
246
+ +
247
+ * Early query execution
248
+ +
249
+ Should the driver execute a non-parameterized query as soon as it's submitted
250
+ for preparation?
251
+ This corresponds to the `EarlyExecution` setting in <<odbc-cfg-dsnparams>>.
241
252
242
253
243
254
[[dsn_editor_misc]]
@@ -402,6 +413,18 @@ This is concerning the HTTP answer body of one page, not the cumulated data
402
413
volume that a query might generate.
403
414
404
415
416
+ `VarcharLimit` (default: `0`)::
417
+ The maximum width of the string columns.
418
+ If this setting is greater than zero, the driver will advertise all the string
419
+ type columns as having a maximum character length equal to this value and will
420
+ truncate any longer string to it. The string types are textual fields
421
+ (TEXT, KEYWORD etc.) and some specialized fields (IP, the GEOs etc.). Note that
422
+ no interpretation of the value is performed before trunctation, which can lead
423
+ to invalid values if the limit is set too low.
424
+ This is required for those applications that do not support column lengths as
425
+ large as {es} fields can be.
426
+
427
+
405
428
`ApplyTZ` (default: `no`)::
406
429
A boolean value controlling the timezone of:
407
430
@@ -429,21 +452,6 @@ This setting is not effective when the application fetches from the driver the
429
452
values as numbers and then does the conversion subsequently itself.
430
453
431
454
432
- `VersionChecking` (default: `strict`)::
433
- By default, the version of the driver and that of the server must be the same.
434
- This parameter will allow a driver to connect to a server of different version.
435
- The variation however can only be of the minor version, both endpoints must be
436
- of same major version number.
437
- Possible values:
438
-
439
- * `strict`: the versions must be in sync;
440
-
441
- * `major`: the versions must have the same major number.
442
-
443
- WARNING: This parameter can only be used for troubleshooting purposes. Running
444
- with versions out of sync is not supported.
445
-
446
-
447
455
`MultiFieldLenient` (default: `true`)::
448
456
This boolean parameter controls the behavior of the server in case a
449
457
multi-value field is queried. In case this is set and the server encounters
@@ -466,5 +474,12 @@ will escape these special characters if not already done by the application.
466
474
If this parameter is `true`, the server will include the frozen indices in the
467
475
query execution.
468
476
This corresponds to {es-sql}'s request parameter `index_include_frozen`
469
- (see <<sql-rest-fields>>).
470
477
478
+
479
+ `EarlyExecution` (default: `true`)::
480
+ If this parameter is `true`, the driver will execute a statement as soon as the
481
+ application submits it for preparation, i.e. early and is functionally
482
+ equivalent to a direct execution. This will only happen if the query lacks
483
+ parameters. Early execution is useful with those applications that inspect the
484
+ result before actually executing the query. {es-sql} lacks a preparation API,
485
+ so early execution is required for interoperability with these applications.
0 commit comments