ajantha-bhat 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_r349547968
##########
File path: processing/src/main/java/org/apache/carbondata/processing/loading/parser/impl/RowParserImpl.java
##########
@@ -69,7 +69,12 @@ public RowParserImpl(DataField[] output, CarbonDataLoadConfiguration configurati
DataField[] input = new DataField[fields.length];
inputMapping = new int[input.length];
int k = 0;
+ Boolean isNonSchemaPresent = false;
for (int i = 0; i < fields.length; i++) {
+ if (fields[i].getColumn().getSchemaOrdinal() == -1) {
+ isNonSchemaPresent = true;
+ continue;
+ }
Review comment:
if (fields[i].getColumn().getSchemaOrdinal() == -1) {
input[k] = fields[i];
inputMapping[k] = -1;
k++;
continue;
}
----------------------------------------------------------------
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