diff --git a/sdk/textanalytics/azure-ai-textanalytics/src/main/java/com/azure/ai/textanalytics/AnalyzeActionsAsyncClient.java b/sdk/textanalytics/azure-ai-textanalytics/src/main/java/com/azure/ai/textanalytics/AnalyzeActionsAsyncClient.java index c7165e447c467..3717d10565caa 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/src/main/java/com/azure/ai/textanalytics/AnalyzeActionsAsyncClient.java +++ b/sdk/textanalytics/azure-ai-textanalytics/src/main/java/com/azure/ai/textanalytics/AnalyzeActionsAsyncClient.java @@ -149,7 +149,6 @@ import static com.azure.ai.textanalytics.implementation.Utility.toRecognizePiiEntitiesResultCollection; import static com.azure.ai.textanalytics.implementation.models.State.CANCELLED; import static com.azure.ai.textanalytics.implementation.models.State.NOT_STARTED; -import static com.azure.ai.textanalytics.implementation.models.State.PARTIALLY_COMPLETED; import static com.azure.ai.textanalytics.implementation.models.State.RUNNING; import static com.azure.ai.textanalytics.implementation.models.State.SUCCEEDED; import static com.azure.core.util.FluxUtil.monoError; @@ -1236,8 +1235,6 @@ private Mono> processAnalyzedModelRe status = LongRunningOperationStatus.SUCCESSFULLY_COMPLETED; } else if (CANCELLED.equals(state)) { status = LongRunningOperationStatus.USER_CANCELLED; - } else if (PARTIALLY_COMPLETED.equals(state)) { - status = LongRunningOperationStatus.fromString("partiallySucceeded", true); } else { status = LongRunningOperationStatus.fromString( analyzeJobStateResponse.getValue().getStatus().toString(), true);