amaliujia commented on pull request #13898: URL: https://github.com/apache/beam/pull/13898#issuecomment-780189510
> The generated code prints the literal to a string and looks like this: > `c.output(org.apache.beam.sdk.values.Row.withSchema(outputSchema).attachValues(java.util.Arrays.asList(new org.apache.beam.sdk.extensions. sql.provider.UdfTestProvider.IncrementFn().increment(5L))));` > Based on this generated code, for a Java UDF, it's input won't lose any precision? Is there an example that the code generation generates code that casts input which causes precision lose? If not there is probably no data corruption for Java UDF. ---------------------------------------------------------------- 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: [email protected]
