You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: airbyte-integrations/connectors/source-google-ads/source_google_ads/manifest.yaml
+39-3Lines changed: 39 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -1016,7 +1016,19 @@ definitions:
1016
1016
"datetime_format": "%Y-%m-%d"
1017
1017
}
1018
1018
}
1019
-
condition: "{{ (components_values.get('query', '').count('segments.date') == 1 and (components_values.get('query') | regex_search('SELECT.*segments\\.date.*FROM')) is not none) or (components_values.get('query', '').count('segments.date') == 2 and (components_values.get('query') | regex_search('SELECT.*segments\\.date.*FROM')) is not none and (components_values.get('query') | regex_search('ORDER BY.*?segments\\.date.*?LIMIT')) is not none) }}"
and (components_values.get('query') | regex_search('(SELECT[\s\S]*?segments\\.date[\s\S]*?FROM)'))
1029
+
and (components_values.get('query') | regex_search('(ORDER BY[\s\S]*?segments\\.date)'))
1030
+
)
1031
+
}}
1020
1032
create_or_update: true
1021
1033
- type: ComponentMappingDefinition
1022
1034
field_path:
@@ -1033,7 +1045,19 @@ definitions:
1033
1045
- $parameters
1034
1046
- cursor_field
1035
1047
value: "segments.date"
1036
-
condition: "{{ (components_values.get('query', '').count('segments.date') == 1 and (components_values.get('query') | regex_search('SELECT.*segments\\.date.*FROM')) is not none) or (components_values.get('query', '').count('segments.date') == 2 and (components_values.get('query') | regex_search('SELECT.*segments\\.date.*FROM')) is not none and (components_values.get('query') | regex_search('ORDER BY.*?segments\\.date.*?LIMIT')) is not none) }}"
and (components_values.get('query') | regex_search('(SELECT[\s\S]*?segments\\.date[\s\S]*?FROM)'))
1058
+
and (components_values.get('query') | regex_search('(ORDER BY[\s\S]*?segments\\.date)'))
1059
+
)
1060
+
}}
1037
1061
create_or_update: true
1038
1062
- type: ComponentMappingDefinition
1039
1063
field_path:
@@ -1047,7 +1071,19 @@ definitions:
1047
1071
- schema_loader
1048
1072
- cursor_field
1049
1073
value: "segments.date"
1050
-
condition: "{{ (components_values.get('query', '').count('segments.date') == 1 and (components_values.get('query') | regex_search('SELECT.*segments\\.date.*FROM')) is not none) or (components_values.get('query', '').count('segments.date') == 2 and (components_values.get('query') | regex_search('SELECT.*segments\\.date.*FROM')) is not none and (components_values.get('query') | regex_search('ORDER BY.*?segments\\.date.*?LIMIT')) is not none) }}"
0 commit comments