Class EmptyTableFunctionPartition

java.lang.Object
io.trino.operator.EmptyTableFunctionPartition
All Implemented Interfaces:
TableFunctionPartition

public class EmptyTableFunctionPartition extends Object implements TableFunctionPartition
This is a class representing empty input to a table function. An EmptyTableFunctionPartition is created when the table function has KEEP WHEN EMPTY property, which means that the function should be executed even if the input is empty, and all the table arguments are empty relations.

An EmptyTableFunctionPartition is created and processed once per node. To avoid duplicated execution, a table function having KEEP WHEN EMPTY property must have single distribution.