2.1.9.1.3.3.2. cli.cmd_etl.batetl.etl.table.Table

class cli.cmd_etl.batetl.etl.table.Table(start_date: TimestampScalar, output_format: OutputFormats | None = None, join_on: str | None = None, **kwargs)

Implements the functionalities to create tables out of the decoded CAN messages.

Parameters:
  • _start_date – The start date of the CAN measurement.

  • _output_format – Only support output formats are CSV and PARQUET

  • _join_on – All CAN message are join based on the Date column of this specified column

__init__(start_date: TimestampScalar, output_format: OutputFormats | None = None, join_on: str | None = None, **kwargs)

Methods

__init__(start_date[, output_format, join_on])

can_to_table(data)

The can_to_table method converts CAN messages stored as json object to a pyarrow table

join(tables)

The method join takes a list of tables and joins these tables based on the Date column of the table containing the specified join_on column.

save_data(tables)

The save_data method saves all passed tables with respect to the configuration.