Skip to content

Commit

Permalink
Remove unused method in PageFunctionCompiler
Browse files Browse the repository at this point in the history
`PageFunctionCompiler#toBlockParameters` was introduced in commit
b756520 and then the reference to that method was removed in commit
fca73a3, so we can delete it.
  • Loading branch information
tangjiangling authored and martint committed Sep 23, 2022
1 parent 72bb52f commit eef6662
Showing 1 changed file with 0 additions and 9 deletions.
Expand Up @@ -611,15 +611,6 @@ private static List<Integer> getInputChannels(RowExpression expression)
return getInputChannels(ImmutableList.of(expression));
}

private static List<Parameter> toBlockParameters(List<Integer> inputChannels)
{
ImmutableList.Builder<Parameter> parameters = ImmutableList.builder();
for (int channel : inputChannels) {
parameters.add(arg("block_" + channel, Block.class));
}
return parameters.build();
}

private static RowExpressionVisitor<BytecodeNode, Scope> fieldReferenceCompiler(CallSiteBinder callSiteBinder)
{
return new InputReferenceCompiler(
Expand Down

0 comments on commit eef6662

Please sign in to comment.