diff --git a/src/main/java/org/eugene/controller/Renderer.java b/src/main/java/org/eugene/controller/Renderer.java index 5925d7e..67bb72c 100644 --- a/src/main/java/org/eugene/controller/Renderer.java +++ b/src/main/java/org/eugene/controller/Renderer.java @@ -44,9 +44,9 @@ public boolean loadAndShow(){ String absolutePath = selectedFile.getAbsolutePath(); Path path = new Path(absolutePath); DataParser dataParser; - if (absolutePath.endsWith(".orc")){ + if (absolutePath.endsWith("orc")){ dataParser = new ORCDataParser(); - }else if(absolutePath.endsWith(".avro")){ + }else if(absolutePath.endsWith("avro")){ dataParser = new AVRODataParser(); }else{ dataParser = new ParquetDataParser();