Skip to content

Commit 1df3da5

Browse files
test(datahub-schematron): update golden diff to fix schema translation test (#14132)
1 parent 1350fe2 commit 1df3da5

File tree

1 file changed

+9
-57
lines changed

1 file changed

+9
-57
lines changed

metadata-integration/java/datahub-schematron/cli/src/test/resources/diffs/CustomerProfile_diff.json

Lines changed: 9 additions & 57 deletions
Original file line numberDiff line numberDiff line change
@@ -7,65 +7,10 @@
77
],
88
"modified_details": {
99
"fields": {
10-
"added": {
11-
"[version=2.0].[type=CustomerProfile].[type=ContactInformation].contactInfo.[type=array].[type=union].[type=EmailContact].alternativeContacts.[type=boolean].isVerified": {
12-
"fieldPath": "[version=2.0].[type=CustomerProfile].[type=ContactInformation].contactInfo.[type=array].[type=union].[type=EmailContact].alternativeContacts.[type=boolean].isVerified",
13-
"isPartOfKey": false,
14-
"nativeDataType": "boolean",
15-
"nullable": false,
16-
"type": {
17-
"type": {
18-
"com.linkedin.schema.BooleanType": {}
19-
}
20-
}
21-
},
22-
"[version=2.0].[type=CustomerProfile].[type=ContactInformation].contactInfo.[type=array].[type=union].[type=EmailContact].alternativeContacts.[type=string].emailAddress": {
23-
"fieldPath": "[version=2.0].[type=CustomerProfile].[type=ContactInformation].contactInfo.[type=array].[type=union].[type=EmailContact].alternativeContacts.[type=string].emailAddress",
24-
"isPartOfKey": false,
25-
"nativeDataType": "string",
26-
"nullable": false,
27-
"type": {
28-
"type": {
29-
"com.linkedin.schema.StringType": {}
30-
}
31-
}
32-
},
33-
"[version=2.0].[type=CustomerProfile].[type=ContactInformation].contactInfo.[type=array].[type=union].[type=PhoneContact].alternativeContacts.[type=enum].type": {
34-
"fieldPath": "[version=2.0].[type=CustomerProfile].[type=ContactInformation].contactInfo.[type=array].[type=union].[type=PhoneContact].alternativeContacts.[type=enum].type",
35-
"isPartOfKey": false,
36-
"nativeDataType": "Enum",
37-
"nullable": false,
38-
"type": {
39-
"type": {
40-
"com.linkedin.schema.EnumType": {}
41-
}
42-
}
43-
},
44-
"[version=2.0].[type=CustomerProfile].[type=ContactInformation].contactInfo.[type=array].[type=union].[type=PhoneContact].alternativeContacts.[type=string].countryCode": {
45-
"fieldPath": "[version=2.0].[type=CustomerProfile].[type=ContactInformation].contactInfo.[type=array].[type=union].[type=PhoneContact].alternativeContacts.[type=string].countryCode",
46-
"isPartOfKey": false,
47-
"nativeDataType": "string",
48-
"nullable": false,
49-
"type": {
50-
"type": {
51-
"com.linkedin.schema.StringType": {}
52-
}
53-
}
54-
},
55-
"[version=2.0].[type=CustomerProfile].[type=ContactInformation].contactInfo.[type=array].[type=union].[type=PhoneContact].alternativeContacts.[type=string].number": {
56-
"fieldPath": "[version=2.0].[type=CustomerProfile].[type=ContactInformation].contactInfo.[type=array].[type=union].[type=PhoneContact].alternativeContacts.[type=string].number",
57-
"isPartOfKey": false,
58-
"nativeDataType": "string",
59-
"nullable": false,
60-
"type": {
61-
"type": {
62-
"com.linkedin.schema.StringType": {}
63-
}
64-
}
65-
}
66-
},
10+
"added": {},
6711
"modified": [
6812
"[version=2.0].[type=CustomerProfile].[type=ContactInformation].contactInfo.[type=array].[type=union].[type=EmailContact].alternativeContacts",
13+
"[version=2.0].[type=CustomerProfile].[type=ContactInformation].contactInfo.[type=array].[type=union].[type=EmailContact].alternativeContacts.[type=boolean].isVerified",
6914
"[version=2.0].[type=CustomerProfile].[type=ContactInformation].contactInfo.[type=array].[type=union].[type=PhoneContact].alternativeContacts",
7015
"[version=2.0].[type=CustomerProfile].[type=ContactInformation].contactInfo.[type=array].[type=union].alternativeContacts",
7116
"[version=2.0].[type=CustomerProfile].[type=ContactInformation].contactInfo.[type=union].[type=EmailContact].primaryContact.[type=boolean].isVerified",
@@ -87,6 +32,13 @@
8732
"identifier": "[version=2.0].[type=CustomerProfile].[type=ContactInformation].contactInfo.[type=array].[type=union].[type=EmailContact].alternativeContacts"
8833
}
8934
},
35+
"[version=2.0].[type=CustomerProfile].[type=ContactInformation].contactInfo.[type=array].[type=union].[type=EmailContact].alternativeContacts.[type=boolean].isVerified": {
36+
"description": {
37+
"after": null,
38+
"before": "\nField default value: False",
39+
"identifier": "[version=2.0].[type=CustomerProfile].[type=ContactInformation].contactInfo.[type=array].[type=union].[type=EmailContact].alternativeContacts.[type=boolean].isVerified"
40+
}
41+
},
9042
"[version=2.0].[type=CustomerProfile].[type=ContactInformation].contactInfo.[type=array].[type=union].[type=PhoneContact].alternativeContacts": {
9143
"description": {
9244
"after": "List of alternative contact methods",

0 commit comments

Comments
 (0)