Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
1.5.0
-
None
-
None
Description
Test code:
Schema schema = CarbonSchemaReader .readSchemaInIndexFile(path) .asOriginOrder(); // Transform the schema String[] strings = new String[schema.getFields().length]; for (int i = 0; i < schema.getFields().length; i++) { strings[i] = (schema.getFields())[i].getFieldName(); }
Error:
java.io.IOException: Not an index file name Not an index file name at org.apache.carbondata.sdk.file.CarbonSchemaReader.readSchemaInIndexFile(CarbonSchemaReader.java:90) at org.apache.carbondata.examples.sdk.CarbonReaderExample.main(CarbonReaderExample.java:97)
Attachments
Issue Links
- is a child of
-
CARBONDATA-2951 CSDK: Provide C++ interface for SDK
- Open
- links to