File tree 1 file changed +14
-1
lines changed 1 file changed +14
-1
lines changed Original file line number Diff line number Diff line change @@ -47,7 +47,9 @@ export DBT_DATA_SOURCE_ODDRN=//dbt/host/localhost
47
47
```
48
48
49
49
### Commands
50
- ` create-datasource ` - helps to register dbt as data source at OpenDataDiscovery platform. User later for ingesting metadata.
50
+ ` create-datasource ` - helps to register dbt as data source at OpenDataDiscovery platform. Used later for ingesting metadata.
51
+ Despite in the logs you can see something like: ` export DBT_DATA_SOURCE_ODDRN=//dbt/host/http://localhost:8080 ` it doesn't
52
+ mean that script have exported it for you in terminal, so don't forget to do this command manually.
51
53
``` commandline
52
54
odd_dbt_test create-datasource --name=my_local_dbt --dbt-host=localhost
53
55
```
@@ -56,6 +58,17 @@ odd_dbt_test create-datasource --name=my_local_dbt --dbt-host=localhost
56
58
``` commandline
57
59
odd_dbt_test ingest-test --profile=my_profile
58
60
```
61
+ If you are not in the directory that is a targeted dbt_project you should specify absolute paths for parameters:
62
+ ` --project-dir ` and ` --profiles-dir ` , like this:
63
+ ``` commandline
64
+ odd_dbt_test ingest-test --project-dir=absolute_path_for_dbt_project --profiles-dir=absolute_path_for_dbt_profiles --profile=my_profile
65
+ ```
66
+
67
+ ` ingest-lineage ` - Builds and ingest a lineage for tests into platform.
68
+ Executing style is simular to ` ingest-test ` command:
69
+ ``` commandline
70
+ odd_dbt_test ingest-lineage- --project-dir=absolute_path_for_dbt_project --profiles-dir=absolute_path_for_dbt_profiles --profile=my_profile
71
+ ```
59
72
60
73
` test ` - Proxy command to ` dbt test ` , then reads results_run file under the target folder to parse and ingest metadata.
61
74
``` commandline
You can’t perform that action at this time.
0 commit comments