sanpwc commented on code in PR #7265:
URL: https://github.com/apache/ignite-3/pull/7265#discussion_r2643576978
##########
modules/cli/src/main/java/org/apache/ignite/internal/cli/call/recovery/states/PartitionStatesCall.java:
##########
@@ -29,23 +29,16 @@
import org.apache.ignite.internal.cli.sql.table.Table;
import org.apache.ignite.rest.client.api.RecoveryApi;
import org.apache.ignite.rest.client.invoker.ApiException;
-import org.apache.ignite.rest.client.model.GlobalPartitionStateResponse;
-import org.apache.ignite.rest.client.model.GlobalPartitionStatesResponse;
-import org.apache.ignite.rest.client.model.LocalPartitionStateResponse;
-import org.apache.ignite.rest.client.model.LocalPartitionStatesResponse;
+import org.apache.ignite.rest.client.model.GlobalZonePartitionStateResponse;
+import org.apache.ignite.rest.client.model.GlobalZonePartitionStatesResponse;
+import org.apache.ignite.rest.client.model.LocalZonePartitionStateResponse;
+import org.apache.ignite.rest.client.model.LocalZonePartitionStatesResponse;
/** Call to get partition states. */
@Singleton
public class PartitionStatesCall implements Call<PartitionStatesCallInput,
Table> {
private final ApiClientFactory clientFactory;
- private static final List<String> GLOBAL_HEADERS = List.of("Zone name",
"Schema name", "Table ID", "Table name", "Partition ID",
- "State");
-
- private static final List<String> LOCAL_HEADERS = Stream
- .concat(Stream.of("Node name"), GLOBAL_HEADERS.stream())
- .collect(toList());
-
private static final List<String> ZONE_GLOBAL_HEADERS = List.of("Zone
name", "Partition ID", "State");
Review Comment:
Same as above. Is it correct to drop "Schema name"?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]