Skip to content

Commit d426d26

Browse files
author
flow-php
committed
1 parent b130b98 commit d426d26

File tree

14 files changed

+23
-21
lines changed

14 files changed

+23
-21
lines changed

changelog/index.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -353,6 +353,7 @@ <h3>Changed</h3>
353353
</ul>
354354
<h3>Fixed</h3>
355355
<ul>
356+
<li><a rel="noopener noreferrer" target="_blank" href="https://github.com/flow-php/flow/pull/1436">#1436</a> - <strong>typo in documentation</strong> - <a rel="noopener noreferrer" target="_blank" href="https://github.com/paul-court">@paul-court</a></li>
356357
<li><a rel="noopener noreferrer" target="_blank" href="https://github.com/flow-php/flow/pull/1435">#1435</a> - <strong>Read scale from float type in Dbal Schema Converter</strong> - <a rel="noopener noreferrer" target="_blank" href="https://github.com/norberttech">@norberttech</a></li>
357358
<li><a rel="noopener noreferrer" target="_blank" href="https://github.com/flow-php/flow/pull/1429">#1429</a> - <strong>links in all repos readme</strong> - <a rel="noopener noreferrer" target="_blank" href="https://github.com/norberttech">@norberttech</a></li>
358359
<li><a rel="noopener noreferrer" target="_blank" href="https://github.com/flow-php/flow/pull/1417">#1417</a> - <strong>Removed redundant evaluation of transformer function.</strong> - <a rel="noopener noreferrer" target="_blank" href="https://github.com/christianc1">@christianc1</a></li>
@@ -2459,6 +2460,7 @@ <h2>Contributors</h2>
24592460
<li><a rel="noopener noreferrer" target="_blank" href="https://github.com/norbertmwk">@norbertmwk</a></li>
24602461
<li><a rel="noopener noreferrer" target="_blank" href="https://github.com/norberttech">@norberttech</a></li>
24612462
<li><a rel="noopener noreferrer" target="_blank" href="https://github.com/owsiakl">@owsiakl</a></li>
2463+
<li><a rel="noopener noreferrer" target="_blank" href="https://github.com/paul-court">@paul-court</a></li>
24622464
<li><a rel="noopener noreferrer" target="_blank" href="https://github.com/peter279k">@peter279k</a></li>
24632465
<li><a rel="noopener noreferrer" target="_blank" href="https://github.com/rzarno">@rzarno</a></li>
24642466
<li><a rel="noopener noreferrer" target="_blank" href="https://github.com/scyzoryck">@scyzoryck</a></li>

