Github user ravipesala commented on a diff in the pull request:
https://github.com/apache/carbondata/pull/2345#discussion_r192653651
--- Diff:
core/src/main/java/org/apache/carbondata/core/metadata/schema/table/CarbonTable.java
---
@@ -226,7 +226,7 @@ public static CarbonTable buildFromTablePath(String
tableName, String tablePath,
} else {
// Infer the schema from the Carbondata file.
TableInfo tableInfoInfer =
- SchemaReader.inferSchema(AbsoluteTableIdentifier.from(tablePath,
"null", "null"), false);
+ CarbonUtil.inferDummySchema(tablePath, "null", "null");
--- End diff --
Change the name of the method to `buildDummyTable(tableName, tablePath)
---