justinmclean commented on code in PR #5476:
URL: https://github.com/apache/gravitino/pull/5476#discussion_r1830209520
##########
clients/cli/src/main/java/org/apache/gravitino/cli/GravitinoCommandLine.java:
##########
@@ -175,6 +176,10 @@ private void handleTableCommand() {
if (CommandActions.DETAILS.equals(command)) {
String table = name.getTableName();
new TableDetails(url, ignore, metalake, catalog, schema, table).handle();
+
+ if (line.hasOption(GravitinoOptions.INDEX)) {
+ new ListIndexes(url, ignore, metalake, catalog, schema,
table).handle();
+ }
Review Comment:
This should be an if-else, only details or indexes should be displayed, not
both.
--
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]