@databricks/sql 1.3.0 → 1.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/DBSQLClient.d.ts +1 -0
- package/dist/DBSQLClient.js +11 -2
- package/dist/DBSQLClient.js.map +1 -1
- package/dist/DBSQLOperation/OperationStatusHelper.d.ts +1 -1
- package/dist/DBSQLOperation/OperationStatusHelper.js +29 -6
- package/dist/DBSQLOperation/OperationStatusHelper.js.map +1 -1
- package/dist/DBSQLOperation/index.d.ts +18 -5
- package/dist/DBSQLOperation/index.js +156 -18
- package/dist/DBSQLOperation/index.js.map +1 -1
- package/dist/DBSQLParameter.d.ts +29 -0
- package/dist/DBSQLParameter.js +73 -0
- package/dist/DBSQLParameter.js.map +1 -0
- package/dist/DBSQLSession.d.ts +15 -2
- package/dist/DBSQLSession.js +209 -16
- package/dist/DBSQLSession.js.map +1 -1
- package/dist/connection/auth/DatabricksOAuth/OAuthManager.d.ts +5 -0
- package/dist/connection/auth/DatabricksOAuth/OAuthManager.js +52 -17
- package/dist/connection/auth/DatabricksOAuth/OAuthManager.js.map +1 -1
- package/dist/contracts/IDBSQLClient.d.ts +2 -0
- package/dist/contracts/IDBSQLSession.d.ts +34 -0
- package/dist/errors/OperationStateError.d.ts +10 -2
- package/dist/errors/OperationStateError.js +20 -2
- package/dist/errors/OperationStateError.js.map +1 -1
- package/dist/errors/StagingError.d.ts +2 -0
- package/dist/errors/StagingError.js +6 -0
- package/dist/errors/StagingError.js.map +1 -0
- package/dist/globalConfig.d.ts +2 -0
- package/dist/globalConfig.js +2 -0
- package/dist/globalConfig.js.map +1 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +4 -1
- package/dist/index.js.map +1 -1
- package/dist/result/ArrowResult.d.ts +3 -2
- package/dist/result/ArrowResult.js +37 -19
- package/dist/result/ArrowResult.js.map +1 -1
- package/dist/result/CloudFetchResult.d.ts +13 -0
- package/dist/result/CloudFetchResult.js +69 -0
- package/dist/result/CloudFetchResult.js.map +1 -0
- package/dist/result/IOperationResult.d.ts +2 -1
- package/dist/result/JsonResult.d.ts +2 -1
- package/dist/result/JsonResult.js +24 -8
- package/dist/result/JsonResult.js.map +1 -1
- package/dist/utils/CloseableCollection.d.ts +10 -0
- package/dist/utils/CloseableCollection.js +40 -0
- package/dist/utils/CloseableCollection.js.map +1 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +4 -2
- package/thrift/TCLIService.d.ts +45 -1
- package/thrift/TCLIService.js +1 -1
- package/thrift/TCLIService_types.d.ts +36 -8
- package/thrift/TCLIService_types.js +634 -288
- package/dist/DBSQLOperation/CompleteOperationHelper.d.ts +0 -13
- package/dist/DBSQLOperation/CompleteOperationHelper.js +0 -56
- package/dist/DBSQLOperation/CompleteOperationHelper.js.map +0 -1
- package/dist/DBSQLOperation/SchemaHelper.d.ts +0 -12
- package/dist/DBSQLOperation/SchemaHelper.js +0 -61
- package/dist/DBSQLOperation/SchemaHelper.js.map +0 -1
package/thrift/TCLIService.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
//
|
|
2
|
-
// Autogenerated by Thrift Compiler (0.
|
|
2
|
+
// Autogenerated by Thrift Compiler (0.19.0)
|
|
3
3
|
//
|
|
4
4
|
// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
|
|
5
5
|
//
|
|
@@ -22,6 +22,7 @@ import TOperationState = ttypes.TOperationState
|
|
|
22
22
|
import TOperationType = ttypes.TOperationType
|
|
23
23
|
import TGetInfoType = ttypes.TGetInfoType
|
|
24
24
|
import TResultPersistenceMode = ttypes.TResultPersistenceMode
|
|
25
|
+
import TDBSqlCloseOperationReason = ttypes.TDBSqlCloseOperationReason
|
|
25
26
|
import TCacheLookupResult = ttypes.TCacheLookupResult
|
|
26
27
|
import TCloudFetchDisabledReason = ttypes.TCloudFetchDisabledReason
|
|
27
28
|
import TDBSqlManifestFileFormat = ttypes.TDBSqlManifestFileFormat
|
|
@@ -97,6 +98,7 @@ import TExecuteStatementReq = ttypes.TExecuteStatementReq
|
|
|
97
98
|
import TDBSqlStatement = ttypes.TDBSqlStatement
|
|
98
99
|
import TSparkParameterValue = ttypes.TSparkParameterValue
|
|
99
100
|
import TSparkParameter = ttypes.TSparkParameter
|
|
101
|
+
import TStatementConf = ttypes.TStatementConf
|
|
100
102
|
import TExecuteStatementResp = ttypes.TExecuteStatementResp
|
|
101
103
|
import TGetTypeInfoReq = ttypes.TGetTypeInfoReq
|
|
102
104
|
import TGetTypeInfoResp = ttypes.TGetTypeInfoResp
|
|
@@ -141,46 +143,88 @@ declare class Client {
|
|
|
141
143
|
|
|
142
144
|
constructor(output: thrift.TTransport, pClass: { new(trans: thrift.TTransport): thrift.TProtocol });
|
|
143
145
|
|
|
146
|
+
OpenSession(req: TOpenSessionReq): TOpenSessionResp;
|
|
147
|
+
|
|
144
148
|
OpenSession(req: TOpenSessionReq, callback?: (error: void, response: TOpenSessionResp)=>void): void;
|
|
145
149
|
|
|
150
|
+
CloseSession(req: TCloseSessionReq): TCloseSessionResp;
|
|
151
|
+
|
|
146
152
|
CloseSession(req: TCloseSessionReq, callback?: (error: void, response: TCloseSessionResp)=>void): void;
|
|
147
153
|
|
|
154
|
+
GetInfo(req: TGetInfoReq): TGetInfoResp;
|
|
155
|
+
|
|
148
156
|
GetInfo(req: TGetInfoReq, callback?: (error: void, response: TGetInfoResp)=>void): void;
|
|
149
157
|
|
|
158
|
+
ExecuteStatement(req: TExecuteStatementReq): TExecuteStatementResp;
|
|
159
|
+
|
|
150
160
|
ExecuteStatement(req: TExecuteStatementReq, callback?: (error: void, response: TExecuteStatementResp)=>void): void;
|
|
151
161
|
|
|
162
|
+
GetTypeInfo(req: TGetTypeInfoReq): TGetTypeInfoResp;
|
|
163
|
+
|
|
152
164
|
GetTypeInfo(req: TGetTypeInfoReq, callback?: (error: void, response: TGetTypeInfoResp)=>void): void;
|
|
153
165
|
|
|
166
|
+
GetCatalogs(req: TGetCatalogsReq): TGetCatalogsResp;
|
|
167
|
+
|
|
154
168
|
GetCatalogs(req: TGetCatalogsReq, callback?: (error: void, response: TGetCatalogsResp)=>void): void;
|
|
155
169
|
|
|
170
|
+
GetSchemas(req: TGetSchemasReq): TGetSchemasResp;
|
|
171
|
+
|
|
156
172
|
GetSchemas(req: TGetSchemasReq, callback?: (error: void, response: TGetSchemasResp)=>void): void;
|
|
157
173
|
|
|
174
|
+
GetTables(req: TGetTablesReq): TGetTablesResp;
|
|
175
|
+
|
|
158
176
|
GetTables(req: TGetTablesReq, callback?: (error: void, response: TGetTablesResp)=>void): void;
|
|
159
177
|
|
|
178
|
+
GetTableTypes(req: TGetTableTypesReq): TGetTableTypesResp;
|
|
179
|
+
|
|
160
180
|
GetTableTypes(req: TGetTableTypesReq, callback?: (error: void, response: TGetTableTypesResp)=>void): void;
|
|
161
181
|
|
|
182
|
+
GetColumns(req: TGetColumnsReq): TGetColumnsResp;
|
|
183
|
+
|
|
162
184
|
GetColumns(req: TGetColumnsReq, callback?: (error: void, response: TGetColumnsResp)=>void): void;
|
|
163
185
|
|
|
186
|
+
GetFunctions(req: TGetFunctionsReq): TGetFunctionsResp;
|
|
187
|
+
|
|
164
188
|
GetFunctions(req: TGetFunctionsReq, callback?: (error: void, response: TGetFunctionsResp)=>void): void;
|
|
165
189
|
|
|
190
|
+
GetPrimaryKeys(req: TGetPrimaryKeysReq): TGetPrimaryKeysResp;
|
|
191
|
+
|
|
166
192
|
GetPrimaryKeys(req: TGetPrimaryKeysReq, callback?: (error: void, response: TGetPrimaryKeysResp)=>void): void;
|
|
167
193
|
|
|
194
|
+
GetCrossReference(req: TGetCrossReferenceReq): TGetCrossReferenceResp;
|
|
195
|
+
|
|
168
196
|
GetCrossReference(req: TGetCrossReferenceReq, callback?: (error: void, response: TGetCrossReferenceResp)=>void): void;
|
|
169
197
|
|
|
198
|
+
GetOperationStatus(req: TGetOperationStatusReq): TGetOperationStatusResp;
|
|
199
|
+
|
|
170
200
|
GetOperationStatus(req: TGetOperationStatusReq, callback?: (error: void, response: TGetOperationStatusResp)=>void): void;
|
|
171
201
|
|
|
202
|
+
CancelOperation(req: TCancelOperationReq): TCancelOperationResp;
|
|
203
|
+
|
|
172
204
|
CancelOperation(req: TCancelOperationReq, callback?: (error: void, response: TCancelOperationResp)=>void): void;
|
|
173
205
|
|
|
206
|
+
CloseOperation(req: TCloseOperationReq): TCloseOperationResp;
|
|
207
|
+
|
|
174
208
|
CloseOperation(req: TCloseOperationReq, callback?: (error: void, response: TCloseOperationResp)=>void): void;
|
|
175
209
|
|
|
210
|
+
GetResultSetMetadata(req: TGetResultSetMetadataReq): TGetResultSetMetadataResp;
|
|
211
|
+
|
|
176
212
|
GetResultSetMetadata(req: TGetResultSetMetadataReq, callback?: (error: void, response: TGetResultSetMetadataResp)=>void): void;
|
|
177
213
|
|
|
214
|
+
FetchResults(req: TFetchResultsReq): TFetchResultsResp;
|
|
215
|
+
|
|
178
216
|
FetchResults(req: TFetchResultsReq, callback?: (error: void, response: TFetchResultsResp)=>void): void;
|
|
179
217
|
|
|
218
|
+
GetDelegationToken(req: TGetDelegationTokenReq): TGetDelegationTokenResp;
|
|
219
|
+
|
|
180
220
|
GetDelegationToken(req: TGetDelegationTokenReq, callback?: (error: void, response: TGetDelegationTokenResp)=>void): void;
|
|
181
221
|
|
|
222
|
+
CancelDelegationToken(req: TCancelDelegationTokenReq): TCancelDelegationTokenResp;
|
|
223
|
+
|
|
182
224
|
CancelDelegationToken(req: TCancelDelegationTokenReq, callback?: (error: void, response: TCancelDelegationTokenResp)=>void): void;
|
|
183
225
|
|
|
226
|
+
RenewDelegationToken(req: TRenewDelegationTokenReq): TRenewDelegationTokenResp;
|
|
227
|
+
|
|
184
228
|
RenewDelegationToken(req: TRenewDelegationTokenReq, callback?: (error: void, response: TRenewDelegationTokenResp)=>void): void;
|
|
185
229
|
}
|
|
186
230
|
|
package/thrift/TCLIService.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
//
|
|
2
|
-
// Autogenerated by Thrift Compiler (0.
|
|
2
|
+
// Autogenerated by Thrift Compiler (0.19.0)
|
|
3
3
|
//
|
|
4
4
|
// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
|
|
5
5
|
//
|
|
@@ -29,6 +29,7 @@ declare enum TProtocolVersion {
|
|
|
29
29
|
SPARK_CLI_SERVICE_PROTOCOL_V5 = 42245,
|
|
30
30
|
SPARK_CLI_SERVICE_PROTOCOL_V6 = 42246,
|
|
31
31
|
SPARK_CLI_SERVICE_PROTOCOL_V7 = 42247,
|
|
32
|
+
SPARK_CLI_SERVICE_PROTOCOL_V8 = 42248,
|
|
32
33
|
}
|
|
33
34
|
|
|
34
35
|
declare enum TTypeId {
|
|
@@ -173,6 +174,11 @@ declare enum TResultPersistenceMode {
|
|
|
173
174
|
ALL_RESULTS = 2,
|
|
174
175
|
}
|
|
175
176
|
|
|
177
|
+
declare enum TDBSqlCloseOperationReason {
|
|
178
|
+
NONE = 0,
|
|
179
|
+
COMMAND_INACTIVITY_TIMEOUT = 1,
|
|
180
|
+
}
|
|
181
|
+
|
|
176
182
|
declare enum TCacheLookupResult {
|
|
177
183
|
CACHE_INELIGIBLE = 0,
|
|
178
184
|
LOCAL_CACHE_HIT = 1,
|
|
@@ -469,8 +475,9 @@ declare class TSparkArrowResultLink {
|
|
|
469
475
|
public startRowOffset: Int64;
|
|
470
476
|
public rowCount: Int64;
|
|
471
477
|
public bytesNum: Int64;
|
|
478
|
+
public httpHeaders?: { [k: string]: string; };
|
|
472
479
|
|
|
473
|
-
constructor(args?: { fileLink: string; expiryTime: Int64; startRowOffset: Int64; rowCount: Int64; bytesNum: Int64; });
|
|
480
|
+
constructor(args?: { fileLink: string; expiryTime: Int64; startRowOffset: Int64; rowCount: Int64; bytesNum: Int64; httpHeaders?: { [k: string]: string; }; });
|
|
474
481
|
}
|
|
475
482
|
|
|
476
483
|
declare class TDBSqlCloudResultFile {
|
|
@@ -481,8 +488,9 @@ declare class TDBSqlCloudResultFile {
|
|
|
481
488
|
public compressedBytes?: Int64;
|
|
482
489
|
public fileLink?: string;
|
|
483
490
|
public linkExpiryTime?: Int64;
|
|
491
|
+
public httpHeaders?: { [k: string]: string; };
|
|
484
492
|
|
|
485
|
-
constructor(args?: { filePath?: string; startRowOffset?: Int64; rowCount?: Int64; uncompressedBytes?: Int64; compressedBytes?: Int64; fileLink?: string; linkExpiryTime?: Int64; });
|
|
493
|
+
constructor(args?: { filePath?: string; startRowOffset?: Int64; rowCount?: Int64; uncompressedBytes?: Int64; compressedBytes?: Int64; fileLink?: string; linkExpiryTime?: Int64; httpHeaders?: { [k: string]: string; }; });
|
|
486
494
|
}
|
|
487
495
|
|
|
488
496
|
declare class TRowSet {
|
|
@@ -555,9 +563,10 @@ declare class TStatus {
|
|
|
555
563
|
public errorCode?: number;
|
|
556
564
|
public errorMessage?: string;
|
|
557
565
|
public displayMessage?: string;
|
|
566
|
+
public errorDetailsJson?: string;
|
|
558
567
|
public responseValidation?: Buffer;
|
|
559
568
|
|
|
560
|
-
constructor(args?: { statusCode: TStatusCode; infoMessages?: string[]; sqlState?: string; errorCode?: number; errorMessage?: string; displayMessage?: string; responseValidation?: Buffer; });
|
|
569
|
+
constructor(args?: { statusCode: TStatusCode; infoMessages?: string[]; sqlState?: string; errorCode?: number; errorMessage?: string; displayMessage?: string; errorDetailsJson?: string; responseValidation?: Buffer; });
|
|
561
570
|
}
|
|
562
571
|
|
|
563
572
|
declare class TNamespace {
|
|
@@ -696,6 +705,8 @@ declare class TExecuteStatementReq {
|
|
|
696
705
|
public useArrowNativeTypes?: TSparkArrowTypes;
|
|
697
706
|
public resultRowLimit?: Int64;
|
|
698
707
|
public parameters?: TSparkParameter[];
|
|
708
|
+
public maxBytesPerBatch?: Int64;
|
|
709
|
+
public statementConf?: TStatementConf;
|
|
699
710
|
public operationId?: THandleIdentifier;
|
|
700
711
|
public sessionConf?: TDBSqlSessionConf;
|
|
701
712
|
public rejectHighCostQueries?: boolean;
|
|
@@ -712,8 +723,13 @@ declare class TExecuteStatementReq {
|
|
|
712
723
|
public resultByteLimit?: Int64;
|
|
713
724
|
public resultDataFormat?: TDBSqlResultFormat;
|
|
714
725
|
public originatingClientIdentity?: string;
|
|
726
|
+
public preferSingleFileResult?: boolean;
|
|
727
|
+
public preferDriverOnlyUpload?: boolean;
|
|
728
|
+
public enforceEmbeddedSchemaCorrectness?: boolean;
|
|
729
|
+
public idempotencyToken?: string;
|
|
730
|
+
public throwErrorOnByteLimitTruncation?: boolean;
|
|
715
731
|
|
|
716
|
-
constructor(args?: { sessionHandle: TSessionHandle; statement: string; confOverlay?: { [k: string]: string; }; runAsync?: boolean; getDirectResults?: TSparkGetDirectResults; queryTimeout?: Int64; canReadArrowResult?: boolean; canDownloadResult?: boolean; canDecompressLZ4Result?: boolean; maxBytesPerFile?: Int64; useArrowNativeTypes?: TSparkArrowTypes; resultRowLimit?: Int64; parameters?: TSparkParameter[]; operationId?: THandleIdentifier; sessionConf?: TDBSqlSessionConf; rejectHighCostQueries?: boolean; estimatedCost?: number; executionVersion?: number; requestValidation?: Buffer; resultPersistenceMode?: TResultPersistenceMode; trimArrowBatchesToLimit?: boolean; fetchDisposition?: TDBSqlFetchDisposition; enforceResultPersistenceMode?: boolean; statementList?: TDBSqlStatement[]; persistResultManifest?: boolean; resultRetentionSeconds?: Int64; resultByteLimit?: Int64; resultDataFormat?: TDBSqlResultFormat; originatingClientIdentity?: string; });
|
|
732
|
+
constructor(args?: { sessionHandle: TSessionHandle; statement: string; confOverlay?: { [k: string]: string; }; runAsync?: boolean; getDirectResults?: TSparkGetDirectResults; queryTimeout?: Int64; canReadArrowResult?: boolean; canDownloadResult?: boolean; canDecompressLZ4Result?: boolean; maxBytesPerFile?: Int64; useArrowNativeTypes?: TSparkArrowTypes; resultRowLimit?: Int64; parameters?: TSparkParameter[]; maxBytesPerBatch?: Int64; statementConf?: TStatementConf; operationId?: THandleIdentifier; sessionConf?: TDBSqlSessionConf; rejectHighCostQueries?: boolean; estimatedCost?: number; executionVersion?: number; requestValidation?: Buffer; resultPersistenceMode?: TResultPersistenceMode; trimArrowBatchesToLimit?: boolean; fetchDisposition?: TDBSqlFetchDisposition; enforceResultPersistenceMode?: boolean; statementList?: TDBSqlStatement[]; persistResultManifest?: boolean; resultRetentionSeconds?: Int64; resultByteLimit?: Int64; resultDataFormat?: TDBSqlResultFormat; originatingClientIdentity?: string; preferSingleFileResult?: boolean; preferDriverOnlyUpload?: boolean; enforceEmbeddedSchemaCorrectness?: boolean; idempotencyToken?: string; throwErrorOnByteLimitTruncation?: boolean; });
|
|
717
733
|
}
|
|
718
734
|
|
|
719
735
|
declare class TDBSqlStatement {
|
|
@@ -739,6 +755,15 @@ declare class TSparkParameter {
|
|
|
739
755
|
constructor(args?: { ordinal?: number; name?: string; type?: string; value?: TSparkParameterValue; });
|
|
740
756
|
}
|
|
741
757
|
|
|
758
|
+
declare class TStatementConf {
|
|
759
|
+
public sessionless?: boolean;
|
|
760
|
+
public initialNamespace?: TNamespace;
|
|
761
|
+
public client_protocol?: TProtocolVersion;
|
|
762
|
+
public client_protocol_i64?: Int64;
|
|
763
|
+
|
|
764
|
+
constructor(args?: { sessionless?: boolean; initialNamespace?: TNamespace; client_protocol?: TProtocolVersion; client_protocol_i64?: Int64; });
|
|
765
|
+
}
|
|
766
|
+
|
|
742
767
|
declare class TExecuteStatementResp {
|
|
743
768
|
public status: TStatus;
|
|
744
769
|
public operationHandle?: TOperationHandle;
|
|
@@ -961,12 +986,13 @@ declare class TGetOperationStatusResp {
|
|
|
961
986
|
public numModifiedRows?: Int64;
|
|
962
987
|
public displayMessage?: string;
|
|
963
988
|
public diagnosticInfo?: string;
|
|
989
|
+
public errorDetailsJson?: string;
|
|
964
990
|
public responseValidation?: Buffer;
|
|
965
991
|
public idempotencyType?: TOperationIdempotencyType;
|
|
966
992
|
public statementTimeout?: Int64;
|
|
967
993
|
public statementTimeoutLevel?: TOperationTimeoutLevel;
|
|
968
994
|
|
|
969
|
-
constructor(args?: { status: TStatus; operationState?: TOperationState; sqlState?: string; errorCode?: number; errorMessage?: string; taskStatus?: string; operationStarted?: Int64; operationCompleted?: Int64; hasResultSet?: boolean; progressUpdateResponse?: TProgressUpdateResp; numModifiedRows?: Int64; displayMessage?: string; diagnosticInfo?: string; responseValidation?: Buffer; idempotencyType?: TOperationIdempotencyType; statementTimeout?: Int64; statementTimeoutLevel?: TOperationTimeoutLevel; });
|
|
995
|
+
constructor(args?: { status: TStatus; operationState?: TOperationState; sqlState?: string; errorCode?: number; errorMessage?: string; taskStatus?: string; operationStarted?: Int64; operationCompleted?: Int64; hasResultSet?: boolean; progressUpdateResponse?: TProgressUpdateResp; numModifiedRows?: Int64; displayMessage?: string; diagnosticInfo?: string; errorDetailsJson?: string; responseValidation?: Buffer; idempotencyType?: TOperationIdempotencyType; statementTimeout?: Int64; statementTimeoutLevel?: TOperationTimeoutLevel; });
|
|
970
996
|
}
|
|
971
997
|
|
|
972
998
|
declare class TCancelOperationReq {
|
|
@@ -985,8 +1011,9 @@ declare class TCancelOperationResp {
|
|
|
985
1011
|
|
|
986
1012
|
declare class TCloseOperationReq {
|
|
987
1013
|
public operationHandle: TOperationHandle;
|
|
1014
|
+
public closeReason?: TDBSqlCloseOperationReason;
|
|
988
1015
|
|
|
989
|
-
constructor(args?: { operationHandle: TOperationHandle; });
|
|
1016
|
+
constructor(args?: { operationHandle: TOperationHandle; closeReason?: TDBSqlCloseOperationReason; });
|
|
990
1017
|
}
|
|
991
1018
|
|
|
992
1019
|
declare class TCloseOperationResp {
|
|
@@ -1023,8 +1050,9 @@ declare class TGetResultSetMetadataResp {
|
|
|
1023
1050
|
public isServerless?: boolean;
|
|
1024
1051
|
public resultDataFormat?: TDBSqlResultFormat;
|
|
1025
1052
|
public truncatedByThriftLimit?: boolean;
|
|
1053
|
+
public resultByteLimit?: Int64;
|
|
1026
1054
|
|
|
1027
|
-
constructor(args?: { status: TStatus; schema?: TTableSchema; resultFormat?: TSparkRowSetType; lz4Compressed?: boolean; arrowSchema?: Buffer; cacheLookupResult?: TCacheLookupResult; uncompressedBytes?: Int64; compressedBytes?: Int64; isStagingOperation?: boolean; reasonForNoCloudFetch?: TCloudFetchDisabledReason; resultFiles?: TDBSqlCloudResultFile[]; manifestFile?: string; manifestFileFormat?: TDBSqlManifestFileFormat; cacheLookupLatency?: Int64; remoteCacheMissReason?: string; fetchDisposition?: TDBSqlFetchDisposition; remoteResultCacheEnabled?: boolean; isServerless?: boolean; resultDataFormat?: TDBSqlResultFormat; truncatedByThriftLimit?: boolean; });
|
|
1055
|
+
constructor(args?: { status: TStatus; schema?: TTableSchema; resultFormat?: TSparkRowSetType; lz4Compressed?: boolean; arrowSchema?: Buffer; cacheLookupResult?: TCacheLookupResult; uncompressedBytes?: Int64; compressedBytes?: Int64; isStagingOperation?: boolean; reasonForNoCloudFetch?: TCloudFetchDisabledReason; resultFiles?: TDBSqlCloudResultFile[]; manifestFile?: string; manifestFileFormat?: TDBSqlManifestFileFormat; cacheLookupLatency?: Int64; remoteCacheMissReason?: string; fetchDisposition?: TDBSqlFetchDisposition; remoteResultCacheEnabled?: boolean; isServerless?: boolean; resultDataFormat?: TDBSqlResultFormat; truncatedByThriftLimit?: boolean; resultByteLimit?: Int64; });
|
|
1028
1056
|
}
|
|
1029
1057
|
|
|
1030
1058
|
declare class TFetchResultsReq {
|