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
This dependency update provide sql migrations using Alembic as well as
managed sessions to eliminate chances of leaked database connections.
Other minor improvements:
* Remove idea config files and setup.py
* Fix path in README
* Update version 0.8.0
* Fix code in example.py to analyze queries. Wrong API was used.
Copy file name to clipboardExpand all lines: example.ipynb
+42-11Lines changed: 42 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -44,7 +44,7 @@
44
44
},
45
45
{
46
46
"cell_type": "code",
47
-
"execution_count": null,
47
+
"execution_count": 1,
48
48
"metadata": {},
49
49
"outputs": [],
50
50
"source": [
@@ -62,9 +62,20 @@
62
62
},
63
63
{
64
64
"cell_type": "code",
65
-
"execution_count": null,
65
+
"execution_count": 2,
66
66
"metadata": {},
67
-
"outputs": [],
67
+
"outputs": [
68
+
{
69
+
"data": {
70
+
"text/plain": [
71
+
"True"
72
+
]
73
+
},
74
+
"execution_count": 2,
75
+
"metadata": {},
76
+
"output_type": "execute_result"
77
+
}
78
+
],
68
79
"source": [
69
80
"# Setup a connection to catalog using the SDK.\n",
70
81
"from data_lineage import Catalog\n",
@@ -82,7 +93,7 @@
82
93
},
83
94
{
84
95
"cell_type": "code",
85
-
"execution_count": null,
96
+
"execution_count": 3,
86
97
"metadata": {},
87
98
"outputs": [],
88
99
"source": [
@@ -94,19 +105,39 @@
94
105
},
95
106
{
96
107
"cell_type": "code",
97
-
"execution_count": null,
108
+
"execution_count": 5,
98
109
"metadata": {
99
110
"scrolled": true
100
111
},
101
-
"outputs": [],
112
+
"outputs": [
113
+
{
114
+
"name": "stdout",
115
+
"output_type": "stream",
116
+
"text": [
117
+
"{'name': 'LOAD page_lookup_nonredirect', 'query': 'INSERT INTO page_lookup_nonredirect SELECT page.page_id as redircet_id, page.page_title as redirect_title, page.page_title true_title, page.page_id, page.page_latest FROM page LEFT OUTER JOIN redirect ON page.page_id = redirect.rd_from WHERE redirect.rd_from IS NULL '}\n"
118
+
]
119
+
},
120
+
{
121
+
"ename": "TypeError",
122
+
"evalue": "analyze() missing 2 required positional arguments: 'start_time' and 'end_time'",
0 commit comments