Skip to content

Commit

Permalink
replace postgres to duckdb
Browse files Browse the repository at this point in the history
  • Loading branch information
AstrakhantsevaAA committed Feb 28, 2024
1 parent d98a991 commit 84ce997
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
6 changes: 3 additions & 3 deletions sources/kafka_pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
def load_from_several_topics() -> None:
pipeline = dlt.pipeline(
pipeline_name="kafka_pipeline",
destination="postgres",
destination="duckdb",
dataset_name="kafka_messages",
)

Expand All @@ -25,7 +25,7 @@ def load_from_several_topics() -> None:
def load_with_custom_processor() -> None:
pipeline = dlt.pipeline(
pipeline_name="kafka_pipeline",
destination="postgres",
destination="duckdb",
dataset_name="kafka_messages",
)

Expand Down Expand Up @@ -58,7 +58,7 @@ def load_starting_from_date() -> None:

pipeline = dlt.pipeline(
pipeline_name="kafka_pipeline",
destination="postgres",
destination="duckdb",
dataset_name="kafka_messages",
)

Expand Down
1 change: 1 addition & 0 deletions tests/kinesis/test_kinesis.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ def test_kinesis_incremental(kinesis_client: Any) -> None:
pipeline_name="kinesis_test",
destination="duckdb",
dataset_name="kinesis_test_data",
full_refresh=True,
)
test_id = str(uuid.uuid4())

Expand Down

0 comments on commit 84ce997

Please sign in to comment.