Skip to content

Commit

Permalink
fix event identifier
Browse files Browse the repository at this point in the history
  • Loading branch information
topefolorunso committed Aug 8, 2024
1 parent 0e352f1 commit 7ee4376
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 8 deletions.
5 changes: 2 additions & 3 deletions connectors/source_amplitude/integration_tests/dbt_project.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,5 @@ vars:
amplitude_database: "airbyte_db_default"
amplitude_schema: "airbyte_dbt_amplitude"

using_event_type: False

amplitude_event_identifier: "events"
amplitude_event_identifier: "event"
amplitude_event_type_identifier: "events_list"
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
WITH tmp AS (
SELECT
$insert_id AS _insert_id,
$schema AS schema,
"$insert_id" AS _insert_id,
"$schema" AS "schema",
adid AS ad_id,
amplitude_id,
app,
city,
client_event_time,
client_upload_time,
country,
data,
"data",
device_brand,
device_carrier,
device_family,
Expand All @@ -27,7 +27,7 @@ WITH tmp AS (
idfa,
ip_address,
is_attribution_event,
language,
"language",
library,
location_lat,
location_lng,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ models:
- name: event
schema: "{{ var('airbyte_schema', target.schema) }}"
database: "{{ var('airbyte_database', target.database) }}"
identifier: "{{ var('amplitude_event_identifier', 'events') }}"
identifier: "{{ var('amplitude_event_identifier', 'event') }}"
description: All fields and field values associated with events.
config:
+enabled: "{{ var('using_fivetran_model', False) }}"
Expand Down

0 comments on commit 7ee4376

Please sign in to comment.