Skip to content

Commit

Permalink
Update to newest package and use parallel (#15)
Browse files Browse the repository at this point in the history
  • Loading branch information
FirestarJes authored Sep 10, 2024
1 parent 774745b commit e3fd72f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ limitations under the License.
<PackageReference Include="AspNetCore.HealthChecks.AzureServiceBus" Version="8.0.1" />
<PackageReference Include="Azure.Identity" Version="1.11.4" />
<PackageReference Include="Azure.Storage.Files.DataLake" Version="12.17.1" />
<PackageReference Include="Energinet.DataHub.Core.Databricks.SqlStatementExecution" Version="11.0.0" />
<PackageReference Include="Energinet.DataHub.Core.Databricks.SqlStatementExecution" Version="11.2.0" />
<PackageReference Include="Energinet.DataHub.Core.Databricks.Jobs" Version="11.0.0" />
<PackageReference Include="Energinet.DataHub.Core.App.Common.Abstractions" Version="12.2.1" />
<PackageReference Include="Microsoft.ApplicationInsights" Version="2.22.0" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ internal string BuildDebugString(DatabricksSqlQueryable query)

private IAsyncEnumerable<TElement> ExecuteCoreAsync<TElement>(DatabricksStatement databricksStatement, CancellationToken cancellationToken = default)
{
var rows = _databricksSqlWarehouseQueryExecutor.ExecuteStatementAsync(databricksStatement, Format.JsonArray, cancellationToken);
var rows = _databricksSqlWarehouseQueryExecutor.ExecuteStatementAsync(databricksStatement, QueryOptions.WithFormat(Format.JsonArray).WithParallelDownload(), cancellationToken);
return _sqlRowHydrator.HydrateAsync<TElement>(rows, cancellationToken);
}

Expand Down

0 comments on commit e3fd72f

Please sign in to comment.