data_reading/elasticsearch/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -402,7 +402,7 @@ <h2 class="text-xl mt-5 mb-5">Output</h2>
402402
+------+-----------+---------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
403403
| took | timed_out | _shards | hits |
404404
+------+-----------+---------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
405-
| 0 | false | {&quot;total&quot;:1,&quot;successful&quot;:1,&quot;skipped&quot;:0,&quot;failed&quot;:0} | {&quot;total&quot;:{&quot;value&quot;:6,&quot;relation&quot;:&quot;eq&quot;},&quot;max_score&quot;:1,&quot;hits&quot;:[{&quot;_index&quot;:&quot;test_index&quot;,&quot;_type&quot;:&quot;_doc&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_score&quot;:1,&quot;_source&quot;:{&quot;id&quot;:1,&quot;text&quot;:&quot;lorem ipsum&quot;}},{&quot;_index&quot;:&quot;test_index&quot;,&quot;_type&quot;:&quot;_doc&quot;,&quot;_id&quot;:&quot;2&quot;,&quot;_score&quot;:1,&quot;_source&quot;:{&quot;id&quot;:2,&quot;text&quot;:&quot;lorem ipsum&quot;}},{&quot;_index&quot;:&quot;test_index&quot;,&quot;_type&quot;:&quot;_doc&quot;,&quot;_id&quot;:&quot;3&quot;,&quot;_score&quot;:1,&quot;_source&quot;:{&quot;id&quot;:3,&quot;text&quot;:&quot;lorem ipsum&quot;}},{&quot;_index&quot;:&quot;test_index&quot;,&quot;_type&quot;:&quot;_doc&quot;,&quot;_id&quot;:&quot;4&quot;,&quot;_score&quot;:1,&quot;_source&quot;:{&quot;id&quot;:4,&quot;text&quot;:&quot;lorem ipsum&quot;}},{&quot;_index&quot;:&quot;test_index&quot;,&quot;_type&quot;:&quot;_doc&quot;,&quot;_id&quot;:&quot;5&quot;,&quot;_score&quot;:1,&quot;_source&quot;:{&quot;id&quot;:5,&quot;text&quot;:&quot;lorem ipsum&quot;}},{&quot;_index&quot;:&quot;test_index&quot;,&quot;_type&quot;:&quot;_doc&quot;,&quot;_id&quot;:&quot;6&quot;,&quot;_score&quot;:1,&quot;_source&quot;:{&quot;id&quot;:6,&quot;text&quot;:&quot;lorem ipsum&quot;}}]} |
405+
| 1 | false | {&quot;total&quot;:1,&quot;successful&quot;:1,&quot;skipped&quot;:0,&quot;failed&quot;:0} | {&quot;total&quot;:{&quot;value&quot;:6,&quot;relation&quot;:&quot;eq&quot;},&quot;max_score&quot;:1,&quot;hits&quot;:[{&quot;_index&quot;:&quot;test_index&quot;,&quot;_type&quot;:&quot;_doc&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_score&quot;:1,&quot;_source&quot;:{&quot;id&quot;:1,&quot;text&quot;:&quot;lorem ipsum&quot;}},{&quot;_index&quot;:&quot;test_index&quot;,&quot;_type&quot;:&quot;_doc&quot;,&quot;_id&quot;:&quot;2&quot;,&quot;_score&quot;:1,&quot;_source&quot;:{&quot;id&quot;:2,&quot;text&quot;:&quot;lorem ipsum&quot;}},{&quot;_index&quot;:&quot;test_index&quot;,&quot;_type&quot;:&quot;_doc&quot;,&quot;_id&quot;:&quot;3&quot;,&quot;_score&quot;:1,&quot;_source&quot;:{&quot;id&quot;:3,&quot;text&quot;:&quot;lorem ipsum&quot;}},{&quot;_index&quot;:&quot;test_index&quot;,&quot;_type&quot;:&quot;_doc&quot;,&quot;_id&quot;:&quot;4&quot;,&quot;_score&quot;:1,&quot;_source&quot;:{&quot;id&quot;:4,&quot;text&quot;:&quot;lorem ipsum&quot;}},{&quot;_index&quot;:&quot;test_index&quot;,&quot;_type&quot;:&quot;_doc&quot;,&quot;_id&quot;:&quot;5&quot;,&quot;_score&quot;:1,&quot;_source&quot;:{&quot;id&quot;:5,&quot;text&quot;:&quot;lorem ipsum&quot;}},{&quot;_index&quot;:&quot;test_index&quot;,&quot;_type&quot;:&quot;_doc&quot;,&quot;_id&quot;:&quot;6&quot;,&quot;_score&quot;:1,&quot;_source&quot;:{&quot;id&quot;:6,&quot;text&quot;:&quot;lorem ipsum&quot;}}]} |
406406
+------+-----------+---------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
407407
1 rows
408408

data_reading/http_dynamic/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,7 @@ <h2 class="text-xl mt-5 mb-5">Output</h2>
374374
<button class="absolute top-[12px] right-[12px] bg-orange-100 rounded px-4 leading-9 [&.copied]:before:content-['Copied!'] before:absolute before:-translate-x-20" data-clipboard-target="#output" data-controller="clipboard"><img src="https://flow-php.com/assets/images/icons/copy-c890d86c179d4c56059b8a0e9c88cd23.svg" alt="copy code" width="20" height="20" class="inline"></button><pre class="rounded p-4 shadow-2xl shadow-gray rounded border-gray border-2"><code id="output" class="language-bash overflow-auto" data-controller="syntax-highlight">+----------+-----------------------------+---------------------+----------+--------------+-----------+----------------------+
375375
| name | html_url | blog | login | public_repos | followers | created_at |
376376
+----------+-----------------------------+---------------------+----------+--------------+-----------+----------------------+
377-
| Flow PHP | https://github.com/flow-php | http://flow-php.com | flow-php | 38 | 109 | 2020-10-26T18:40:27Z |
377+
| Flow PHP | https://github.com/flow-php | http://flow-php.com | flow-php | 38 | 110 | 2020-10-26T18:40:27Z |
378378
+----------+-----------------------------+---------------------+----------+--------------+-----------+----------------------+
379379
1 rows
380380
</code></pre> </div>

