CarloMariaProietti opened a new issue, #732:
URL: https://github.com/apache/wayang/issues/732

   The current function is as follows; `inputType` is unused.
   ```
   private static <Input, Output> 
FunctionDescriptor.SerializableFunction<Input, Output> 
createPojoJavaImplementation(
               final String[] fieldNames, final BasicDataUnitType<Input> 
inputType) {
           // Get the names of the fields to be projected.
           if (fieldNames.length != 1) {
               return t -> {
                   throw new IllegalStateException("The projection descriptor 
currently supports only a single field.");
               };
           }
           final String fieldName = fieldNames[0];
           return new PojoImplementation<>(fieldName);
       }
   ```
   


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to