pub fn source_add_partition_offset_cols(
columns: &[ColumnCatalog],
connector_name: &str,
) -> ([bool; 2], [ColumnDesc; 2])
Expand description
Utility function for adding partition and offset columns to the columns, if not specified by the user.
ยงReturns
columns_exist
: whether 1.partition
/file
and 2.offset
columns are included incolumns
.additional_columns
: TheColumnCatalog
forpartition
/file
andoffset
columns.