documentation/example/data_reading/elasticsearch/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -460,7 +460,7 @@ <h2 class="text-xl mt-5 mb-5">Output</h2>
460460
+------+-----------+---------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
461461
| took | timed_out | _shards | hits |
462462
+------+-----------+---------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
463-
| 0 | false | {&quot;total&quot;:1,&quot;successful&quot;:1,&quot;skipped&quot;:0,&quot;failed&quot;:0} | {&quot;total&quot;:{&quot;value&quot;:6,&quot;relation&quot;:&quot;eq&quot;},&quot;max_score&quot;:1,&quot;hits&quot;:[{&quot;_index&quot;:&quot;test_index&quot;,&quot;_type&quot;:&quot;_doc&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_score&quot;:1,&quot;_source&quot;:{&quot;id&quot;:1,&quot;text&quot;:&quot;lorem ipsum&quot;}},{&quot;_index&quot;:&quot;test_index&quot;,&quot;_type&quot;:&quot;_doc&quot;,&quot;_id&quot;:&quot;2&quot;,&quot;_score&quot;:1,&quot;_source&quot;:{&quot;id&quot;:2,&quot;text&quot;:&quot;lorem ipsum&quot;}},{&quot;_index&quot;:&quot;test_index&quot;,&quot;_type&quot;:&quot;_doc&quot;,&quot;_id&quot;:&quot;3&quot;,&quot;_score&quot;:1,&quot;_source&quot;:{&quot;id&quot;:3,&quot;text&quot;:&quot;lorem ipsum&quot;}},{&quot;_index&quot;:&quot;test_index&quot;,&quot;_type&quot;:&quot;_doc&quot;,&quot;_id&quot;:&quot;4&quot;,&quot;_score&quot;:1,&quot;_source&quot;:{&quot;id&quot;:4,&quot;text&quot;:&quot;lorem ipsum&quot;}},{&quot;_index&quot;:&quot;test_index&quot;,&quot;_type&quot;:&quot;_doc&quot;,&quot;_id&quot;:&quot;5&quot;,&quot;_score&quot;:1,&quot;_source&quot;:{&quot;id&quot;:5,&quot;text&quot;:&quot;lorem ipsum&quot;}},{&quot;_index&quot;:&quot;test_index&quot;,&quot;_type&quot;:&quot;_doc&quot;,&quot;_id&quot;:&quot;6&quot;,&quot;_score&quot;:1,&quot;_source&quot;:{&quot;id&quot;:6,&quot;text&quot;:&quot;lorem ipsum&quot;}}]} |
463+
| 1 | false | {&quot;total&quot;:1,&quot;successful&quot;:1,&quot;skipped&quot;:0,&quot;failed&quot;:0} | {&quot;total&quot;:{&quot;value&quot;:6,&quot;relation&quot;:&quot;eq&quot;},&quot;max_score&quot;:1,&quot;hits&quot;:[{&quot;_index&quot;:&quot;test_index&quot;,&quot;_type&quot;:&quot;_doc&quot;,&quot;_id&quot;:&quot;1&quot;,&quot;_score&quot;:1,&quot;_source&quot;:{&quot;id&quot;:1,&quot;text&quot;:&quot;lorem ipsum&quot;}},{&quot;_index&quot;:&quot;test_index&quot;,&quot;_type&quot;:&quot;_doc&quot;,&quot;_id&quot;:&quot;2&quot;,&quot;_score&quot;:1,&quot;_source&quot;:{&quot;id&quot;:2,&quot;text&quot;:&quot;lorem ipsum&quot;}},{&quot;_index&quot;:&quot;test_index&quot;,&quot;_type&quot;:&quot;_doc&quot;,&quot;_id&quot;:&quot;3&quot;,&quot;_score&quot;:1,&quot;_source&quot;:{&quot;id&quot;:3,&quot;text&quot;:&quot;lorem ipsum&quot;}},{&quot;_index&quot;:&quot;test_index&quot;,&quot;_type&quot;:&quot;_doc&quot;,&quot;_id&quot;:&quot;4&quot;,&quot;_score&quot;:1,&quot;_source&quot;:{&quot;id&quot;:4,&quot;text&quot;:&quot;lorem ipsum&quot;}},{&quot;_index&quot;:&quot;test_index&quot;,&quot;_type&quot;:&quot;_doc&quot;,&quot;_id&quot;:&quot;5&quot;,&quot;_score&quot;:1,&quot;_source&quot;:{&quot;id&quot;:5,&quot;text&quot;:&quot;lorem ipsum&quot;}},{&quot;_index&quot;:&quot;test_index&quot;,&quot;_type&quot;:&quot;_doc&quot;,&quot;_id&quot;:&quot;6&quot;,&quot;_score&quot;:1,&quot;_source&quot;:{&quot;id&quot;:6,&quot;text&quot;:&quot;lorem ipsum&quot;}}]} |
464464
+------+-----------+---------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
465465
1 rows
466466

