akashrn5 commented on a change in pull request #3697: [HOTFIX] Refactored hive related classes to use constants URL: https://github.com/apache/carbondata/pull/3697#discussion_r403959294
########## File path: integration/hive/src/main/java/org/apache/carbondata/hive/MapredCarbonInputFormat.java ########## @@ -94,8 +95,9 @@ private static void populateCarbonTable(Configuration configuration, String path // persisted in the schema CarbonTable carbonTable; AbsoluteTableIdentifier absoluteTableIdentifier = AbsoluteTableIdentifier - .from(validInputPath, getDatabaseName(configuration), getTableName(configuration)); - String schemaPath = CarbonTablePath.getSchemaFilePath(validInputPath); + .from(configuration.get(hive_metastoreConstants.META_TABLE_LOCATION), + getDatabaseName(configuration), getTableName(configuration)); + String schemaPath = CarbonTablePath.getSchemaFilePath(absoluteTableIdentifier.getTablePath()); Review comment: pass the configuration also to `getSchemaFilePath` method ---------------------------------------------------------------- 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: us...@infra.apache.org With regards, Apache Git Services