|
1 | 1 | // |
2 | | -// Autogenerated by Thrift Compiler (0.16.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, |
@@ -721,8 +727,9 @@ declare class TExecuteStatementReq { |
721 | 727 | public preferDriverOnlyUpload?: boolean; |
722 | 728 | public enforceEmbeddedSchemaCorrectness?: boolean; |
723 | 729 | public idempotencyToken?: string; |
| 730 | + public throwErrorOnByteLimitTruncation?: boolean; |
724 | 731 |
|
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; }); |
726 | 733 | } |
727 | 734 |
|
728 | 735 | declare class TDBSqlStatement { |
@@ -1004,8 +1011,9 @@ declare class TCancelOperationResp { |
1004 | 1011 |
|
1005 | 1012 | declare class TCloseOperationReq { |
1006 | 1013 | public operationHandle: TOperationHandle; |
| 1014 | + public closeReason?: TDBSqlCloseOperationReason; |
1007 | 1015 |
|
1008 | | - constructor(args?: { operationHandle: TOperationHandle; }); |
| 1016 | + constructor(args?: { operationHandle: TOperationHandle; closeReason?: TDBSqlCloseOperationReason; }); |
1009 | 1017 | } |
1010 | 1018 |
|
1011 | 1019 | declare class TCloseOperationResp { |
|
0 commit comments