A transformation that projects a subset of columns from a RawTable based on the specified column names.
The RawTableProjection class allows users to specify column names, and it produces a new RawTable containing only these columns. Internally, it determines the indices of the specified columns and applies the projection at the row level by retaining only the corresponding values.
Value parameters
columns
A sequence of column names to include in the resulting table.
Applies a projection to a RawTable based on the specified column names.
Applies a projection to a RawTable based on the specified column names.
This method selects a subset of columns from the input RawTable and returns a new RawTable containing only the specified columns. The projection is based on the column names provided during the construction of the RawTableProjection.
Value parameters
t
the input RawTable to which the transformation will be applied.
Attributes
Returns
a new RawTable containing only the columns specified by the columns parameter of the parent RawTableProjection class, in the same order as provided.