Skip to content

Commit 89ad8ec

Browse files
authored
[PECO-1079] Bumped thrift to latest version (#178)
* Bumped thrift to latest * Updated actually
1 parent 4020c78 commit 89ad8ec

4 files changed

Lines changed: 55 additions & 9 deletions

File tree

thrift/TCLIService.d.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
//
2-
// Autogenerated by Thrift Compiler (0.16.0)
2+
// Autogenerated by Thrift Compiler (0.19.0)
33
//
44
// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
55
//
@@ -22,6 +22,7 @@ import TOperationState = ttypes.TOperationState
2222
import TOperationType = ttypes.TOperationType
2323
import TGetInfoType = ttypes.TGetInfoType
2424
import TResultPersistenceMode = ttypes.TResultPersistenceMode
25+
import TDBSqlCloseOperationReason = ttypes.TDBSqlCloseOperationReason
2526
import TCacheLookupResult = ttypes.TCacheLookupResult
2627
import TCloudFetchDisabledReason = ttypes.TCloudFetchDisabledReason
2728
import TDBSqlManifestFileFormat = ttypes.TDBSqlManifestFileFormat

thrift/TCLIService.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

thrift/TCLIService_types.d.ts

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
//
2-
// Autogenerated by Thrift Compiler (0.16.0)
2+
// Autogenerated by Thrift Compiler (0.19.0)
33
//
44
// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
55
//
@@ -29,6 +29,7 @@ declare enum TProtocolVersion {
2929
SPARK_CLI_SERVICE_PROTOCOL_V5 = 42245,
3030
SPARK_CLI_SERVICE_PROTOCOL_V6 = 42246,
3131
SPARK_CLI_SERVICE_PROTOCOL_V7 = 42247,
32+
SPARK_CLI_SERVICE_PROTOCOL_V8 = 42248,
3233
}
3334

3435
declare enum TTypeId {
@@ -173,6 +174,11 @@ declare enum TResultPersistenceMode {
173174
ALL_RESULTS = 2,
174175
}
175176

177+
declare enum TDBSqlCloseOperationReason {
178+
NONE = 0,
179+
COMMAND_INACTIVITY_TIMEOUT = 1,
180+
}
181+
176182
declare enum TCacheLookupResult {
177183
CACHE_INELIGIBLE = 0,
178184
LOCAL_CACHE_HIT = 1,
@@ -721,8 +727,9 @@ declare class TExecuteStatementReq {
721727
public preferDriverOnlyUpload?: boolean;
722728
public enforceEmbeddedSchemaCorrectness?: boolean;
723729
public idempotencyToken?: string;
730+
public throwErrorOnByteLimitTruncation?: boolean;
724731

725-
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; });
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; });
726733
}
727734

728735
declare class TDBSqlStatement {
@@ -1004,8 +1011,9 @@ declare class TCancelOperationResp {
10041011

10051012
declare class TCloseOperationReq {
10061013
public operationHandle: TOperationHandle;
1014+
public closeReason?: TDBSqlCloseOperationReason;
10071015

1008-
constructor(args?: { operationHandle: TOperationHandle; });
1016+
constructor(args?: { operationHandle: TOperationHandle; closeReason?: TDBSqlCloseOperationReason; });
10091017
}
10101018

10111019
declare class TCloseOperationResp {

thrift/TCLIService_types.js

Lines changed: 41 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)