Код: Выделить всё
var client = new BetaAnalyticsDataClientBuilder
{
GrpcAdapter = RestGrpcAdapter.Default
}.Build();
return client.RunReport(reportRequest);
Однако для некоторых дат продолжает выдавать следующую ошибку:
Код: Выделить всё
Grpc.Core.RpcException
HResult=0x80131500
Message=Status(StatusCode="InvalidArgument", Detail="0th request: f1::BAD_REQUEST_ERROR: http://go/f1error/too_much_data_in_hash_table.md Encountered too much data for one HASH JOIN partition while executing the query. The data was more finely partitioned 3 times but one of the partitions was too large every time.")
Source=Google.Api.Gax.Grpc
StackTrace:
at Google.Api.Gax.Grpc.Rest.RestMethod.d__11`1.MoveNext()
at Google.Api.Gax.Grpc.Rest.RestCallInvoker.c__DisplayClass6_0`2.d.MoveNext()
at Google.Api.Gax.TaskExtensions.WaitWithUnwrappedExceptions(Task task)
at Google.Api.Gax.TaskExtensions.ResultWithUnwrappedExceptions[T](Task`1 task)
at Google.Api.Gax.Grpc.Rest.RestCallInvoker.BlockingUnaryCall[TRequest,TResponse](Method`2 method, String host, CallOptions options, TRequest request)
at Grpc.Core.Interceptors.InterceptingCallInvoker.b__3_0[TRequest,TResponse](TRequest req, ClientInterceptorContext`2 ctx)
at Grpc.Core.ClientBase.ClientBaseConfiguration.ClientBaseConfigurationInterceptor.BlockingUnaryCall[TRequest,TResponse](TRequest request, ClientInterceptorContext`2 context, BlockingUnaryCallContinuation`2 continuation)
at Grpc.Core.Interceptors.InterceptingCallInvoker.BlockingUnaryCall[TRequest,TResponse](Method`2 method, String host, CallOptions options, TRequest request)
at Google.Analytics.Data.V1Beta.BetaAnalyticsData.BetaAnalyticsDataClient.RunReport(RunReportRequest request, CallOptions options)
at Google.Api.Gax.Grpc.ApiCall.GrpcCallAdapter`2.CallSync(TRequest request, CallSettings callSettings)
at Google.Api.Gax.Grpc.ApiCallRetryExtensions.c__DisplayClass1_0`2.b__0(TRequest request, CallSettings callSettings)
at Google.Api.Gax.Grpc.ApiCall`2.c__DisplayClass12_0.b__1(TRequest req, CallSettings cs)
at Google.Api.Gax.Grpc.ApiCall`2.Sync(TRequest request, CallSettings perCallCallSettings)
at Google.Analytics.Data.V1Beta.BetaAnalyticsDataClientImpl.RunReport(RunReportRequest request, CallSettings callSettings)
но для этих конкретных дат они остаются неизменными
Подробнее здесь: https://stackoverflow.com/questions/789 ... r-one-hash