Skip to content

Big data storage

Insert rows into big data storage

big_data_insert_rows

Batch insert rows into big data storage.

base.big_data_insert_rows(table_name, rows_data)

Output Dict containing a single inserted_row_count key with the number of rows actually inserted in the big data storage.

Example

rows = [
        {'Name': "A"},
        {'Name': "B"}
    ]
base.big_data_insert_rows('Table1', rows_data=rows)