documentation/example/data_reading/http_dynamic/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -432,7 +432,7 @@ <h2 class="text-xl mt-5 mb-5">Output</h2>
432432
<button class="absolute top-[12px] right-[12px] bg-orange-100 rounded px-4 leading-9 [&.copied]:before:content-['Copied!'] before:absolute before:-translate-x-20" data-clipboard-target="#output" data-controller="clipboard"><img src="https://flow-php.com/assets/images/icons/copy-c890d86c179d4c56059b8a0e9c88cd23.svg" alt="copy code" width="20" height="20" class="inline"></button><pre class="rounded p-4 shadow-2xl shadow-gray rounded border-gray border-2"><code id="output" class="language-bash overflow-auto" data-controller="syntax-highlight">+----------+-----------------------------+---------------------+----------+--------------+-----------+----------------------+
433433
| name | html_url | blog | login | public_repos | followers | created_at |
434434
+----------+-----------------------------+---------------------+----------+--------------+-----------+----------------------+
435-
| Flow PHP | https://github.com/flow-php | http://flow-php.com | flow-php | 38 | 109 | 2020-10-26T18:40:27Z |
435+
| Flow PHP | https://github.com/flow-php | http://flow-php.com | flow-php | 38 | 110 | 2020-10-26T18:40:27Z |
436436
+----------+-----------------------------+---------------------+----------+--------------+-----------+----------------------+
437437
1 rows
438438
</code></pre> </div>

documentation/example/filesystem/azure/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -389,7 +389,7 @@ <h2 class="text-xl mt-5 mb-5">Code</h2><div id="code" class="relative"><button c
389389
declare(strict_types=1);
390390

