pub async fn import_data( database: &Database, file: &Path, format: ImportFormat, table: Option<&str>, ) -> Result<()>