Skip to content

Commit

Permalink
fix use_1s1t_fag by adding a new, hidden spec option
Browse files Browse the repository at this point in the history
  • Loading branch information
cynthiaxyin committed Jan 22, 2024
1 parent e3d2a5e commit 07b6a73
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
public class TypingAndDedupingFlag {

public static boolean isDestinationV2() {
return DestinationConfig.getInstance().getBooleanValue("use_1s1t_format");
return DestinationConfig.getInstance().getBooleanValue("is_v2_destination")
|| DestinationConfig.getInstance().getBooleanValue("use_1s1t_format");
}

public static Optional<String> getRawNamespaceOverride(String option) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -249,10 +249,10 @@
}
]
},
"use_1s1t_format": {
"is_v2_destination": {
"type": "boolean",
"description": "Use <a href=\"https://docs.airbyte.com/understanding-airbyte/typing-deduping\" target=\"_blank\">Destinations V2</a>.",
"title": "Use Destinations V2",
"description": "(For internal use.) Declares this is a V2 destination.",
"title": "(Internal) Is V2 Destination",
"group": "connection",
"airbyte_hidden": true,
"default": true
Expand Down

0 comments on commit 07b6a73

Please sign in to comment.