new to dbt-adapter, if any opinion is stupid, please corret
Description:
if you run dbt seed twice, it will simple double you csv file to backend.
in some situation, that is ok, like seed to kafka topics, flink cannot clear data in kafka
but other situation, eg, with a hive catalog + managed table, seed should
- drop table first
- recreate table
- insert
current seeds.sql has some promblems:
- quite complex, it even thinks of view, but seeds cann't be materialized as view (correct me if i'm wrong)
- macros/seed/seeds.sql, adapter.get_relation always returns None
new to dbt-adapter, if any opinion is stupid, please corret
Description:
if you run dbt seed twice, it will simple double you csv file to backend.
in some situation, that is ok, like seed to kafka topics, flink cannot clear data in kafka
but other situation, eg, with a hive catalog + managed table, seed should
current seeds.sql has some promblems: