Closed mknegi closed 2 months ago
Checked with Aditi, apply
is a UDF for testing in Java. Then we probably won't fix this since custom UDF is not yet supported in Prestissimo.
@mbasmanova, @pedroerp : Do you think we would implement the presto.default.apply function in Velox https://github.com/prestodb/presto/blob/master/presto-main/src/main/java/com/facebook/presto/operator/scalar/ApplyFunction.java ?
Supporting this function in Java seems more tractable to me than C++ (without any kind of codegen support ). Though I'm not an expert here, so would like to hear your thoughts.
/**
* This scalar function exists primarily to test lambda expression support.
*/
public final class ApplyFunction
Given this comment, what's the need for implementing this in Prestissimo?
@mbasmanova : There isn't a need.
This issue came up when migrating presto-tests to use the native engine for query execution.
We can disable this test.
@mknegi : Please disable this test.
Failing Query: SELECT apply(0, x -> x + c1) FROM (VALUES 1) t(c1)
Error Message
Expected output: VALUES 1