Skip to content

Commit 4dcffbd

Browse files
committed
Remove unused
1 parent 2da79ae commit 4dcffbd

File tree

2 files changed

+0
-9
lines changed

2 files changed

+0
-9
lines changed

presto-spi/src/main/java/com/facebook/presto/spi/function/SqlFunction.java

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@
1313
*/
1414
package com.facebook.presto.spi.function;
1515

16-
import java.util.Optional;
17-
1816
import static com.facebook.presto.spi.function.ComplexTypeFunctionDescriptor.defaultFunctionDescriptor;
1917

2018
public interface SqlFunction
@@ -27,11 +25,6 @@ public interface SqlFunction
2725

2826
boolean isCalledOnNullInput();
2927

30-
default Optional<Integer> getPushdownSubfieldArgIndex()
31-
{
32-
return Optional.empty();
33-
}
34-
3528
String getDescription();
3629

3730
default ComplexTypeFunctionDescriptor getComplexTypeFunctionDescriptor()

presto-spi/src/main/java/com/facebook/presto/spi/function/SqlInvokedScalarFunction.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,4 @@
3131
boolean deterministic();
3232

3333
boolean calledOnNullInput();
34-
35-
int pushdownSubfieldArgIndex() default -1;
3634
}

0 commit comments

Comments
 (0)