zaleslaw commented on issue #5800: IGNITE-10866: Add an example of LogRegression model loading from Spark via parquet file URL: https://github.com/apache/ignite/pull/5800#issuecomment-454430665 Dropped the piece of code /** * Prints parquet group of data. * NOTE: Recursive procedure. * * @param g Group for printing. */ private static void printGroup(Group g) { int fieldCnt = g.getType().getFieldCount(); for (int field = 0; field < fieldCnt; field++) { int valCnt = g.getFieldRepetitionCount(field); Type fieldType = g.getType().getType(field); String fieldName = fieldType.getName(); for (int idx = 0; idx < valCnt; idx++) { if (fieldType.isPrimitive()) System.out.println(fieldName + " " + g.getValueToString(field, idx)); else printGroup(g.getGroup(field, idx)); } } System.out.println(); }
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on 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