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
#### Step 2: Storing the connection details in Secret Manager.
25
25
@@ -36,34 +36,83 @@ Please note that you have to create these secrets in your GCP Project.
36
36
You will perform the following one-time setup steps in your GCP Project:
37
37
38
38
1.**Create an entry group** for the entries that you want to import. Follow the steps from [here](https://docs.cloud.google.com/dataplex/docs/ingest-custom-sources#create-entry-group) and create an entry group named **"snowflakehorizongrp"**
39
-

39
+
<imgalt="Snowflake Group Creation"src="images/SnowGroupCreation.png"width="600">
40
40
41
41
2.**Create aspect types** for the aspects that you want to import. Follow the steps from [here](https://docs.cloud.google.com/dataplex/docs/enrich-entries-metadata#create-aspect-type) and create the following aspects types: **"snowhorizondb"**, **"snowhorizonschema"**, **"snowhorizontable"**, **"snowhorizontag"**, **"snowhorizontagref"**, **"snowhorizonindex"**, **"snowhorizonfunction"**. Please note that these names are not mandatory and can be changed as per your requirements as well just that you will have to change these in the script also. If you want to use the script as it is then please use the names as mentioned above.
42
42
* Navigate to Dataplex -> Dataplex Universal Catalog -> Catalog -> "Aspect types & Tag Templates "
43
-

43
+
<imgalt="Create Aspect Type Screen 1"src="images/CreateAspectTypeScreen1.png"width="600">
44
+
44
45
* You will see two options there as shown above:- "Custom" & "System". Under "Custom", click on "+Create Aspect Type". You will see the following screen:-
* Fill all the details related to that field(e.g DatabaseName):-
51
-

52
-
* Similarly, add all the fields(metadata that you are trying to bring from Snowflake Horizon) and click on "Save":-
53
-

54
-
Similarly, create all the aspect types mentioned above one by one. Required Fields are mentioned in the python script for each aspect type(if you plan to execute the script as it is).
55
-

* Similarly, create all the aspect types mentioned above as shown in the below screenshots. Please note that these are sample templates(just for reference purpose only) and you can modify these as per your business usecase. If you plan to execute the python script as it is then please create the Aspect Types as per the below screenshots.
* Finally, you will have all the aspect types created as below:-
81
+
<imgalt="Aspect Type Creation"src="images/AspectTypeCreation.png"width="600">
56
82
57
83
3.**Create entry types** for the entries that you want to import. Follow the steps from [here](https://docs.cloud.google.com/dataplex/docs/ingest-custom-sources#create-entry-type) and create the following entry types: **"snowhorizondb"**, **"snowhorizonschema"**, **"snowhorizontable"**, **"snowhorizontag"**, **"snowhorizontagref"**, **"snowhorizonindex"**, **"snowhorizonfunction"**. Please note that these names are not mandatory and can be changed as per your requirements as well just that you will have to change these in the script also. If you want to use the script as it is then please use the names as mentioned above.
58
84
* Navigate to Dataplex -> Dataplex Universal Catalog -> Catalog -> "Aspect types & Tag Templates "
59
-

85
+
<imgalt="Entry Type Creation 1"src="images/EntryTypeScreen1.png"width="600">
86
+
60
87
* You will see two options there as shown above:- "Custom" & "System". Under "Custom", click on "+ Create". You will see the following screen, Fill in the details as below(e.g for snowhorizondb):-
61
-

88
+
<imgalt="Entry Type Creation 2"src="images/EntryTypeScreen2.png"width="600">
89
+
62
90
* Under, "Required Aspect Type", click on "Choose aspect type" and select the relevant aspect type as created in Step 2 and click on "Save":-
63
-

64
-

65
-
Similarly, create all the above mentioned Entry Types and attach the relevant Aspect Type (created in step 2) to it.
66
-

91
+
<imgalt="Entry Type Creation 3"src="images/EntryTypeScreen3.png"width="600">
92
+
<imgalt="Entry Type Creation 4"src="images/EntryTypeScreen4.png"width="600">
93
+
94
+
* Similarly, create all the above mentioned Entry Types and attach the relevant Aspect Type to it(as shown in the below screenshots). Please note that these are sample Entry Types(just for reference purpose only) and you can modify these as per your business usecase. If you plan to execute the python script as it is then please create the Entry Types as per the below screenshots.
0 commit comments