justinmclean commented on code in PR #5509:
URL: https://github.com/apache/gravitino/pull/5509#discussion_r1833442770
##########
clients/cli/src/main/java/org/apache/gravitino/cli/commands/AuditCommand.java:
##########
@@ -0,0 +1,37 @@
+package org.apache.gravitino.cli.commands;
+
+import org.apache.gravitino.Audit;
+
+public abstract class AuditCommand extends Command {
+ /**
+ * @param url The URL of the Gravitino server.
+ * @param ignoreVersions If true don't check the client/server versions
match.
+ */
+ public AuditCommand(String url, boolean ignoreVersions) {
+ super(url, ignoreVersions);
+ }
+
+ /* Overridden in parent - do nothing */
+ @Override
+ public void handle() {}
+
+ /**
+ * Displays audit information for the given audit object.
+ *
+ * @param audit from a class that implements the Auditable interface.
+ */
+ public void displayAuditInfo(Audit audit) {
+ String auditInfo =
+ "creator,createTime,lastModifier,lastModifiedTime"
Review Comment:
perhaps go with "creator, create_time,modified,modified_time"
--
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]