This is an automated email from the ASF dual-hosted git repository.

saurabhd336 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pinot.git


The following commit(s) were added to refs/heads/master by this push:
     new 8a1d92fc06 Change getPrettyName() to default to getId() (#10674)
8a1d92fc06 is described below

commit 8a1d92fc066d9fe107f6b3d218bd69ec89a9f69c
Author: Gonzalo Ortiz Jaureguizar <gor...@users.noreply.github.com>
AuthorDate: Tue Apr 25 09:34:19 2023 +0200

    Change getPrettyName() to default to getId() (#10674)
---
 .../src/main/java/org/apache/pinot/segment/spi/index/IndexType.java   | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git 
a/pinot-segment-spi/src/main/java/org/apache/pinot/segment/spi/index/IndexType.java
 
b/pinot-segment-spi/src/main/java/org/apache/pinot/segment/spi/index/IndexType.java
index ca78711b06..11c8424a4b 100644
--- 
a/pinot-segment-spi/src/main/java/org/apache/pinot/segment/spi/index/IndexType.java
+++ 
b/pinot-segment-spi/src/main/java/org/apache/pinot/segment/spi/index/IndexType.java
@@ -61,7 +61,9 @@ public interface IndexType<C extends IndexConfig, IR extends 
IndexReader, IC ext
 
   Map<String, C> getConfig(TableConfig tableConfig, Schema schema);
 
-  String getPrettyName();
+  default String getPrettyName() {
+    return getId();
+  }
 
   /**
    * Returns the {@link IndexCreator} that can should be used to create an 
index of this type with the given context


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org
For additional commands, e-mail: commits-h...@pinot.apache.org

Reply via email to