Robert Put
09/22/2022, 12:51 PMMarcos Marx (Airbyte)
09/22/2022, 2:17 PMdate_at
fields are datetimes or strings?Marcos Marx (Airbyte)
09/22/2022, 2:17 PMRobert Put
09/22/2022, 2:28 PMRobert Put
09/22/2022, 2:28 PMPostgres 13.7 -> snowflake
postgres source -> 1.0.10
snowflake dest -> 0.4.36
airbyte -> 0.40.7
all the tables have: updated_at fields to use as cursor but no option to select them. Previous was processing the same data through stitch so i'd think it would be possible.
Robert Put
09/22/2022, 2:28 PMRobert Put
09/22/2022, 2:30 PMRobert Put
09/22/2022, 2:30 PMRobert Put
09/22/2022, 4:04 PMMarcos Marx (Airbyte)
09/22/2022, 4:19 PMRobert Put
09/22/2022, 4:49 PMRobert Put
09/22/2022, 4:52 PMorder_pkey" PRIMARY KEY, btree (id
Robert Put
09/22/2022, 4:52 PMupdated_at | timestamp without time zone | | | | plain
Robert Put
09/22/2022, 4:53 PMMarcos Marx (Airbyte)
09/22/2022, 4:56 PMRobert Put
09/22/2022, 5:18 PMRobert Put
09/22/2022, 5:25 PMRobert Put
09/22/2022, 6:23 PMRobert Put
09/22/2022, 6:26 PMRobert Put
09/22/2022, 6:30 PM{"syncMode":"full_refresh","cursorField":[],"destinationSyncMode":"append","primaryKey":[["id"]]
but no cursors?Robert Put
09/22/2022, 7:30 PMRobert Put
09/23/2022, 1:38 PMI've tried setting this up on multiple other databases. Postgres: 12.8/13.7/13.4/14.3. And it works as expected… The issue seems specific to this database but I'm not sure what…
Robert Put
09/23/2022, 5:23 PMRobert Put
09/23/2022, 5:23 PM{
"config": {
"syncMode": "full_refresh",
"cursorField": [],
"destinationSyncMode": "overwrite",
"primaryKey": [
[
"id"
]
],
"aliasName": "test_a",
"selected": false
},
"stream": {
"name": "test_a",
"jsonSchema": {
"type": "object",
"properties": {
"note": {
"type": "string"
},
"test": {
"type": "string"
},
"test1": {
"type": "string"
},
"test2": {
"type": "string"
},
"test3": {
"type": "string",
"format": "date-time",
"airbyte_type": "timestamp_without_timezone"
},
"test4": {
"type": "number",
"airbyte_type": "integer"
},
"test5": {
"type": "number"
},
"test6": {
"type": "number",
"airbyte_type": "integer"
},
"test7": {
"type": "number",
"airbyte_type": "integer"
},
"test8": {
"type": "string",
"format": "date-time",
"airbyte_type": "timestamp_without_timezone"
},
"test9": {
"type": "string"
},
"test10": {
"type": "boolean"
},
"test11": {
"type": "string"
},
"test12": {
"type": "string",
"format": "date-time",
"airbyte_type": "timestamp_without_timezone"
},
"test13": {
"type": "string"
},
"test14": {
"type": "string"
},
"test15": {
"type": "string"
},
"test16": {
"type": "number",
"airbyte_type": "integer"
},
"test17": {
"type": "string",
"format": "date-time",
"airbyte_type": "timestamp_without_timezone"
},
"test18": {
"type": "number",
"airbyte_type": "integer"
},
"test19": {
"type": "string"
},
"test20": {
"type": "number",
"airbyte_type": "integer"
},
"test21": {
"type": "string"
},
"test22": {
"type": "string"
},
"test23": {
"type": "number",
"airbyte_type": "integer"
},
"test24": {
"type": "number",
"airbyte_type": "integer"
},
"test25": {
"type": "number",
"airbyte_type": "integer"
},
"test26": {
"type": "number",
"airbyte_type": "integer"
},
"test27": {
"type": "string"
}
}
},
"supportedSyncModes": [
"full_refresh"
],
"defaultCursorField": [],
"sourceDefinedPrimaryKey": [
[
"id"
]
],
"namespace": "public"
}
},
has option:
{
"config": {
"syncMode": "full_refresh",
"cursorField": [],
"destinationSyncMode": "overwrite",
"primaryKey": [
[
"id"
]
],
"aliasName": "test_b",
"selected": false
},
"stream": {
"name": "test_b",
"jsonSchema": {
"type": "object",
"properties": {
"test": {
"type": "string"
},
"test1": {
"type": "string"
},
"test2": {
"type": "number",
"airbyte_type": "integer"
},
"test3": {
"type": "string"
},
"test4": {
"type": "string",
"format": "date-time",
"airbyte_type": "timestamp_without_timezone"
},
"test5": {
"type": "string"
},
"test6": {
"type": "boolean"
},
"test7": {
"type": "string",
"format": "date-time",
"airbyte_type": "timestamp_without_timezone"
},
"test8": {
"type": "string",
"format": "date-time",
"airbyte_type": "timestamp_without_timezone"
},
"test9": {
"type": "string"
},
"test10": {
"type": "string"
},
"test11": {
"type": "string"
},
"test12": {
"type": "string"
}
}
},
"supportedSyncModes": [
"full_refresh",
"incremental"
],
"defaultCursorField": [],
"sourceDefinedPrimaryKey": [
[
"id"
]
],
"namespace": "public"
}
},
Robert Put
09/23/2022, 9:18 PMRobert Put
09/23/2022, 10:17 PM<https://github.com/airbytehq/airbyte/pull/14356>
DB Sources: only show a table can sync incrementally if at least one column can be used as a cursor field
Robert Put
09/23/2022, 10:17 PMRobert Put
09/27/2022, 3:05 PM