Skip to content

featurebyte.ItemView.join_event_table_attributes

join_event_table_attributes(
columns: list,
event_suffix: Optional[str]=None
) -> ItemView

Description

Joins additional attributes from the related EventTable. This operation returns a new ItemView object. Note that the event timestamp and event attributes representing entities in the related Event table are already automatically added to the ItemView.

Parameters

  • columns: list
    List of column names to include from the EventTable.

  • event_suffix: Optional[str]
    A suffix to append on to the columns from the EventTable.

Returns

  • ItemView
    The ItemView object with the joined columns from the EventTable.

Examples

Join columns into an ItemView.

>>> item_view = catalog.get_view("INVOICEITEMS")
>>> item_view = item_view.join_event_table_attributes(
...     columns=["Timestamp"], event_suffix="_event"
... )