Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions csharp/src/Drivers/Apache/Hive2/HiveServer2Statement.cs
Original file line number Diff line number Diff line change
Expand Up @@ -437,6 +437,7 @@ protected virtual async Task<QueryResult> GetCrossReferenceAsForeignTableAsync(C
TableName,
cancellationToken);
OperationHandle = resp.OperationHandle;
_directResults = resp.DirectResults;

return await GetQueryResult(resp.DirectResults, cancellationToken);
}
Expand All @@ -457,6 +458,7 @@ protected virtual async Task<QueryResult> GetCrossReferenceAsync(CancellationTok
ForeignTableName,
cancellationToken);
OperationHandle = resp.OperationHandle;
_directResults = resp.DirectResults;

return await GetQueryResult(resp.DirectResults, cancellationToken);
}
Expand All @@ -474,6 +476,7 @@ protected virtual async Task<QueryResult> GetPrimaryKeysAsync(CancellationToken
TableName,
cancellationToken);
OperationHandle = resp.OperationHandle;
_directResults = resp.DirectResults;

return await GetQueryResult(resp.DirectResults, cancellationToken);
}
Expand All @@ -482,6 +485,7 @@ protected virtual async Task<QueryResult> GetCatalogsAsync(CancellationToken can
{
TGetCatalogsResp resp = await Connection.GetCatalogsAsync(cancellationToken);
OperationHandle = resp.OperationHandle;
_directResults = resp.DirectResults;

return await GetQueryResult(resp.DirectResults, cancellationToken);
}
Expand All @@ -493,6 +497,7 @@ protected virtual async Task<QueryResult> GetSchemasAsync(CancellationToken canc
EscapePatternWildcardsInName(SchemaName),
cancellationToken);
OperationHandle = resp.OperationHandle;
_directResults = resp.DirectResults;

return await GetQueryResult(resp.DirectResults, cancellationToken);
}
Expand All @@ -507,6 +512,7 @@ protected virtual async Task<QueryResult> GetTablesAsync(CancellationToken cance
tableTypesList,
cancellationToken);
OperationHandle = resp.OperationHandle;
_directResults = resp.DirectResults;

return await GetQueryResult(resp.DirectResults, cancellationToken);
}
Expand Down
Loading