I have a table that looks like this (using MariaDB):
CREATE TABLE table1 (
id BIGINT UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY
,c_id varchar(40) NULL
,email varchar(150) NULL
,dynamic_columns BLOB NULL
,created_at TIMESTAMP NOT NULL DEFAULT 0
,updated_at TIMESTAMP NULL DEFAULT current_timestamp ON UPDATE current_timestamp
);
I'm loading data from some legacy tables into this table and I'm making use of MariaDB's dynamic_columns
to store up to 3 dynamic columns based on the which legacy table.
(https://mariadb.com/kb/en/mariadb/documentation/nosql/dynamic-columns/)
I'd like to use LOAD DATA INFILE
to quickly/bulk to insert the legacy data into the new table, but I can't figure out how to do that with dynamic columns.
Searching Google has turned up zilch.