bi_etl.bulk_loaders.sql_server_bcp module

class bi_etl.bulk_loaders.sql_server_bcp.SQLServerBCP(bcp_config: BCP_Config, bcp_encoding: str = 'utf-8')[source]

Bases: BulkLoader

__init__(bcp_config: BCP_Config, bcp_encoding: str = 'utf-8')[source]
apply_updates(table_object: Table, update_rows: Sequence[Row])

NOT TESTED !

load_from_files(local_files: list, table_object: Table, table_to_load: str = None, perform_rename: bool = False, file_compression: str = '', options: str = '', analyze_compression: str = None) int[source]
load_from_iterable(iterable: Iterable, table_object: Table, table_to_load: str = None, perform_rename: bool = False, progress_frequency: int = 10, analyze_compression: str = None, parent_task: ETLTask | None = None) int[source]
load_from_iterator(iterator: Iterator, table_object: Table, table_to_load: str = None, perform_rename: bool = False, progress_frequency: int = 10, analyze_compression: str = None, parent_task: ETLTask | None = None) int
load_table_from_cache(table_object: Table, table_to_load: str = None, perform_rename: bool = False, progress_frequency: int = 10, analyze_compression: str = None) int
static multiple_replace_safe(string, rep_dict)[source]
property needs_all_columns
rename_table(temp_table_name: str, table_object: Table)
static value_for_bcp(column_value)[source]