I am new to dbt tool, I tried to process csv file using dbt seed , but it always drop and create table and load the data. but i want load csv file data into existing table. so i follow below step, getting failed.
added below setup in schema.yml file
sources:
- name: emp
seed:
enabled: true
seed_source:
local:
path: “seeds/emp.csv”
created csv-to-existing.sql model
{{
config(
materialized=‘table’,
target_table=‘emp’
)
}}
insert into {{ target_table }}
select * from {{ source(‘emp.csv’,‘emp’) }};
I am getting below error call() got an unexpected keyword argument ‘format’.
Help me how to process data.