Gerard Clos
10/26/2022, 12:38 PMpublic database inside clickhouse instead of the database I indicated in the destination config page. Is this because the connector is still in alpha?Saj Dider (Airbyte)
10/26/2022, 3:37 PMGerard Clos
10/27/2022, 8:13 AMGerard Clos
10/28/2022, 7:55 AMGerard Clos
10/28/2022, 11:15 AMRyadh
10/28/2022, 12:19 PMGerard Clos
10/28/2022, 12:21 PMDB::Exception: System call renameat2() is not supported.
And I imagine it's because of this.Ryadh
10/28/2022, 12:25 PMGerard Clos
10/28/2022, 12:57 PMSaj Dider (Airbyte)
11/01/2022, 3:12 PMGerard Clos
11/02/2022, 8:33 AMSaj Dider (Airbyte)
11/03/2022, 3:39 PMBerzan Yildiz
11/15/2022, 11:00 AMGeoff Genz
11/15/2022, 12:58 PMGeoff Genz
11/15/2022, 12:59 PMGeoff Genz
11/15/2022, 1:00 PMGeoff Genz
11/15/2022, 1:00 PMBerzan Yildiz
11/16/2022, 12:12 PMGeoff Genz
11/16/2022, 1:33 PMGeoff Genz
11/16/2022, 1:40 PMBerzan Yildiz
11/16/2022, 5:27 PM8 of 41 ERROR creating sql incremental model pipedrive.pipedrive_activities_scd ........................................ [ERROR in 31.13s]
11 of 41 ERROR creating sql incremental model pipedrive.pipedrive_deals_scd ............................................ [ERROR in 14.65s]
14 of 41 ERROR creating sql incremental model pipedrive.pipedrive_organizations_scd .................................... [ERROR in 11.73s]
16 of 41 ERROR creating sql incremental model pipedrive.pipedrive_persons_scd .......................................... [ERROR in 9.55s]
17 of 41 ERROR creating sql incremental model pipedrive.pipedrive_pipelines_scd ........................................ [ERROR in 1.76s]
18 of 41 ERROR creating sql incremental model pipedrive.pipedrive_stages_scd ........................................... [ERROR in 1.78s]
19 of 41 ERROR creating sql incremental model pipedrive.pipedrive_users_scd ............................................ [ERROR in 2.26s]
Database Error in model pipedrive_activities_scd (models/generated/airbyte_incremental/scd/pipedrive/pipedrive_activities_scd.sql)
:HTTPDriver url <http://localhost:8123> returned response code 500)
Code: 1. DB::Exception: System call renameat2() is not supported. (UNSUPPORTED_METHOD) (version 22.10.2.11 (official build))
compiled Code at ../build/run/airbyte_utils/models/generated/airbyte_incremental/scd/pipedrive/pipedrive_activities_scd.sql
Database Error in model pipedrive_deals_scd (models/generated/airbyte_incremental/scd/pipedrive/pipedrive_deals_scd.sql)
:HTTPDriver url <http://localhost:8123> returned response code 500)
Code: 1. DB::Exception: System call renameat2() is not supported. (UNSUPPORTED_METHOD) (version 22.10.2.11 (official build))
It is the pipedrive integrationGeoff Genz
11/16/2022, 5:39 PMBerzan Yildiz
11/16/2022, 5:55 PMBerzan Yildiz
11/16/2022, 5:55 PM2022-11-16 08:45:30 normalization > DBT >=1.0.0 detected; using 10K event buffer size
2022-11-16 08:45:30 INFO i.a.w.n.NormalizationAirbyteStreamFactory(filterOutAndHandleNonAirbyteMessageLines):104 -
2022-11-16 08:45:48 normalization > Running with dbt=1.3.0Berzan Yildiz
11/16/2022, 5:55 PMGeoff Genz
11/16/2022, 7:00 PMGeoff Genz
11/16/2022, 7:13 PMBerzan Yildiz
11/16/2022, 10:58 PMGerard Clos
01/19/2023, 12:30 PMGeoff Genz
01/19/2023, 2:26 PMGerard Clos
01/19/2023, 4:34 PM:HTTPDriver url <http://host.docker.internal:8123> returned response code 500)
airbyte-worker | 2023-01-19 12:23:31 normalization > Code: 1. DB::Exception: System call renameat2() is not supported. (UNSUPPORTED_METHOD) (version 22.10.2.11 (official build))Gerard Clos
01/19/2023, 4:34 PMGeoff Genz
01/19/2023, 4:35 PMGerard Clos
01/19/2023, 4:35 PMGerard Clos
01/19/2023, 4:35 PMGerard Clos
01/19/2023, 4:36 PMGeoff Genz
01/19/2023, 4:36 PMGerard Clos
01/19/2023, 4:36 PMGeoff Genz
01/19/2023, 4:36 PMGeoff Genz
01/19/2023, 4:36 PMGerard Clos
01/19/2023, 5:25 PMGerard Clos
01/19/2023, 5:33 PMGeoff Genz
01/19/2023, 5:39 PMrenameat2() error? That is expected if ClickHouse doesn't support EXCHANGE TABLES (trying to exchange tables is currently the only way to test), but as I said, dbt/normalization should just keep going after that.Gerard Clos
01/20/2023, 7:53 AMGerard Clos
01/20/2023, 7:56 AMInternal Server Error: Could not find configuration for STANDARD_SYNC: 6f4c4ef8-22f2-4718-a99c-5ec6e2a8992e.
But maybe you see something moreGerard Clos
01/20/2023, 7:57 AMAndres Gutierrez
01/20/2023, 8:01 AMAndres Gutierrez
01/20/2023, 9:02 AMOur current version of incremental is append.We are trying
incremental + dedup and is failing.
I changed to incremental + append and the sync is working
The question is:
Do you know if we need to do something special on our Airbyte to make incremental + dedup SYNC work?
This error in the log I think is interesting
Completed with 1 error and 0 warnings:
normalization > Database Error in model ls_13_incremental_contacts_zoho_crm_stream_scd (models/generated/airbyte_incremental/scd/[WORKSPACE_NAME]/ls_13_incremental_contacts_zoho_crm_stream_scd.sql)
HTTPDriver for https://{CLICKHOUSE_URL} returned response code 500)
DB::Exception: ALTER UPDATE/ALTER DELETE statement with subquery may be nondeterministic, see allow_nondeterministic_mutations setting. (BAD_ARGUMENTS) (version 22.12.1.21301 (official build))Geoff Genz
01/20/2023, 10:24 AMAndres Gutierrez
01/20/2023, 10:26 AMallow_nondeterministic_mutations flag enable it incremental + dedup won't work?Geoff Genz
01/20/2023, 10:28 AMAndres Gutierrez
01/20/2023, 10:29 AMGeoff Genz
01/20/2023, 10:31 AMupdate_rows function. ClickHouse doesn't allow updates of key columns.Geoff Genz
01/20/2023, 10:34 AMAndres Gutierrez
01/25/2023, 5:45 PMAirbyte -> Clickhouse integration
So to resume we want to do incremental + dedup on all streams in the source.
I'm trying connecting my local Airbyte with a local Clickhouse and with a instance hosted on Clickhouse Cloud.
In my local Clickhouse updating streams configured as incremental + dedup does not fail but the update takes longer that initial full scan of the source.
1. Full scan: 4m
2. Incremental Update: 7m
In the case of Clickhouse CLOUD.
Incremental update fails with this error:
:HTTPDriver for <https://MY_ID_HERE>.[thing].aws.clickhouse.cloud:8443 returned response code 500
Code: 36. DB::Exception: ALTER UPDATE/ALTER DELETE statement with subquery may be nondeterministic, see allow_nondeterministic_mutations setting. (BAD_ARGUMENTS)
The weird thing is that my LOCAL clickhouse doesn't have either allow_nondeterministic_mutations flag enabled looking on clickhouse console
SELECT value FROM system.settings where name='allow_nondeterministic_mutations'
SELECT value
FROM system.settings
WHERE name = 'allow_nondeterministic_mutations'
Query id: e361bd2f-a7a1-46f4-98f6-042e90e7a82a
┌─value─┐
│ 0 │
└───────┘
1 row in set. Elapsed: 0.014 sec.
Do you have any idea why
1. And incremental update takes longer that initial full scan?
2. How is possible that's working in my local clickhouse even if I don't have allow_nondeterministic_mutations?Geoff Genz
01/25/2023, 5:47 PMGeoff Genz
01/25/2023, 5:49 PMAndres Gutierrez
01/25/2023, 5:52 PMGeoff Genz
01/25/2023, 5:52 PMAndres Gutierrez
01/25/2023, 5:53 PMAndres Gutierrez
01/25/2023, 5:54 PMAndres Gutierrez
01/25/2023, 5:54 PMGeoff Genz
01/25/2023, 5:54 PMGeoff Genz
01/25/2023, 5:55 PMGeoff Genz
01/25/2023, 5:55 PMAndres Gutierrez
01/25/2023, 5:58 PMAndres Gutierrez
01/25/2023, 5:58 PMGeoff Genz
01/25/2023, 5:59 PMGeoff Genz
01/25/2023, 5:59 PMGeoff Genz
01/25/2023, 5:59 PMAndres Gutierrez
01/25/2023, 6:00 PMAndres Gutierrez
01/25/2023, 6:00 PMGeoff Genz
01/25/2023, 6:00 PMAndres Gutierrez
01/25/2023, 6:02 PMincremental + dedup is not a good idea for ClickhouseAndres Gutierrez
01/25/2023, 6:02 PMallow_nondeterministic_mutations flag to see if perfomance improveGerard Clos
02/07/2023, 12:50 PMGeoff Genz
02/07/2023, 12:53 PMGerard Clos
02/07/2023, 12:54 PMGeoff Genz
02/07/2023, 12:55 PMGeoff Genz
02/07/2023, 12:57 PM