@@ -469,8 +469,9 @@ declare class TSparkArrowResultLink {
469469 public startRowOffset : Int64 ;
470470 public rowCount : Int64 ;
471471 public bytesNum : Int64 ;
472+ public httpHeaders ?: { [ k : string ] : string ; } ;
472473
473- constructor ( args ?: { fileLink : string ; expiryTime : Int64 ; startRowOffset : Int64 ; rowCount : Int64 ; bytesNum : Int64 ; } ) ;
474+ constructor ( args ?: { fileLink : string ; expiryTime : Int64 ; startRowOffset : Int64 ; rowCount : Int64 ; bytesNum : Int64 ; httpHeaders ?: { [ k : string ] : string ; } ; } ) ;
474475}
475476
476477declare class TDBSqlCloudResultFile {
@@ -481,8 +482,9 @@ declare class TDBSqlCloudResultFile {
481482 public compressedBytes ?: Int64 ;
482483 public fileLink ?: string ;
483484 public linkExpiryTime ?: Int64 ;
485+ public httpHeaders ?: { [ k : string ] : string ; } ;
484486
485- constructor ( args ?: { filePath ?: string ; startRowOffset ?: Int64 ; rowCount ?: Int64 ; uncompressedBytes ?: Int64 ; compressedBytes ?: Int64 ; fileLink ?: string ; linkExpiryTime ?: Int64 ; } ) ;
487+ constructor ( args ?: { filePath ?: string ; startRowOffset ?: Int64 ; rowCount ?: Int64 ; uncompressedBytes ?: Int64 ; compressedBytes ?: Int64 ; fileLink ?: string ; linkExpiryTime ?: Int64 ; httpHeaders ?: { [ k : string ] : string ; } ; } ) ;
486488}
487489
488490declare class TRowSet {
@@ -555,9 +557,10 @@ declare class TStatus {
555557 public errorCode ?: number ;
556558 public errorMessage ?: string ;
557559 public displayMessage ?: string ;
560+ public errorDetailsJson ?: string ;
558561 public responseValidation ?: Buffer ;
559562
560- constructor ( args ?: { statusCode : TStatusCode ; infoMessages ?: string [ ] ; sqlState ?: string ; errorCode ?: number ; errorMessage ?: string ; displayMessage ?: string ; responseValidation ?: Buffer ; } ) ;
563+ constructor ( args ?: { statusCode : TStatusCode ; infoMessages ?: string [ ] ; sqlState ?: string ; errorCode ?: number ; errorMessage ?: string ; displayMessage ?: string ; errorDetailsJson ?: string ; responseValidation ?: Buffer ; } ) ;
561564}
562565
563566declare class TNamespace {
@@ -696,6 +699,8 @@ declare class TExecuteStatementReq {
696699 public useArrowNativeTypes ?: TSparkArrowTypes ;
697700 public resultRowLimit ?: Int64 ;
698701 public parameters ?: TSparkParameter [ ] ;
702+ public maxBytesPerBatch ?: Int64 ;
703+ public statementConf ?: TStatementConf ;
699704 public operationId ?: THandleIdentifier ;
700705 public sessionConf ?: TDBSqlSessionConf ;
701706 public rejectHighCostQueries ?: boolean ;
@@ -712,8 +717,12 @@ declare class TExecuteStatementReq {
712717 public resultByteLimit ?: Int64 ;
713718 public resultDataFormat ?: TDBSqlResultFormat ;
714719 public originatingClientIdentity ?: string ;
720+ public preferSingleFileResult ?: boolean ;
721+ public preferDriverOnlyUpload ?: boolean ;
722+ public enforceEmbeddedSchemaCorrectness ?: boolean ;
723+ public idempotencyToken ?: string ;
715724
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 ; } ) ;
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 ; } ) ;
717726}
718727
719728declare class TDBSqlStatement {
@@ -739,6 +748,15 @@ declare class TSparkParameter {
739748 constructor ( args ?: { ordinal ?: number ; name ?: string ; type ?: string ; value ?: TSparkParameterValue ; } ) ;
740749}
741750
751+ declare class TStatementConf {
752+ public sessionless ?: boolean ;
753+ public initialNamespace ?: TNamespace ;
754+ public client_protocol ?: TProtocolVersion ;
755+ public client_protocol_i64 ?: Int64 ;
756+
757+ constructor ( args ?: { sessionless ?: boolean ; initialNamespace ?: TNamespace ; client_protocol ?: TProtocolVersion ; client_protocol_i64 ?: Int64 ; } ) ;
758+ }
759+
742760declare class TExecuteStatementResp {
743761 public status : TStatus ;
744762 public operationHandle ?: TOperationHandle ;
@@ -961,12 +979,13 @@ declare class TGetOperationStatusResp {
961979 public numModifiedRows ?: Int64 ;
962980 public displayMessage ?: string ;
963981 public diagnosticInfo ?: string ;
982+ public errorDetailsJson ?: string ;
964983 public responseValidation ?: Buffer ;
965984 public idempotencyType ?: TOperationIdempotencyType ;
966985 public statementTimeout ?: Int64 ;
967986 public statementTimeoutLevel ?: TOperationTimeoutLevel ;
968987
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 ; } ) ;
988+ 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 ; } ) ;
970989}
971990
972991declare class TCancelOperationReq {
@@ -1023,8 +1042,9 @@ declare class TGetResultSetMetadataResp {
10231042 public isServerless ?: boolean ;
10241043 public resultDataFormat ?: TDBSqlResultFormat ;
10251044 public truncatedByThriftLimit ?: boolean ;
1045+ public resultByteLimit ?: Int64 ;
10261046
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 ; } ) ;
1047+ 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 ; } ) ;
10281048}
10291049
10301050declare class TFetchResultsReq {
0 commit comments