Skip to content

Commit

Permalink
Daily Pathway examples refresh
Browse files Browse the repository at this point in the history
Co-authored-by: Manul from Pathway <[email protected]>
GitOrigin-RevId: d9d1a2366cc068d4be91d0f602218cdf91a33f3e
  • Loading branch information
Pathway-Dev and Manul from Pathway committed Dec 30, 2024
1 parent 952c4b3 commit b56c7c3
Show file tree
Hide file tree
Showing 4 changed files with 62 additions and 60 deletions.
110 changes: 55 additions & 55 deletions examples/notebooks/tutorials/asynctransformer.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -162,11 +162,11 @@
"output_type": "stream",
"text": [
" | value | ret | __time__ | __diff__\n",
"^Z3QWT29... | 2 | 3 | 1735450361854 | 1\n",
"^3CZ78B4... | 2 | 3 | 1735450362054 | 1\n",
"^YYY4HAB... | 6 | 7 | 1735450362054 | 1\n",
"^3HN31E1... | 6 | 7 | 1735450362454 | 1\n",
"^X1MXHYY... | 12 | 13 | 1735450362454 | 1\n"
"^Z3QWT29... | 2 | 3 | 1735536761318 | 1\n",
"^3CZ78B4... | 2 | 3 | 1735536761520 | 1\n",
"^YYY4HAB... | 6 | 7 | 1735536761520 | 1\n",
"^3HN31E1... | 6 | 7 | 1735536761920 | 1\n",
"^X1MXHYY... | 12 | 13 | 1735536761920 | 1\n"
]
}
],
Expand Down Expand Up @@ -410,12 +410,12 @@
"output_type": "stream",
"text": [
" | group | value | ret | __time__ | __diff__\n",
"^Z3QWT29... | 2 | 1 | 2 | 1735450365810 | 1\n",
"^Z3QWT29... | 2 | 1 | 2 | 1735450365910 | -1\n",
"^Z3QWT29... | 2 | 3 | 4 | 1735450365910 | 1\n",
"^YYY4HAB... | 1 | 5 | 6 | 1735450366110 | 1\n",
"^YYY4HAB... | 1 | 5 | 6 | 1735450366310 | -1\n",
"^YYY4HAB... | 1 | 2 | 3 | 1735450366310 | 1\n"
"^Z3QWT29... | 2 | 1 | 2 | 1735536765268 | 1\n",
"^Z3QWT29... | 2 | 1 | 2 | 1735536765368 | -1\n",
"^Z3QWT29... | 2 | 3 | 4 | 1735536765368 | 1\n",
"^YYY4HAB... | 1 | 5 | 6 | 1735536765570 | 1\n",
"^YYY4HAB... | 1 | 5 | 6 | 1735536765770 | -1\n",
"^YYY4HAB... | 1 | 2 | 3 | 1735536765770 | 1\n"
]
}
],
Expand Down Expand Up @@ -537,18 +537,18 @@
"output_type": "stream",
"text": [
" | group | value | ret | __time__ | __diff__\n",
"^Z3QWT29... | 2 | 1 | 2 | 1735450366528 | 1\n",
"^3HN31E1... | 4 | 3 | 4 | 1735450366528 | 1\n",
"^Z3QWT29... | 2 | 1 | 2 | 1735450366830 | -1\n",
"^3HN31E1... | 4 | 3 | 4 | 1735450366830 | -1\n",
"^Z3QWT29... | 2 | 4 | 5 | 1735450366830 | 1\n",
"^3HN31E1... | 4 | 2 | 3 | 1735450366830 | 1\n",
"^YYY4HAB... | 1 | 5 | 6 | 1735450366930 | 1\n",
"^3CZ78B4... | 3 | 1 | 2 | 1735450366930 | 1\n",
"^YYY4HAB... | 1 | 5 | 6 | 1735450367030 | -1\n",
"^3CZ78B4... | 3 | 1 | 2 | 1735450367030 | -1\n",
"^YYY4HAB... | 1 | 2 | 3 | 1735450367030 | 1\n",
"^3CZ78B4... | 3 | 2 | 3 | 1735450367030 | 1\n"
"^Z3QWT29... | 2 | 1 | 2 | 1735536765998 | 1\n",
"^3HN31E1... | 4 | 3 | 4 | 1735536765998 | 1\n",
"^Z3QWT29... | 2 | 1 | 2 | 1735536766298 | -1\n",
"^3HN31E1... | 4 | 3 | 4 | 1735536766298 | -1\n",
"^Z3QWT29... | 2 | 4 | 5 | 1735536766298 | 1\n",
"^3HN31E1... | 4 | 2 | 3 | 1735536766298 | 1\n",
"^YYY4HAB... | 1 | 5 | 6 | 1735536766400 | 1\n",
"^3CZ78B4... | 3 | 1 | 2 | 1735536766400 | 1\n",
"^YYY4HAB... | 1 | 5 | 6 | 1735536766498 | -1\n",
"^3CZ78B4... | 3 | 1 | 2 | 1735536766498 | -1\n",
"^YYY4HAB... | 1 | 2 | 3 | 1735536766498 | 1\n",
"^3CZ78B4... | 3 | 2 | 3 | 1735536766498 | 1\n"
]
}
],
Expand Down Expand Up @@ -581,16 +581,16 @@
"output_type": "stream",
"text": [
" | group | value | ret | __time__ | __diff__\n",
"^Z3QWT29... | 2 | 1 | 2 | 1735450367152 | 1\n",
"^3CZ78B4... | 3 | 2 | 3 | 1735450367252 | 1\n",
"^3HN31E1... | 4 | 3 | 4 | 1735450367354 | 1\n",
"^Z3QWT29... | 2 | 1 | 2 | 1735450367452 | -1\n",
"^3HN31E1... | 4 | 3 | 4 | 1735450367452 | -1\n",
"^Z3QWT29... | 2 | 4 | 5 | 1735450367452 | 1\n",
"^3HN31E1... | 4 | 2 | 3 | 1735450367452 | 1\n",
"^YYY4HAB... | 1 | 5 | 6 | 1735450367554 | 1\n",
"^YYY4HAB... | 1 | 5 | 6 | 1735450367654 | -1\n",
"^YYY4HAB... | 1 | 2 | 3 | 1735450367654 | 1\n"
"^Z3QWT29... | 2 | 1 | 2 | 1735536766624 | 1\n",
"^3CZ78B4... | 3 | 2 | 3 | 1735536766724 | 1\n",
"^3HN31E1... | 4 | 3 | 4 | 1735536766824 | 1\n",
"^Z3QWT29... | 2 | 1 | 2 | 1735536766926 | -1\n",
"^3HN31E1... | 4 | 3 | 4 | 1735536766926 | -1\n",
"^Z3QWT29... | 2 | 4 | 5 | 1735536766926 | 1\n",
"^3HN31E1... | 4 | 2 | 3 | 1735536766926 | 1\n",
"^YYY4HAB... | 1 | 5 | 6 | 1735536767024 | 1\n",
"^YYY4HAB... | 1 | 5 | 6 | 1735536767126 | -1\n",
"^YYY4HAB... | 1 | 2 | 3 | 1735536767126 | 1\n"
]
}
],
Expand Down Expand Up @@ -633,18 +633,18 @@
"output_type": "stream",
"text": [
" | group | value | ret | __time__ | __diff__\n",
"^YYY4HAB... | 1 | 5 | 6 | 1735450367788 | 1\n",
"^Z3QWT29... | 2 | 1 | 2 | 1735450367788 | 1\n",
"^3CZ78B4... | 3 | 1 | 2 | 1735450367788 | 1\n",
"^3HN31E1... | 4 | 3 | 4 | 1735450367788 | 1\n",
"^YYY4HAB... | 1 | 5 | 6 | 1735450368288 | -1\n",
"^Z3QWT29... | 2 | 1 | 2 | 1735450368288 | -1\n",
"^3CZ78B4... | 3 | 1 | 2 | 1735450368288 | -1\n",
"^3HN31E1... | 4 | 3 | 4 | 1735450368288 | -1\n",
"^YYY4HAB... | 1 | 2 | 3 | 1735450368288 | 1\n",
"^Z3QWT29... | 2 | 4 | 5 | 1735450368288 | 1\n",
"^3CZ78B4... | 3 | 2 | 3 | 1735450368288 | 1\n",
"^3HN31E1... | 4 | 2 | 3 | 1735450368288 | 1\n"
"^YYY4HAB... | 1 | 5 | 6 | 1735536767266 | 1\n",
"^Z3QWT29... | 2 | 1 | 2 | 1735536767266 | 1\n",
"^3CZ78B4... | 3 | 1 | 2 | 1735536767266 | 1\n",
"^3HN31E1... | 4 | 3 | 4 | 1735536767266 | 1\n",
"^YYY4HAB... | 1 | 5 | 6 | 1735536767766 | -1\n",
"^Z3QWT29... | 2 | 1 | 2 | 1735536767766 | -1\n",
"^3CZ78B4... | 3 | 1 | 2 | 1735536767766 | -1\n",
"^3HN31E1... | 4 | 3 | 4 | 1735536767766 | -1\n",
"^YYY4HAB... | 1 | 2 | 3 | 1735536767766 | 1\n",
"^Z3QWT29... | 2 | 4 | 5 | 1735536767766 | 1\n",
"^3CZ78B4... | 3 | 2 | 3 | 1735536767766 | 1\n",
"^3HN31E1... | 4 | 2 | 3 | 1735536767766 | 1\n"
]
}
],
Expand Down Expand Up @@ -688,16 +688,16 @@
"output_type": "stream",
"text": [
" | group | value | ret | __time__ | __diff__\n",
"^Z3QWT29... | 2 | 1 | 2 | 1735450368420 | 1\n",
"^3HN31E1... | 4 | 3 | 4 | 1735450368420 | 1\n",
"^Z3QWT29... | 2 | 1 | 2 | 1735450368722 | -1\n",
"^3HN31E1... | 4 | 3 | 4 | 1735450368722 | -1\n",
"^YYY4HAB... | 1 | 5 | 6 | 1735450368822 | 1\n",
"^3CZ78B4... | 3 | 1 | 2 | 1735450368822 | 1\n",
"^YYY4HAB... | 1 | 5 | 6 | 1735450368922 | -1\n",
"^3CZ78B4... | 3 | 1 | 2 | 1735450368922 | -1\n",
"^YYY4HAB... | 1 | 2 | 3 | 1735450368922 | 1\n",
"^3CZ78B4... | 3 | 2 | 3 | 1735450368922 | 1\n"
"^Z3QWT29... | 2 | 1 | 2 | 1735536767872 | 1\n",
"^3HN31E1... | 4 | 3 | 4 | 1735536767872 | 1\n",
"^Z3QWT29... | 2 | 1 | 2 | 1735536768172 | -1\n",
"^3HN31E1... | 4 | 3 | 4 | 1735536768172 | -1\n",
"^YYY4HAB... | 1 | 5 | 6 | 1735536768274 | 1\n",
"^3CZ78B4... | 3 | 1 | 2 | 1735536768274 | 1\n",
"^YYY4HAB... | 1 | 5 | 6 | 1735536768372 | -1\n",
"^3CZ78B4... | 3 | 1 | 2 | 1735536768372 | -1\n",
"^YYY4HAB... | 1 | 2 | 3 | 1735536768372 | 1\n",
"^3CZ78B4... | 3 | 2 | 3 | 1735536768372 | 1\n"
]
}
],
Expand Down
3 changes: 2 additions & 1 deletion examples/notebooks/tutorials/interval_join.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,8 @@
"name": "stdout",
"output_type": "stream",
"text": [
" | timestamp | vehicle_id | delay_sec\n",
" | timestamp | vehicle_id | delay_sec",
"\n",
"^9N4ZE91... | 1682884074 | 1 | 0.0\n",
"^Y4GS4SE... | 1682884300 | 1 | 0.0\n",
"^3RGVZ4V... | 1682884801 | 1 | 0.0\n",
Expand Down
3 changes: 2 additions & 1 deletion examples/notebooks/tutorials/json_type.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,8 @@
"name": "stdout",
"output_type": "stream",
"text": [
" | books | author\n",
" | books | author",
"\n",
"^Z3QVC46... | {\"title\": \"Hamlet\", \"year\": 1603, \"category\": \"Tragedy\"} | \"William Shakespeare\"\n",
"^X1MQZF8... | {\"title\": \"Kafka on the Shore\", \"year\": 2002, \"category\": \"Literary Fiction\"} | \"Haruki Murakami\"\n",
"^Z3QHRW2... | {\"title\": \"Macbeth\", \"year\": 1623, \"category\": \"Tragedy\"} | \"William Shakespeare\"\n",
Expand Down
6 changes: 3 additions & 3 deletions examples/notebooks/tutorials/udf.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,8 @@
"name": "stdout",
"output_type": "stream",
"text": [
" | value | value_inc\n",
" | value | value_inc",
"\n",
"^X1MXHYY... | 1 | 2\n",
"^YYY4HAB... | 2 | 3\n",
"^Z3QWT29... | 13 | 14\n",
Expand Down Expand Up @@ -981,8 +982,7 @@
"name": "stdout",
"output_type": "stream",
"text": [
" | country | capital",
"\n",
" | country | capital\n",
"^Z3QWT29... | Austria | Vienna\n",
"^3HN31E1... | France | Paris\n",
"^YYY4HAB... | Germany | Berlin\n",
Expand Down

0 comments on commit b56c7c3

Please sign in to comment.