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: f99a7fd16068f3001258ead30e6ea2ccc8f8b652
  • Loading branch information
Pathway-Dev and Manul from Pathway committed Jan 28, 2025
1 parent ed53e8c commit 45b2fce
Show file tree
Hide file tree
Showing 3 changed files with 83 additions and 56 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 | 1737955982036 | 1\n",
"^3CZ78B4... | 2 | 3 | 1737955982238 | 1\n",
"^YYY4HAB... | 6 | 7 | 1737955982238 | 1\n",
"^3HN31E1... | 6 | 7 | 1737955982638 | 1\n",
"^X1MXHYY... | 12 | 13 | 1737955982638 | 1\n"
"^Z3QWT29... | 2 | 3 | 1738042624298 | 1\n",
"^3CZ78B4... | 2 | 3 | 1738042624498 | 1\n",
"^YYY4HAB... | 6 | 7 | 1738042624498 | 1\n",
"^3HN31E1... | 6 | 7 | 1738042624898 | 1\n",
"^X1MXHYY... | 12 | 13 | 1738042624898 | 1\n"
]
}
],
Expand Down Expand Up @@ -410,12 +410,12 @@
"output_type": "stream",
"text": [
" | group | value | ret | __time__ | __diff__\n",
"^Z3QWT29... | 2 | 1 | 2 | 1737955986078 | 1\n",
"^Z3QWT29... | 2 | 1 | 2 | 1737955986178 | -1\n",
"^Z3QWT29... | 2 | 3 | 4 | 1737955986178 | 1\n",
"^YYY4HAB... | 1 | 5 | 6 | 1737955986378 | 1\n",
"^YYY4HAB... | 1 | 5 | 6 | 1737955986578 | -1\n",
"^YYY4HAB... | 1 | 2 | 3 | 1737955986578 | 1\n"
"^Z3QWT29... | 2 | 1 | 2 | 1738042634092 | 1\n",
"^Z3QWT29... | 2 | 1 | 2 | 1738042634194 | -1\n",
"^Z3QWT29... | 2 | 3 | 4 | 1738042634194 | 1\n",
"^YYY4HAB... | 1 | 5 | 6 | 1738042634394 | 1\n",
"^YYY4HAB... | 1 | 5 | 6 | 1738042634594 | -1\n",
"^YYY4HAB... | 1 | 2 | 3 | 1738042634594 | 1\n"
]
}
],
Expand Down Expand Up @@ -537,18 +537,18 @@
"output_type": "stream",
"text": [
" | group | value | ret | __time__ | __diff__\n",
"^Z3QWT29... | 2 | 1 | 2 | 1737955986846 | 1\n",
"^3HN31E1... | 4 | 3 | 4 | 1737955986846 | 1\n",
"^Z3QWT29... | 2 | 1 | 2 | 1737955987148 | -1\n",
"^3HN31E1... | 4 | 3 | 4 | 1737955987148 | -1\n",
"^Z3QWT29... | 2 | 4 | 5 | 1737955987148 | 1\n",
"^3HN31E1... | 4 | 2 | 3 | 1737955987148 | 1\n",
"^YYY4HAB... | 1 | 5 | 6 | 1737955987248 | 1\n",
"^3CZ78B4... | 3 | 1 | 2 | 1737955987248 | 1\n",
"^YYY4HAB... | 1 | 5 | 6 | 1737955987348 | -1\n",
"^3CZ78B4... | 3 | 1 | 2 | 1737955987348 | -1\n",
"^YYY4HAB... | 1 | 2 | 3 | 1737955987348 | 1\n",
"^3CZ78B4... | 3 | 2 | 3 | 1737955987348 | 1\n"
"^Z3QWT29... | 2 | 1 | 2 | 1738042636542 | 1\n",
"^3HN31E1... | 4 | 3 | 4 | 1738042636542 | 1\n",
"^Z3QWT29... | 2 | 1 | 2 | 1738042636842 | -1\n",
"^3HN31E1... | 4 | 3 | 4 | 1738042636842 | -1\n",
"^Z3QWT29... | 2 | 4 | 5 | 1738042636842 | 1\n",
"^3HN31E1... | 4 | 2 | 3 | 1738042636842 | 1\n",
"^YYY4HAB... | 1 | 5 | 6 | 1738042636942 | 1\n",
"^3CZ78B4... | 3 | 1 | 2 | 1738042636942 | 1\n",
"^YYY4HAB... | 1 | 5 | 6 | 1738042637042 | -1\n",
"^3CZ78B4... | 3 | 1 | 2 | 1738042637042 | -1\n",
"^YYY4HAB... | 1 | 2 | 3 | 1738042637042 | 1\n",
"^3CZ78B4... | 3 | 2 | 3 | 1738042637042 | 1\n"
]
}
],
Expand Down Expand Up @@ -581,16 +581,16 @@
"output_type": "stream",
"text": [
" | group | value | ret | __time__ | __diff__\n",
"^Z3QWT29... | 2 | 1 | 2 | 1737955987494 | 1\n",
"^3CZ78B4... | 3 | 2 | 3 | 1737955987594 | 1\n",
"^3HN31E1... | 4 | 3 | 4 | 1737955987694 | 1\n",
"^Z3QWT29... | 2 | 1 | 2 | 1737955987794 | -1\n",
"^3HN31E1... | 4 | 3 | 4 | 1737955987794 | -1\n",
"^Z3QWT29... | 2 | 4 | 5 | 1737955987794 | 1\n",
"^3HN31E1... | 4 | 2 | 3 | 1737955987794 | 1\n",
"^YYY4HAB... | 1 | 5 | 6 | 1737955987894 | 1\n",
"^YYY4HAB... | 1 | 5 | 6 | 1737955987994 | -1\n",
"^YYY4HAB... | 1 | 2 | 3 | 1737955987994 | 1\n"
"^Z3QWT29... | 2 | 1 | 2 | 1738042637992 | 1\n",
"^3CZ78B4... | 3 | 2 | 3 | 1738042638092 | 1\n",
"^3HN31E1... | 4 | 3 | 4 | 1738042638192 | 1\n",
"^Z3QWT29... | 2 | 1 | 2 | 1738042638292 | -1\n",
"^3HN31E1... | 4 | 3 | 4 | 1738042638292 | -1\n",
"^Z3QWT29... | 2 | 4 | 5 | 1738042638292 | 1\n",
"^3HN31E1... | 4 | 2 | 3 | 1738042638292 | 1\n",
"^YYY4HAB... | 1 | 5 | 6 | 1738042638392 | 1\n",
"^YYY4HAB... | 1 | 5 | 6 | 1738042638492 | -1\n",
"^YYY4HAB... | 1 | 2 | 3 | 1738042638492 | 1\n"
]
}
],
Expand Down Expand Up @@ -633,18 +633,18 @@
"output_type": "stream",
"text": [
" | group | value | ret | __time__ | __diff__\n",
"^YYY4HAB... | 1 | 5 | 6 | 1737955988160 | 1\n",
"^Z3QWT29... | 2 | 1 | 2 | 1737955988160 | 1\n",
"^3CZ78B4... | 3 | 1 | 2 | 1737955988160 | 1\n",
"^3HN31E1... | 4 | 3 | 4 | 1737955988160 | 1\n",
"^YYY4HAB... | 1 | 5 | 6 | 1737955988660 | -1\n",
"^Z3QWT29... | 2 | 1 | 2 | 1737955988660 | -1\n",
"^3CZ78B4... | 3 | 1 | 2 | 1737955988660 | -1\n",
"^3HN31E1... | 4 | 3 | 4 | 1737955988660 | -1\n",
"^YYY4HAB... | 1 | 2 | 3 | 1737955988660 | 1\n",
"^Z3QWT29... | 2 | 4 | 5 | 1737955988660 | 1\n",
"^3CZ78B4... | 3 | 2 | 3 | 1737955988660 | 1\n",
"^3HN31E1... | 4 | 2 | 3 | 1737955988660 | 1\n"
"^YYY4HAB... | 1 | 5 | 6 | 1738042639438 | 1\n",
"^Z3QWT29... | 2 | 1 | 2 | 1738042639438 | 1\n",
"^3CZ78B4... | 3 | 1 | 2 | 1738042639438 | 1\n",
"^3HN31E1... | 4 | 3 | 4 | 1738042639438 | 1\n",
"^YYY4HAB... | 1 | 5 | 6 | 1738042639938 | -1\n",
"^Z3QWT29... | 2 | 1 | 2 | 1738042639938 | -1\n",
"^3CZ78B4... | 3 | 1 | 2 | 1738042639938 | -1\n",
"^3HN31E1... | 4 | 3 | 4 | 1738042639938 | -1\n",
"^YYY4HAB... | 1 | 2 | 3 | 1738042639938 | 1\n",
"^Z3QWT29... | 2 | 4 | 5 | 1738042639938 | 1\n",
"^3CZ78B4... | 3 | 2 | 3 | 1738042639938 | 1\n",
"^3HN31E1... | 4 | 2 | 3 | 1738042639938 | 1\n"
]
}
],
Expand Down Expand Up @@ -688,16 +688,16 @@
"output_type": "stream",
"text": [
" | group | value | ret | __time__ | __diff__\n",
"^Z3QWT29... | 2 | 1 | 2 | 1737955988914 | 1\n",
"^3HN31E1... | 4 | 3 | 4 | 1737955988914 | 1\n",
"^Z3QWT29... | 2 | 1 | 2 | 1737955989214 | -1\n",
"^3HN31E1... | 4 | 3 | 4 | 1737955989214 | -1\n",
"^YYY4HAB... | 1 | 5 | 6 | 1737955989316 | 1\n",
"^3CZ78B4... | 3 | 1 | 2 | 1737955989316 | 1\n",
"^YYY4HAB... | 1 | 5 | 6 | 1737955989416 | -1\n",
"^3CZ78B4... | 3 | 1 | 2 | 1737955989416 | -1\n",
"^YYY4HAB... | 1 | 2 | 3 | 1737955989416 | 1\n",
"^3CZ78B4... | 3 | 2 | 3 | 1737955989416 | 1\n"
"^Z3QWT29... | 2 | 1 | 2 | 1738042640894 | 1\n",
"^3HN31E1... | 4 | 3 | 4 | 1738042640894 | 1\n",
"^Z3QWT29... | 2 | 1 | 2 | 1738042641194 | -1\n",
"^3HN31E1... | 4 | 3 | 4 | 1738042641194 | -1\n",
"^YYY4HAB... | 1 | 5 | 6 | 1738042641294 | 1\n",
"^3CZ78B4... | 3 | 1 | 2 | 1738042641294 | 1\n",
"^YYY4HAB... | 1 | 5 | 6 | 1738042641394 | -1\n",
"^3CZ78B4... | 3 | 1 | 2 | 1738042641394 | -1\n",
"^YYY4HAB... | 1 | 2 | 3 | 1738042641394 | 1\n",
"^3CZ78B4... | 3 | 2 | 3 | 1738042641394 | 1\n"
]
}
],
Expand Down
21 changes: 21 additions & 0 deletions examples/notebooks/tutorials/consistency.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -309,6 +309,13 @@
"INFO:pathway_engine.engine.telemetry:Telemetry enabled\n"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"INFO:opentelemetry_sdk: name=\"MeterProvider.Built\"\n"
]
},
{
"name": "stderr",
"output_type": "stream",
Expand Down Expand Up @@ -518,6 +525,20 @@
"text": [
"INFO:root:Total: 0\n"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"INFO:opentelemetry_sdk: name=\"MeterProvider.Drop\" message=Last reference of MeterProvider dropped, initiating shutdown.\n"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"INFO:opentelemetry_sdk: name=\"MeterProvider.Drop.ShutdownCompleted\"\n"
]
}
],
"source": [
Expand Down
8 changes: 7 additions & 1 deletion examples/notebooks/tutorials/udf.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -921,7 +921,13 @@
"name": "stdout",
"output_type": "stream",
"text": [
"inc_async(2.0) finishing\n",
"inc_async(2.0) finishing\n"
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
" | value\n",
"^X1MXHYY... | 1.2\n",
"^YYY4HAB... | 1.6\n",
Expand Down

0 comments on commit 45b2fce

Please sign in to comment.