VenuReddy2103 commented on a change in pull request #3436: [CARBONDATA-3548]Geospatial Support: Modified to create and load the table with a nonschema dimension sort column. And added InPolygon UDF
URL:
https://github.com/apache/carbondata/pull/3436#discussion_r349877866
##########
File path: processing/src/main/java/org/apache/carbondata/processing/loading/parser/impl/RowParserImpl.java
##########
@@ -79,6 +84,17 @@ public RowParserImpl(DataField[] output, CarbonDataLoadConfiguration configurati
}
}
}
+ /* If non schema fields are present, keep all of them at the end of input */
+ if (isNonSchemaPresent) {
+ for (int i = 0; i < fields.length; i++) {
+ if (fields[i].getColumn().getSchemaOrdinal() != -1) {
+ continue;
+ }
+ input[k] = fields[i];
+ inputMapping[k] = -1;
+ k++;
+ }
+ }
Review comment:
same as above.
----------------------------------------------------------------
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:
[hidden email]
With regards,
Apache Git Services