justinmclean commented on code in PR #5293:
URL: https://github.com/apache/gravitino/pull/5293#discussion_r1838847296
##########
clients/cli/src/main/java/org/apache/gravitino/cli/GravitinoCommandLine.java:
##########
@@ -165,7 +167,9 @@ public static void displayHelp(Options options) {
/** Executes the appropriate command based on the command type. */
private void executeCommand() {
- if (entity.equals(CommandEntities.COLUMN)) {
+ if (line.hasOption(GravitinoOptions.OWNER)) {
Review Comment:
The owner command, unlike other commands, is done via a flag, not as an
entity. This is needed as we need to know the entity type to update, and
because of this, it needs to be checked first.
--
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]