File tree Expand file tree Collapse file tree 2 files changed +11
-15
lines changed
airbyte-integrations/connectors/source-senseforce Expand file tree Collapse file tree 2 files changed +11
-15
lines changed Original file line number Diff line number Diff line change 4
4
"stream" : {
5
5
"name" : " dataset" ,
6
6
"json_schema" : {},
7
- "supported_sync_modes" : [
8
- " full_refresh" ,
9
- " incremental"
10
- ]
7
+ "supported_sync_modes" : [" full_refresh" , " incremental" ]
11
8
},
12
9
"sync_mode" : " incremental" ,
13
10
"destination_sync_mode" : " overwrite"
14
11
}
15
12
]
16
13
}
17
-
Original file line number Diff line number Diff line change @@ -11,12 +11,12 @@ definitions:
11
11
http_method : " POST"
12
12
request_options_provider :
13
13
request_body_data : |
14
- [{"clause": {"type": "timestamp", "operator": 10, "parameters":
15
- [{"value": {{ stream_slice['start_time'] | int * 1000 }} },
16
- {"value": {{ stream_slice['end_time'] | int * 1000 + (86400000 - 1) }} }
17
- ]
18
-
19
- }, "orderBy": 1, "columnName": "Timestamp"}]/
14
+ [{"clause": {"type": "timestamp", "operator": 10, "parameters":
15
+ [{"value": {{ stream_slice['start_time'] | int * 1000 }} },
16
+ {"value": {{ stream_slice['end_time'] | int * 1000 + (86400000 - 1) }} }
17
+ ]
18
+
19
+ }, "orderBy": 1, "columnName": "Timestamp"}]/
20
20
request_headers :
21
21
Content-Type : application/json
22
22
authenticator :
@@ -69,10 +69,10 @@ definitions:
69
69
path : " /api/dataset/execute/{{ config['dataset_id']}}"
70
70
stream_cursor_field : " airbyte_cursor"
71
71
transformations :
72
- - type : AddFields
73
- fields :
74
- - path : [ "airbyte_cursor" ]
75
- value : " {{ record['timestamp'] | int / 1000 }}"
72
+ - type : AddFields
73
+ fields :
74
+ - path : ["airbyte_cursor"]
75
+ value : " {{ record['timestamp'] | int / 1000 }}"
76
76
77
77
streams :
78
78
- " *ref(definitions.dataset_stream)"
You can’t perform that action at this time.
0 commit comments