diff --git a/airbyte-webapp/src/components/CreateConnection/__snapshots__/CreateConnectionForm.test.tsx.snap b/airbyte-webapp/src/components/CreateConnection/__snapshots__/CreateConnectionForm.test.tsx.snap
index 52063787cf72..2c8b7bf76885 100644
--- a/airbyte-webapp/src/components/CreateConnection/__snapshots__/CreateConnectionForm.test.tsx.snap
+++ b/airbyte-webapp/src/components/CreateConnection/__snapshots__/CreateConnectionForm.test.tsx.snap
@@ -258,7 +258,7 @@ exports[`CreateConnectionForm should render 1`] = `
- Mirror source structure
+ Destination default
@@ -303,7 +303,7 @@ exports[`CreateConnectionForm should render 1`] = `
@@ -796,9 +796,9 @@ exports[`CreateConnectionForm should render 1`] = `
/>
- '<source schema>
+ '<destination schema>
return (
-
+
}
- value={NamespaceDefinitionType.source}
- checked={field.value === NamespaceDefinitionType.source}
+ value={NamespaceDefinitionType.destination}
+ checked={field.value === NamespaceDefinitionType.destination}
/>
)}
@@ -85,14 +85,14 @@ export const DestinationNamespaceModal: React.FC
-
+
}
- value={NamespaceDefinitionType.destination}
- checked={field.value === NamespaceDefinitionType.destination}
+ value={NamespaceDefinitionType.source}
+ checked={field.value === NamespaceDefinitionType.source}
/>
)}
diff --git a/airbyte-webapp/src/views/Connection/ConnectionForm/components/NamespaceDefinitionField.tsx b/airbyte-webapp/src/views/Connection/ConnectionForm/components/NamespaceDefinitionField.tsx
index c56c0b26c035..6378495322df 100644
--- a/airbyte-webapp/src/views/Connection/ConnectionForm/components/NamespaceDefinitionField.tsx
+++ b/airbyte-webapp/src/views/Connection/ConnectionForm/components/NamespaceDefinitionField.tsx
@@ -10,16 +10,16 @@ import { NamespaceDefinitionType } from "../../../../core/request/AirbyteClient"
import styles from "./NamespaceDefinitionField.module.scss";
export const StreamOptions = [
- {
- value: NamespaceDefinitionType.source,
- label: ,
- testId: "namespaceDefinition-source",
- },
{
value: NamespaceDefinitionType.destination,
label: ,
testId: "namespaceDefinition-destination",
},
+ {
+ value: NamespaceDefinitionType.source,
+ label: ,
+ testId: "namespaceDefinition-source",
+ },
{
value: NamespaceDefinitionType.customformat,
label: ,
diff --git a/airbyte-webapp/src/views/Connection/ConnectionForm/formConfig.tsx b/airbyte-webapp/src/views/Connection/ConnectionForm/formConfig.tsx
index 8bc5d5d9db0c..22168ab51394 100644
--- a/airbyte-webapp/src/views/Connection/ConnectionForm/formConfig.tsx
+++ b/airbyte-webapp/src/views/Connection/ConnectionForm/formConfig.tsx
@@ -138,8 +138,8 @@ export const createConnectionValidationSchema = ({
namespaceDefinition: yup
.string()
.oneOf([
- NamespaceDefinitionType.source,
NamespaceDefinitionType.destination,
+ NamespaceDefinitionType.source,
NamespaceDefinitionType.customformat,
])
.required("form.empty.error"),
@@ -365,7 +365,7 @@ export const useInitialValues = (
scheduleData: connection.connectionId ? connection.scheduleData ?? null : DEFAULT_SCHEDULE,
nonBreakingChangesPreference: connection.nonBreakingChangesPreference ?? NonBreakingChangesPreference.ignore,
prefix: connection.prefix || "",
- namespaceDefinition: connection.namespaceDefinition || NamespaceDefinitionType.source,
+ namespaceDefinition: connection.namespaceDefinition || NamespaceDefinitionType.destination,
namespaceFormat: connection.namespaceFormat ?? SOURCE_NAMESPACE_TAG,
geography: connection.geography || workspace.defaultGeography || "auto",
};
diff --git a/tools/bin/load_test/connection_spec.json b/tools/bin/load_test/connection_spec.json
index b4678cf58a98..6e81bcbe8500 100644
--- a/tools/bin/load_test/connection_spec.json
+++ b/tools/bin/load_test/connection_spec.json
@@ -32,7 +32,7 @@
]
},
"prefix": "",
- "namespaceDefinition": "source",
+ "namespaceDefinition": "destination",
"namespaceFormat": "${SOURCE_NAMESPACE}",
"scheduleType": "basic",
"scheduleData": {