391391
use function Flow\Azure\SDK\DSL\{azure_blob_service, azure_blob_service_config, azure_shared_key_authorization_factory};
392-
use function Flow\ETL\Adapter\CSV\{from_csv, to_csv};
392+
use function Flow\ETL\Adapter\Parquet\{from_parquet, to_parquet};
393393
use function Flow\ETL\DSL\{config_builder, data_frame, from_array, overwrite, to_stream};
394394
use function Flow\Filesystem\Bridge\Azure\DSL\azure_filesystem;
395395
use function Flow\Filesystem\DSL\path;
@@ -430,11 +430,11 @@ <h2 class="text-xl mt-5 mb-5">Code</h2><div id="code" class="relative"><button c
430430
[&#039;id&#039; =&gt; 4, &#039;name&#039; =&gt; &#039;test&#039;],
431431
]))
432432
-&gt;saveMode(overwrite())
433-
-&gt;write(to_csv(path(&#039;azure-blob://test.csv&#039;)))
433+
-&gt;write(to_parquet(path(&#039;azure-blob://test.parquet&#039;)))
434434
-&gt;run();
435435

436436
data_frame($config)
437-
-&gt;read(from_csv(path(&#039;azure-blob://test.csv&#039;)))
437+
-&gt;read(from_parquet(path(&#039;azure-blob://test.parquet&#039;)))
438438
-&gt;write(to_stream(__DIR__ . &#039;/output.txt&#039;, truncate: false))
439439
-&gt;run();
440440
</code></pre></div> </div>

documentation/example/filesystem/s3/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -388,7 +388,7 @@ <h2 class="text-xl mt-5 mb-5">Code</h2><div id="code" class="relative"><button c
388388

389389
declare(strict_types=1);
390390

391-
use function Flow\ETL\Adapter\CSV\{from_csv, to_csv};
391+
use function Flow\ETL\Adapter\Parquet\{from_parquet, to_parquet};
392392
use function Flow\ETL\DSL\{config_builder, data_frame, from_array, overwrite, to_stream};
393393
use function Flow\Filesystem\Bridge\AsyncAWS\DSL\{aws_s3_client, aws_s3_filesystem};
394394
use function Flow\Filesystem\DSL\path;
@@ -425,11 +425,11 @@ <h2 class="text-xl mt-5 mb-5">Code</h2><div id="code" class="relative"><button c
425425
[&#039;id&#039; =&gt; 4, &#039;name&#039; =&gt; &#039;test&#039;],
426426
]))
427427
-&gt;saveMode(overwrite())
428-
-&gt;write(to_csv(path(&#039;aws-s3://test.csv&#039;)))
428+
-&gt;write(to_parquet(path(&#039;aws-s3://test.parquet&#039;)))
429429
-&gt;run();
430430

431431
data_frame($config)
432-
-&gt;read(from_csv(path(&#039;aws-s3://test.csv&#039;)))
432+
-&gt;read(from_parquet(path(&#039;aws-s3://test.parquet&#039;)))
433433
-&gt;write(to_stream(__DIR__ . &#039;/output.txt&#039;, truncate: false))
434434
-&gt;run();
435435
</code></pre></div> </div>

filesystem/azure/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ <h2 class="text-xl mt-5 mb-5">Code</h2><div id="code" class="relative"><button c
301301
declare(strict_types=1);
302302

303303
use function Flow\Azure\SDK\DSL\{azure_blob_service, azure_blob_service_config, azure_shared_key_authorization_factory};
304-
use function Flow\ETL\Adapter\CSV\{from_csv, to_csv};
304+
use function Flow\ETL\Adapter\Parquet\{from_parquet, to_parquet};
305305
use function Flow\ETL\DSL\{config_builder, data_frame, from_array, overwrite, to_stream};
306306
use function Flow\Filesystem\Bridge\Azure\DSL\azure_filesystem;
307307
use function Flow\Filesystem\DSL\path;
@@ -342,11 +342,11 @@ <h2 class="text-xl mt-5 mb-5">Code</h2><div id="code" class="relative"><button c
342342
[&#039;id&#039; =&gt; 4, &#039;name&#039; =&gt; &#039;test&#039;],
343343
]))
344344
-&gt;saveMode(overwrite())
345-
-&gt;write(to_csv(path(&#039;azure-blob://test.csv&#039;)))
345+
-&gt;write(to_parquet(path(&#039;azure-blob://test.parquet&#039;)))
346346
-&gt;run();
347347

348348
data_frame($config)
349-
-&gt;read(from_csv(path(&#039;azure-blob://test.csv&#039;)))
349+
-&gt;read(from_parquet(path(&#039;azure-blob://test.parquet&#039;)))
350350
-&gt;write(to_stream(__DIR__ . &#039;/output.txt&#039;, truncate: false))
351351
-&gt;run();
352352
</code></pre></div> </div>

0 commit comments

Comments
 (0)