jackylk commented on a change in pull request #3561: [HOTFIX] Fix INSERT STAGE 
footer read error
URL: https://github.com/apache/carbondata/pull/3561#discussion_r364532329
 
 

 ##########
 File path: 
core/src/main/java/org/apache/carbondata/core/reader/CarbonIndexFileReader.java
 ##########
 @@ -112,4 +112,34 @@ public void openThriftReader(byte[] fileData) throws 
IOException {
   public boolean hasNext() throws IOException {
     return thriftReader.hasNext();
   }
+
+  /**
+   * Return the footer offset of the given dataFileName in the index file
+   *
+   * @param indexFilePath path of the index file
+   * @param dataFileName file name of the data file to match in the index file
+   * @param conf hadoop configuration
+   * @return footer offset of the data file
+   * @throws IOException
+   */
+  public static long readFooterOffsetFromIndexFile(String indexFilePath, 
String dataFileName,
 
 Review comment:
   fixed

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to