You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@beam.apache.org by GitBox <gi...@apache.org> on 2021/01/31 16:10:46 UTC
[GitHub] [beam] Jakub-Sadowski opened a new pull request #13858: Website/capability powered practises
Jakub-Sadowski opened a new pull request #13858:
URL: https://github.com/apache/beam/pull/13858
Implemented:
- capability matrix
- powered by and use cases
- beam practises page
- feedback button
------------------------
Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:
- [ ] [**Choose reviewer(s)**](https://beam.apache.org/contribute/#make-your-change) and mention them in a comment (`R: @username`).
- [ ] Format the pull request title like `[BEAM-XXX] Fixes bug in ApproximateQuantiles`, where you replace `BEAM-XXX` with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
- [ ] Update `CHANGES.md` with noteworthy changes.
- [ ] If this contribution is large, please file an Apache [Individual Contributor License Agreement](https://www.apache.org/licenses/icla.pdf).
See the [Contributor Guide](https://beam.apache.org/contribute) for more tips on [how to make review process smoother](https://beam.apache.org/contribute/#make-reviewers-job-easier).
Post-Commit Tests Status (on master branch)
------------------------------------------------------------------------------------------------
Lang | SDK | Dataflow | Flink | Samza | Spark | Twister2
--- | --- | --- | --- | --- | --- | ---
Go | [](https://ci-beam.apache.org/job/beam_PostCommit_Go/lastCompletedBuild/) | --- | [](https://ci-beam.apache.org/job/beam_PostCommit_Go_VR_Flink/lastCompletedBuild/) | --- | [](https://ci-beam.apache.org/job/beam_PostCommit_Go_VR_Spark/lastCompletedBuild/) | ---
Java | [](https://ci-beam.apache.org/job/beam_PostCommit_Java/lastCompletedBuild/) | [](https://ci-beam.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Dataflow/lastCompletedBuild/)<br>[](https://ci-beam.apache.org/job/beam_PostCommit_Java_VR_Dataflow_V2/lastCompletedBuild/)<br>[](https://ci-beam.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Dataflow_Java11/lastCompletedBuild/) | [](https://ci-beam
.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Flink/lastCompletedBuild/)<br>[](https://ci-beam.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Flink_Java11/lastCompletedBuild/)<br>[](https://ci-beam.apache.org/job/beam_PostCommit_Java_PVR_Flink_Batch/lastCompletedBuild/)<br>[](https://ci-beam.apache.org/job/beam_PostCommit_Java_PVR_Flink_Streaming/lastCompletedBuild/) | [](https://ci-beam.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Samza/lastCompletedBuild/) | [](https://ci-beam.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Spark/lastCompletedBuild/)<br>[](https://ci-beam.apache.org/job/beam_PostCommit_Java_PVR_Spark_Batch/lastCompletedBuild/)<br>[](https://ci-beam.apache.org/job/beam_PostCommit_Java_ValidatesRunner_SparkStructuredStreaming/lastCompletedBuild/) | [](https://ci-beam.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Twister2/lastCompletedBuild/)
Python | [](https://ci-beam.apache.org/job/beam_PostCommit_Python36/lastCompletedBuild/)<br>[](https://ci-beam.apache.org/job/beam_PostCommit_Python37/lastCompletedBuild/)<br>[](https://ci-beam.apache.org/job/beam_PostCommit_Python38/lastCompletedBuild/) | [](https://ci-beam.apache.org/job/beam_PostCommit_Py_VR_Dataflow/lastCompletedBuild/)<br>[](https://ci-beam.apache.org/job/beam_PostCommit_Py_VR_Dataflow_V2/lastCompletedBuild/)<br>[](https://ci-beam.apache.org/job/beam_PostCommit_Py_ValCont/lastCompletedBuild/) | [](https://ci-beam.apache.org/job/beam_PreCommit_Python_PVR_Flink_Cron/lastCompletedBuild/)<br>[](https://ci-beam.apache.org/job/beam_PostCommit_Python_VR_Flink/lastCompletedBuild/) | --- | [](https://ci-beam.apache.org/job/beam_PostCommit_Python_VR_Spark/lastCompletedBuild/) | ---
XLang | [](https://ci-beam.apache.org/job/beam_PostCommit_XVR_Direct/lastCompletedBuild/) | [](https://ci-beam.apache.org/job/beam_PostCommit_XVR_Dataflow/lastCompletedBuild/) | [](https://ci-beam.apache.org/job/beam_PostCommit_XVR_Flink/lastCompletedBuild/) | --- | [](https://ci-beam.apache.org/job/beam_PostCommit_XVR_Spark/lastCompletedBuild/) | ---
Pre-Commit Tests Status (on master branch)
------------------------------------------------------------------------------------------------
--- |Java | Python | Go | Website | Whitespace | Typescript
--- | --- | --- | --- | --- | --- | ---
Non-portable | [](https://ci-beam.apache.org/job/beam_PreCommit_Java_Cron/lastCompletedBuild/) | [](https://ci-beam.apache.org/job/beam_PreCommit_Python_Cron/lastCompletedBuild/)<br>[](https://ci-beam.apache.org/job/beam_PreCommit_PythonLint_Cron/lastCompletedBuild/)<br>[](https://ci-beam.apache.org/job/beam_PreCommit_PythonDocker_Cron/lastCompletedBuild/) <br>[](https://ci-beam.apache.org/job/beam_PreCommit_PythonDocs_Cron/lastCompletedBuild/) | [](https://ci-beam.apache.org/job/beam_PreCommit_Go_Cron/lastCompletedBuild/) | [](https://ci-beam.apache.org/job/beam_PreCommit_Website_Cron/lastCompletedBuild/) | [](https://ci-beam.apache.org/job/beam_PreCommit_Whitespace_Cron/lastCompletedBuild/) | [](https://ci-beam.apache.org/job/beam_PreCommit_Typescript_Cron/lastCompletedBuild/)
Portable | --- | [](https://ci-beam.apache.org/job/beam_PreCommit_Portable_Python_Cron/lastCompletedBuild/) | --- | --- | --- | ---
See [.test-infra/jenkins/README](https://github.com/apache/beam/blob/master/.test-infra/jenkins/README.md) for trigger phrase, status and link of all Jenkins jobs.
GitHub Actions Tests Status (on master branch)
------------------------------------------------------------------------------------------------
[](https://github.com/apache/beam/actions?query=workflow%3A%22Build+python+source+distribution+and+wheels%22+branch%3Amaster+event%3Aschedule)
[](https://github.com/apache/beam/actions?query=workflow%3A%22Python+Tests%22+branch%3Amaster+event%3Aschedule)
[](https://github.com/apache/beam/actions?query=workflow%3A%22Java+Tests%22+branch%3Amaster+event%3Aschedule)
See [CI.md](https://github.com/apache/beam/blob/master/CI.md) for more information about GitHub Actions CI.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [beam] TheNeuralBit commented on a change in pull request #13858: [BEAM-11618-11619-11605-11468-][Website revamp]Implemented capability matrix, powered by, beam practises, feedback component
Posted by GitBox <gi...@apache.org>.
TheNeuralBit commented on a change in pull request #13858:
URL: https://github.com/apache/beam/pull/13858#discussion_r570545544
##########
File path: website/www/site/data/en/powered-by.yaml
##########
@@ -0,0 +1,22 @@
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+- title: Commercial projects
+ body: Learn how the companies use Apache Beam and make their work easier.
+ icon: /icons/commercial-icon.svg
+ link: /powered-by/commercial
+- title: Open source projects
+ body: Learn how the companies use Apache Beam and make their work easier.
Review comment:
I think Gris is OOO, lets go with this:
```suggestion
body: Find other open source projects that use Apache Beam.
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [beam] TheNeuralBit merged pull request #13858: [BEAM-11618-11619-11605-11468-][Website revamp]Implemented capability matrix, powered by, beam practises, feedback component
Posted by GitBox <gi...@apache.org>.
TheNeuralBit merged pull request #13858:
URL: https://github.com/apache/beam/pull/13858
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [beam] Jakub-Sadowski commented on a change in pull request #13858: [BEAM-11618-11619-11605-11468-][Website revamp]Implemented capability matrix, powered by, beam practises, feedback component
Posted by GitBox <gi...@apache.org>.
Jakub-Sadowski commented on a change in pull request #13858:
URL: https://github.com/apache/beam/pull/13858#discussion_r570510835
##########
File path: website/www/site/layouts/partials/section-menu/en/contribute.html
##########
@@ -13,6 +13,7 @@
<li><span class="section-nav-list-main-title">Contribute</span></li>
<li><a href="/contribute/">Get started contributing</a></li>
<li><a href="/contribute/get-help/">Get Help</a></li>
+<li><a href="/contribute/practises/">Beam community's practises</a></li>
Review comment:
done
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [beam] TheNeuralBit commented on a change in pull request #13858: [BEAM-11618-11619-11605-11468-][Website revamp]Implemented capability matrix, powered by, beam practises, feedback component
Posted by GitBox <gi...@apache.org>.
TheNeuralBit commented on a change in pull request #13858:
URL: https://github.com/apache/beam/pull/13858#discussion_r570442889
##########
File path: website/www/site/layouts/shortcodes/documentation/capability-matrix-single.html
##########
@@ -0,0 +1,101 @@
+{{/*
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+ http://www.apache.org/licenses/LICENSE-2.0
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License. See accompanying LICENSE file.
+*/}}
+{{ $cap_view := .Get "cap-view" }}
+{{ $cap_data := index $.Site.Data.capability_matrix (.Get "cap-data") }}
+{{ if eq (.Get "cap-data") "capability-matrix-snapshot" }}
+ {{ $cap_data = index $.Site.Data.capability_matrix_snapshot (.Get "cap-data") }}
+{{ end }}
+
+
+<div class="information-container">
+ <div>
+ <h5>How to read the tables</h5>
+ <table class="read-tables">
+ <tr>
+ <th></th>
+ <th class="border-left">Tools we are comparing</th>
+ </tr>
+ <tr class="border-top">
+ <td class="border-right">Properties</td>
+ <td style="border-left: 3px solid #ff6d05">
+ Does this tool have this property?<span>Yes/Partially/No</span>
+ </td>
+ </tr>
+ </table>
+ </div>
+ <div class="second-container">
+ <h5>What do those signs mean?</h5>
+ <div class="row">
+ <div class="box white">✓</div>
+ <div>Yes</div>
+ </div>
+ <div class="row">
+ <div class="box partial">~</div>
+ <div>Partially</div>
+ </div>
+ <div class="row">
+ <div class="box gray">✕</div>
+ <div>No</div>
+ </div>
+ </div>
+</div>
+{{ range $category := $cap_data.categories }}
+ <h4>{{ $category.description }}</h4>
+ <div class="table-container">
+ <div class="table-left">
+ <table>
+ <tr>
+ <th></th>
+ </tr>
+ {{ range $row := $category.rows }}
+ <tr>
+ <th>{{ $row.name }}</th>
+ </tr>
+ {{ end }}
+ </table>
+ </div>
+ <div class="table-right">
+ <div id="{{ $category.description | urlize }}" class="table-headers">
+ <table>
+ <tr>
+ {{ range $column := $cap_data.columns }}
+ <th>{{ $column.name }}</th>
+ {{ end }}
+ </tr>
+ </table>
+ </div>
+ <div id="{{ $category.description | urlize }}" class="table-center">
+ <table>
+ {{ range $row := $category.rows }}
+ <tr>
+ {{ range $val := $row.values }}
+ <td style='background-color:#{{ if eq $val.l1 "Yes" }}{{ index $category "color-y" }}{{ else if eq $val.l1 "Partially" }}{{ index $category "color-p" }}{{ else }}{{ index $category "color-n" }}{{ end }};border-color:#{{ if eq $val.l1 "Yes" }}{{ index $category "color-yb" }}{{ else if eq $val.l1 "Partially" }}{{ index $category "color-pb" }}{{ else }}{{ index $category "color-nb" }}{{ end }}'>
+ {{ partial "documentation/capability-matrix-row" (dict "type" $cap_view "val" $val) }}
+ </td>
+ {{ end }}
+ </tr>
+ {{ end }}
+ </table>
+ </div>
+ </div>
+ </div>
Review comment:
The way the capability matrix scrolls seems buggy. It's like the header and the content don't scroll at the same rate, what makes it hard to line them up. After I scrolled a little bit the table looks like this:

Where the headers are almost on the line between the columns. Do you know what's going on here?
##########
File path: website/www/site/layouts/partials/section-menu/en/contribute.html
##########
@@ -13,6 +13,7 @@
<li><span class="section-nav-list-main-title">Contribute</span></li>
<li><a href="/contribute/">Get started contributing</a></li>
<li><a href="/contribute/get-help/">Get Help</a></li>
+<li><a href="/contribute/practises/">Beam community's practises</a></li>
Review comment:
This should be updated to reflect the new name
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [beam] TheNeuralBit commented on pull request #13858: Website/capability powered practises
Posted by GitBox <gi...@apache.org>.
TheNeuralBit commented on pull request #13858:
URL: https://github.com/apache/beam/pull/13858#issuecomment-771759367
Another issue I just noticed in the [staged website](http://apache-beam-website-pull-requests.storage.googleapis.com/13858/index.html), the footer is centered:

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [beam] Jakub-Sadowski commented on a change in pull request #13858: [BEAM-11618-11619-11605-11468-][Website revamp]Implemented capability matrix, powered by, beam practises, feedback component
Posted by GitBox <gi...@apache.org>.
Jakub-Sadowski commented on a change in pull request #13858:
URL: https://github.com/apache/beam/pull/13858#discussion_r570811632
##########
File path: website/www/site/content/en/documentation/runners/basics.md
##########
@@ -0,0 +1,193 @@
+---
+title: "Basics of the Beam model"
+---
+<!--
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+-->
+
+# Basics of the Beam model
Review comment:
done
##########
File path: website/www/site/content/en/contribute/runner-guide.md
##########
@@ -27,183 +27,6 @@ Topics covered:
{{< toc >}}
-## Basics of the Beam model
-
-Suppose you have a data processing engine that can pretty easily process graphs
-of operations. You want to integrate it with the Beam ecosystem to get access
-to other languages, great event time processing, and a library of connectors.
-You need to know the core vocabulary:
-
- * [_Pipeline_](#pipeline) - A pipeline is a graph of transformations that a user constructs
- that defines the data processing they want to do.
- * [_PCollection_](#pcollections) - Data being processed in a pipeline is part of a PCollection.
- * [_PTransforms_](#ptransforms) - The operations executed within a pipeline. These are best
- thought of as operations on PCollections.
- * _SDK_ - A language-specific library for pipeline authors (we often call them
- "users" even though we have many kinds of users) to build transforms,
- construct their pipelines and submit them to a runner
- * _Runner_ - You are going to write a piece of software called a runner that
- takes a Beam pipeline and executes it using the capabilities of your data
- processing engine.
-
-These concepts may be very similar to your processing engine's concepts. Since
-Beam's design is for cross-language operation and reusable libraries of
-transforms, there are some special features worth highlighting.
-
-### Pipeline
-
-A pipeline in Beam is a graph of PTransforms operating on PCollections. A
-pipeline is constructed by a user in their SDK of choice, and makes its way to
-your runner either via the SDK directly or via the Runner API's (forthcoming)
-RPC interfaces.
-
-### PTransforms
-
-In Beam, a PTransform can be one of the five primitives or it can be a
-composite transform encapsulating a subgraph. The primitives are:
-
- * [_Read_](#implementing-the-read-primitive) - parallel connectors to external
- systems
- * [_ParDo_](#implementing-the-pardo-primitive) - per element processing
- * [_GroupByKey_](#implementing-the-groupbykey-and-window-primitive) -
- aggregating elements per key and window
- * [_Flatten_](#implementing-the-flatten-primitive) - union of PCollections
- * [_Window_](#implementing-the-window-primitive) - set the windowing strategy
- for a PCollection
-
-When implementing a runner, these are the operations you need to implement.
-Composite transforms may or may not be important to your runner. If you expose
-a UI, maintaining some of the composite structure will make the pipeline easier
-for a user to understand. But the result of processing is not changed.
-
-### PCollections
-
-A PCollection is an unordered bag of elements. Your runner will be responsible
-for storing these elements. There are some major aspects of a PCollection to
-note:
-
-#### Bounded vs Unbounded
-
-A PCollection may be bounded or unbounded.
-
- - _Bounded_ - it is finite and you know it, as in batch use cases
- - _Unbounded_ - it may be never end, you don't know, as in streaming use cases
-
-These derive from the intuitions of batch and stream processing, but the two
-are unified in Beam and bounded and unbounded PCollections can coexist in the
-same pipeline. If your runner can only support bounded PCollections, you'll
-need to reject pipelines that contain unbounded PCollections. If your
-runner is only really targeting streams, there are adapters in our support code
-to convert everything to APIs targeting unbounded data.
-
-#### Timestamps
-
-Every element in a PCollection has a timestamp associated with it.
-
-When you execute a primitive connector to some storage system, that connector
-is responsible for providing initial timestamps. Your runner will need to
-propagate and aggregate timestamps. If the timestamp is not important, as with
-certain batch processing jobs where elements do not denote events, they will be
-the minimum representable timestamp, often referred to colloquially as
-"negative infinity".
-
-#### Watermarks
-
-Every PCollection has to have a watermark that estimates how complete the
-PCollection is.
-
-The watermark is a guess that "we'll never see an element with an earlier
-timestamp". Sources of data are responsible for producing a watermark. Your
-runner needs to implement watermark propagation as PCollections are processed,
-merged, and partitioned.
-
-The contents of a PCollection are complete when a watermark advances to
-"infinity". In this manner, you may discover that an unbounded PCollection is
-finite.
-
-#### Windowed elements
-
-Every element in a PCollection resides in a window. No element resides in
-multiple windows (two elements can be equal except for their window, but they
-are not the same).
-
-When elements are read from the outside world they arrive in the global window.
-When they are written to the outside world, they are effectively placed back
-into the global window (any writing transform that doesn't take this
-perspective probably risks data loss).
-
-A window has a maximum timestamp, and when the watermark exceeds this plus
-user-specified allowed lateness the window is expired. All data related
-to an expired window may be discarded at any time.
-
-#### Coder
-
-Every PCollection has a coder, a specification of the binary format of the elements.
-
-In Beam, the user's pipeline may be written in a language other than the
-language of the runner. There is no expectation that the runner can actually
-deserialize user data. So the Beam model operates principally on encoded data -
-"just bytes". Each PCollection has a declared encoding for its elements, called
-a coder. A coder has a URN that identifies the encoding, and may have
-additional sub-coders (for example, a coder for lists may contain a coder for
-the elements of the list). Language-specific serialization techniques can, and
-frequently are used, but there are a few key formats - such as key-value pairs
-and timestamps - that are common so your runner can understand them.
-
-#### Windowing Strategy
-
-Every PCollection has a windowing strategy, a specification of essential
-information for grouping and triggering operations.
-
-The details will be discussed below when we discuss the
-[Window](#implementing-the-window-primitive) primitive, which sets up the
-windowing strategy, and
-[GroupByKey](#implementing-the-groupbykey-and-window-primitive) primitive,
-which has behavior governed by the windowing strategy.
-
-### User-Defined Functions (UDFs)
-
-Beam has seven varieties of user-defined function (UDF). A Beam pipeline
-may contain UDFs written in a language other than your runner, or even multiple
-languages in the same pipeline (see the [Runner API](#the-runner-api)) so the
-definitions are language-independent (see the [Fn API](#the-fn-api)).
-
-The UDFs of Beam are:
-
- * _DoFn_ - per-element processing function (used in ParDo)
- * _WindowFn_ - places elements in windows and merges windows (used in Window
- and GroupByKey)
- * _Source_ - emits data read from external sources, including initial and
- dynamic splitting for parallelism (used in Read)
- * _ViewFn_ - adapts a materialized PCollection to a particular interface (used
- in side inputs)
- * _WindowMappingFn_ - maps one element's window to another, and specifies
- bounds on how far in the past the result window will be (used in side
- inputs)
- * _CombineFn_ - associative and commutative aggregation (used in Combine and
- state)
- * _Coder_ - encodes user data; some coders have standard formats and are not really UDFs
-
-The various types of user-defined functions will be described further alongside
-the primitives that use them.
-
-### Runner
-
-The term "runner" is used for a couple of things. It generally refers to the
-software that takes a Beam pipeline and executes it somehow. Often, this is the
-translation code that you write. It usually also includes some customized
-operators for your data processing engine, and is sometimes used to refer to
-the full stack.
-
-A runner has just a single method `run(Pipeline)`. From here on, I will often
-use code font for proper nouns in our APIs, whether or not the identifiers
-match across all SDKs.
-
-The `run(Pipeline)` method should be asynchronous and results in a
-PipelineResult which generally will be a job descriptor for your data
-processing engine, providing methods for checking its status, canceling it, and
-waiting for it to terminate.
-
Review comment:
okay
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [beam] TheNeuralBit commented on a change in pull request #13858: [BEAM-11618-11619-11605-11468-][Website revamp]Implemented capability matrix, powered by, beam practises, feedback component
Posted by GitBox <gi...@apache.org>.
TheNeuralBit commented on a change in pull request #13858:
URL: https://github.com/apache/beam/pull/13858#discussion_r571121255
##########
File path: website/www/site/content/en/documentation/runners/basics.md
##########
@@ -0,0 +1,193 @@
+---
+title: "Basics of the Beam model"
+---
+<!--
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+-->
Review comment:
This file needs to be deleted. I'll do that after merging this PR.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [beam] Jakub-Sadowski commented on a change in pull request #13858: [BEAM-11618-11619-11605-11468-][Website revamp]Implemented capability matrix, powered by, beam practises, feedback component
Posted by GitBox <gi...@apache.org>.
Jakub-Sadowski commented on a change in pull request #13858:
URL: https://github.com/apache/beam/pull/13858#discussion_r570499926
##########
File path: website/www/site/content/en/documentation/runners/basics.md
##########
@@ -0,0 +1,193 @@
+---
+title: "Basics of the Beam model"
+---
+<!--
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+-->
+
+# Basics of the Beam model
+
+Suppose you have a data processing engine that can pretty easily process graphs
+of operations. You want to integrate it with the Beam ecosystem to get access
+to other languages, great event time processing, and a library of connectors.
+You need to know the core vocabulary:
+
+ * [_Pipeline_](#pipeline) - A pipeline is a graph of transformations that a user constructs
+ that defines the data processing they want to do.
+ * [_PCollection_](#pcollections) - Data being processed in a pipeline is part of a PCollection.
+ * [_PTransforms_](#ptransforms) - The operations executed within a pipeline. These are best
+ thought of as operations on PCollections.
+ * _SDK_ - A language-specific library for pipeline authors (we often call them
+ "users" even though we have many kinds of users) to build transforms,
+ construct their pipelines and submit them to a runner
+ * _Runner_ - You are going to write a piece of software called a runner that
+ takes a Beam pipeline and executes it using the capabilities of your data
+ processing engine.
+
+These concepts may be very similar to your processing engine's concepts. Since
+Beam's design is for cross-language operation and reusable libraries of
+transforms, there are some special features worth highlighting.
+
+### Pipeline
+
+A pipeline in Beam is a graph of PTransforms operating on PCollections. A
+pipeline is constructed by a user in their SDK of choice, and makes its way to
+your runner either via the SDK directly or via the Runner API's (forthcoming)
+RPC interfaces.
+
+### PTransforms
+
+In Beam, a PTransform can be one of the five primitives or it can be a
+composite transform encapsulating a subgraph. The primitives are:
+
+ * [_Read_](#implementing-the-read-primitive) - parallel connectors to external
+ systems
+ * [_ParDo_](#implementing-the-pardo-primitive) - per element processing
+ * [_GroupByKey_](#implementing-the-groupbykey-and-window-primitive) -
+ aggregating elements per key and window
+ * [_Flatten_](#implementing-the-flatten-primitive) - union of PCollections
+ * [_Window_](#implementing-the-window-primitive) - set the windowing strategy
+ for a PCollection
+
+When implementing a runner, these are the operations you need to implement.
+Composite transforms may or may not be important to your runner. If you expose
+a UI, maintaining some of the composite structure will make the pipeline easier
+for a user to understand. But the result of processing is not changed.
+
+### PCollections
+
+A PCollection is an unordered bag of elements. Your runner will be responsible
+for storing these elements. There are some major aspects of a PCollection to
+note:
+
+#### Bounded vs Unbounded
+
+A PCollection may be bounded or unbounded.
+
+ - _Bounded_ - it is finite and you know it, as in batch use cases
+ - _Unbounded_ - it may be never end, you don't know, as in streaming use cases
+
+These derive from the intuitions of batch and stream processing, but the two
+are unified in Beam and bounded and unbounded PCollections can coexist in the
+same pipeline. If your runner can only support bounded PCollections, you'll
+need to reject pipelines that contain unbounded PCollections. If your
+runner is only really targeting streams, there are adapters in our support code
+to convert everything to APIs targeting unbounded data.
+
+#### Timestamps
+
+Every element in a PCollection has a timestamp associated with it.
+
+When you execute a primitive connector to some storage system, that connector
+is responsible for providing initial timestamps. Your runner will need to
+propagate and aggregate timestamps. If the timestamp is not important, as with
+certain batch processing jobs where elements do not denote events, they will be
+the minimum representable timestamp, often referred to colloquially as
+"negative infinity".
+
+#### Watermarks
+
+Every PCollection has to have a watermark that estimates how complete the
+PCollection is.
+
+The watermark is a guess that "we'll never see an element with an earlier
+timestamp". Sources of data are responsible for producing a watermark. Your
+runner needs to implement watermark propagation as PCollections are processed,
+merged, and partitioned.
+
+The contents of a PCollection are complete when a watermark advances to
+"infinity". In this manner, you may discover that an unbounded PCollection is
+finite.
+
+#### Windowed elements
+
+Every element in a PCollection resides in a window. No element resides in
+multiple windows (two elements can be equal except for their window, but they
+are not the same).
+
+When elements are read from the outside world they arrive in the global window.
+When they are written to the outside world, they are effectively placed back
+into the global window (any writing transform that doesn't take this
+perspective probably risks data loss).
+
+A window has a maximum timestamp, and when the watermark exceeds this plus
+user-specified allowed lateness the window is expired. All data related
+to an expired window may be discarded at any time.
+
+#### Coder
+
+Every PCollection has a coder, a specification of the binary format of the elements.
+
+In Beam, the user's pipeline may be written in a language other than the
+language of the runner. There is no expectation that the runner can actually
+deserialize user data. So the Beam model operates principally on encoded data -
+"just bytes". Each PCollection has a declared encoding for its elements, called
+a coder. A coder has a URN that identifies the encoding, and may have
+additional sub-coders (for example, a coder for lists may contain a coder for
+the elements of the list). Language-specific serialization techniques can, and
+frequently are used, but there are a few key formats - such as key-value pairs
+and timestamps - that are common so your runner can understand them.
+
+#### Windowing Strategy
+
+Every PCollection has a windowing strategy, a specification of essential
+information for grouping and triggering operations.
+
+The details will be discussed below when we discuss the
+[Window](#implementing-the-window-primitive) primitive, which sets up the
+windowing strategy, and
+[GroupByKey](#implementing-the-groupbykey-and-window-primitive) primitive,
+which has behavior governed by the windowing strategy.
+
+### User-Defined Functions (UDFs)
+
+Beam has seven varieties of user-defined function (UDF). A Beam pipeline
+may contain UDFs written in a language other than your runner, or even multiple
+languages in the same pipeline (see the [Runner API](#the-runner-api)) so the
+definitions are language-independent (see the [Fn API](#the-fn-api)).
+
+The UDFs of Beam are:
+
+ * _DoFn_ - per-element processing function (used in ParDo)
+ * _WindowFn_ - places elements in windows and merges windows (used in Window
+ and GroupByKey)
+ * _Source_ - emits data read from external sources, including initial and
+ dynamic splitting for parallelism (used in Read)
+ * _ViewFn_ - adapts a materialized PCollection to a particular interface (used
+ in side inputs)
+ * _WindowMappingFn_ - maps one element's window to another, and specifies
+ bounds on how far in the past the result window will be (used in side
+ inputs)
+ * _CombineFn_ - associative and commutative aggregation (used in Combine and
+ state)
+ * _Coder_ - encodes user data; some coders have standard formats and are not really UDFs
+
+The various types of user-defined functions will be described further alongside
+the primitives that use them.
+
+### Runner
+
+The term "runner" is used for a couple of things. It generally refers to the
+software that takes a Beam pipeline and executes it somehow. Often, this is the
+translation code that you write. It usually also includes some customized
+operators for your data processing engine, and is sometimes used to refer to
+the full stack.
+
+A runner has just a single method `run(Pipeline)`. From here on, I will often
+use code font for proper nouns in our APIs, whether or not the identifiers
+match across all SDKs.
+
+The `run(Pipeline)` method should be asynchronous and results in a
+PipelineResult which generally will be a job descriptor for your data
+processing engine, providing methods for checking its status, canceling it, and
+waiting for it to terminate.
Review comment:
Yes this was cut from runner-guide, I just pushed fixed runner-guide
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [beam] Jakub-Sadowski commented on a change in pull request #13858: [BEAM-11618-11619-11605-11468-][Website revamp]Implemented capability matrix, powered by, beam practises, feedback component
Posted by GitBox <gi...@apache.org>.
Jakub-Sadowski commented on a change in pull request #13858:
URL: https://github.com/apache/beam/pull/13858#discussion_r570495292
##########
File path: website/www/site/layouts/partials/section-menu/en/contribute.html
##########
@@ -13,6 +13,7 @@
<li><span class="section-nav-list-main-title">Contribute</span></li>
<li><a href="/contribute/">Get started contributing</a></li>
<li><a href="/contribute/get-help/">Get Help</a></li>
+<li><a href="/contribute/practises/">Beam community's practises</a></li>
Review comment:
okay
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [beam] Jakub-Sadowski commented on a change in pull request #13858: Website/capability powered practises
Posted by GitBox <gi...@apache.org>.
Jakub-Sadowski commented on a change in pull request #13858:
URL: https://github.com/apache/beam/pull/13858#discussion_r568508303
##########
File path: website/www/site/content/en/powered-by/commercial/_index.md
##########
@@ -0,0 +1,19 @@
+---
+title: "Commercial projects"
+type: commercial
+icon: images/github-icon.svg
+---
+
+<!--
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+-->
Review comment:
Yeah I know, I tried to make them more visible, but I guess it was a bad idea. I changed it to the original ones
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [beam] Jakub-Sadowski commented on a change in pull request #13858: [BEAM-11618-11619-11605-11468-][Website revamp]Implemented capability matrix, powered by, beam practises, feedback component
Posted by GitBox <gi...@apache.org>.
Jakub-Sadowski commented on a change in pull request #13858:
URL: https://github.com/apache/beam/pull/13858#discussion_r570511260
##########
File path: website/www/site/content/en/documentation/runners/basics.md
##########
@@ -0,0 +1,193 @@
+---
+title: "Basics of the Beam model"
+---
+<!--
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+-->
+
+# Basics of the Beam model
+
+Suppose you have a data processing engine that can pretty easily process graphs
+of operations. You want to integrate it with the Beam ecosystem to get access
+to other languages, great event time processing, and a library of connectors.
+You need to know the core vocabulary:
+
+ * [_Pipeline_](#pipeline) - A pipeline is a graph of transformations that a user constructs
+ that defines the data processing they want to do.
+ * [_PCollection_](#pcollections) - Data being processed in a pipeline is part of a PCollection.
+ * [_PTransforms_](#ptransforms) - The operations executed within a pipeline. These are best
+ thought of as operations on PCollections.
+ * _SDK_ - A language-specific library for pipeline authors (we often call them
+ "users" even though we have many kinds of users) to build transforms,
+ construct their pipelines and submit them to a runner
+ * _Runner_ - You are going to write a piece of software called a runner that
+ takes a Beam pipeline and executes it using the capabilities of your data
+ processing engine.
+
+These concepts may be very similar to your processing engine's concepts. Since
+Beam's design is for cross-language operation and reusable libraries of
+transforms, there are some special features worth highlighting.
+
+### Pipeline
+
+A pipeline in Beam is a graph of PTransforms operating on PCollections. A
+pipeline is constructed by a user in their SDK of choice, and makes its way to
+your runner either via the SDK directly or via the Runner API's (forthcoming)
+RPC interfaces.
+
+### PTransforms
+
+In Beam, a PTransform can be one of the five primitives or it can be a
+composite transform encapsulating a subgraph. The primitives are:
+
+ * [_Read_](#implementing-the-read-primitive) - parallel connectors to external
+ systems
+ * [_ParDo_](#implementing-the-pardo-primitive) - per element processing
+ * [_GroupByKey_](#implementing-the-groupbykey-and-window-primitive) -
+ aggregating elements per key and window
+ * [_Flatten_](#implementing-the-flatten-primitive) - union of PCollections
+ * [_Window_](#implementing-the-window-primitive) - set the windowing strategy
+ for a PCollection
+
+When implementing a runner, these are the operations you need to implement.
+Composite transforms may or may not be important to your runner. If you expose
+a UI, maintaining some of the composite structure will make the pipeline easier
+for a user to understand. But the result of processing is not changed.
+
+### PCollections
+
+A PCollection is an unordered bag of elements. Your runner will be responsible
+for storing these elements. There are some major aspects of a PCollection to
+note:
+
+#### Bounded vs Unbounded
+
+A PCollection may be bounded or unbounded.
+
+ - _Bounded_ - it is finite and you know it, as in batch use cases
+ - _Unbounded_ - it may be never end, you don't know, as in streaming use cases
+
+These derive from the intuitions of batch and stream processing, but the two
+are unified in Beam and bounded and unbounded PCollections can coexist in the
+same pipeline. If your runner can only support bounded PCollections, you'll
+need to reject pipelines that contain unbounded PCollections. If your
+runner is only really targeting streams, there are adapters in our support code
+to convert everything to APIs targeting unbounded data.
+
+#### Timestamps
+
+Every element in a PCollection has a timestamp associated with it.
+
+When you execute a primitive connector to some storage system, that connector
+is responsible for providing initial timestamps. Your runner will need to
+propagate and aggregate timestamps. If the timestamp is not important, as with
+certain batch processing jobs where elements do not denote events, they will be
+the minimum representable timestamp, often referred to colloquially as
+"negative infinity".
+
+#### Watermarks
+
+Every PCollection has to have a watermark that estimates how complete the
+PCollection is.
+
+The watermark is a guess that "we'll never see an element with an earlier
+timestamp". Sources of data are responsible for producing a watermark. Your
+runner needs to implement watermark propagation as PCollections are processed,
+merged, and partitioned.
+
+The contents of a PCollection are complete when a watermark advances to
+"infinity". In this manner, you may discover that an unbounded PCollection is
+finite.
+
+#### Windowed elements
+
+Every element in a PCollection resides in a window. No element resides in
+multiple windows (two elements can be equal except for their window, but they
+are not the same).
+
+When elements are read from the outside world they arrive in the global window.
+When they are written to the outside world, they are effectively placed back
+into the global window (any writing transform that doesn't take this
+perspective probably risks data loss).
+
+A window has a maximum timestamp, and when the watermark exceeds this plus
+user-specified allowed lateness the window is expired. All data related
+to an expired window may be discarded at any time.
+
+#### Coder
+
+Every PCollection has a coder, a specification of the binary format of the elements.
+
+In Beam, the user's pipeline may be written in a language other than the
+language of the runner. There is no expectation that the runner can actually
+deserialize user data. So the Beam model operates principally on encoded data -
+"just bytes". Each PCollection has a declared encoding for its elements, called
+a coder. A coder has a URN that identifies the encoding, and may have
+additional sub-coders (for example, a coder for lists may contain a coder for
+the elements of the list). Language-specific serialization techniques can, and
+frequently are used, but there are a few key formats - such as key-value pairs
+and timestamps - that are common so your runner can understand them.
+
+#### Windowing Strategy
+
+Every PCollection has a windowing strategy, a specification of essential
+information for grouping and triggering operations.
+
+The details will be discussed below when we discuss the
+[Window](#implementing-the-window-primitive) primitive, which sets up the
+windowing strategy, and
+[GroupByKey](#implementing-the-groupbykey-and-window-primitive) primitive,
+which has behavior governed by the windowing strategy.
+
+### User-Defined Functions (UDFs)
+
+Beam has seven varieties of user-defined function (UDF). A Beam pipeline
+may contain UDFs written in a language other than your runner, or even multiple
+languages in the same pipeline (see the [Runner API](#the-runner-api)) so the
+definitions are language-independent (see the [Fn API](#the-fn-api)).
+
+The UDFs of Beam are:
+
+ * _DoFn_ - per-element processing function (used in ParDo)
+ * _WindowFn_ - places elements in windows and merges windows (used in Window
+ and GroupByKey)
+ * _Source_ - emits data read from external sources, including initial and
+ dynamic splitting for parallelism (used in Read)
+ * _ViewFn_ - adapts a materialized PCollection to a particular interface (used
+ in side inputs)
+ * _WindowMappingFn_ - maps one element's window to another, and specifies
+ bounds on how far in the past the result window will be (used in side
+ inputs)
+ * _CombineFn_ - associative and commutative aggregation (used in Combine and
+ state)
+ * _Coder_ - encodes user data; some coders have standard formats and are not really UDFs
+
+The various types of user-defined functions will be described further alongside
+the primitives that use them.
+
+### Runner
+
+The term "runner" is used for a couple of things. It generally refers to the
+software that takes a Beam pipeline and executes it somehow. Often, this is the
+translation code that you write. It usually also includes some customized
+operators for your data processing engine, and is sometimes used to refer to
+the full stack.
+
+A runner has just a single method `run(Pipeline)`. From here on, I will often
+use code font for proper nouns in our APIs, whether or not the identifiers
+match across all SDKs.
+
+The `run(Pipeline)` method should be asynchronous and results in a
+PipelineResult which generally will be a job descriptor for your data
+processing engine, providing methods for checking its status, canceling it, and
+waiting for it to terminate.
Review comment:
yes, it was cut from runners guide
##########
File path: website/www/site/data/en/powered-by.yaml
##########
@@ -0,0 +1,22 @@
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+- title: Commercial projects
+ body: Learn how the companies use Apache Beam and make their work easier.
+ icon: /icons/commercial-icon.svg
+ link: /powered-by/commercial
+- title: Open source projects
+ body: Learn how the companies use Apache Beam and make their work easier.
Review comment:
Propably yes
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [beam] TheNeuralBit commented on a change in pull request #13858: [BEAM-11618-11619-11605-11468-][Website revamp]Implemented capability matrix, powered by, beam practises, feedback component
Posted by GitBox <gi...@apache.org>.
TheNeuralBit commented on a change in pull request #13858:
URL: https://github.com/apache/beam/pull/13858#discussion_r570545544
##########
File path: website/www/site/data/en/powered-by.yaml
##########
@@ -0,0 +1,22 @@
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+- title: Commercial projects
+ body: Learn how the companies use Apache Beam and make their work easier.
+ icon: /icons/commercial-icon.svg
+ link: /powered-by/commercial
+- title: Open source projects
+ body: Learn how the companies use Apache Beam and make their work easier.
Review comment:
I think Gris is OOO, lets go with this:
```suggestion
body: Find other Open Source projects that use Apache Beam.
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [beam] Jakub-Sadowski commented on a change in pull request #13858: Website/capability powered practises
Posted by GitBox <gi...@apache.org>.
Jakub-Sadowski commented on a change in pull request #13858:
URL: https://github.com/apache/beam/pull/13858#discussion_r568508303
##########
File path: website/www/site/content/en/powered-by/commercial/_index.md
##########
@@ -0,0 +1,19 @@
+---
+title: "Commercial projects"
+type: commercial
+icon: images/github-icon.svg
+---
+
+<!--
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+-->
Review comment:
Yeah I know, but there were the only ones I got, I will try to ask for some svg
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [beam] Jakub-Sadowski commented on pull request #13858: Website/capability powered practises
Posted by GitBox <gi...@apache.org>.
Jakub-Sadowski commented on pull request #13858:
URL: https://github.com/apache/beam/pull/13858#issuecomment-771561863
> I have some initial comments/questions. I still need to look over the templates but I'm out of time for today.
>
> I tried to look at the new capability matrix in the website preview (http://apache-beam-website-pull-requests.storage.googleapis.com/13858/index.html) but clicking Documentation > Runners doesn't work.
Are u sure? I just pulled this branch and capability is working fine (also incognito)
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [beam] TheNeuralBit commented on a change in pull request #13858: Website/capability powered practises
Posted by GitBox <gi...@apache.org>.
TheNeuralBit commented on a change in pull request #13858:
URL: https://github.com/apache/beam/pull/13858#discussion_r568738519
##########
File path: website/www/site/content/en/powered-by/commercial/eBay.md
##########
@@ -0,0 +1,22 @@
+---
+title: "Feature Powered by Apache Beam - Beyond Lambda"
+type: commercial
+categories:
+ - Online & Traditional Retail
+icon: /images/logos/powered-by/eBay.png
+---
+<!--
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+-->
+
+Developed at Spotify and built on top of Apache Beam for Python, Klio is an open source framework that lets researchers and engineers build smarter data pipelines for processing audio and other media files, easily and at scale.
Review comment:
LG, thanks
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [beam] Jakub-Sadowski commented on a change in pull request #13858: [BEAM-11618-11619-11605-11468-][Website revamp]Implemented capability matrix, powered by, beam practises, feedback component
Posted by GitBox <gi...@apache.org>.
Jakub-Sadowski commented on a change in pull request #13858:
URL: https://github.com/apache/beam/pull/13858#discussion_r570497992
##########
File path: website/www/site/data/en/powered-by.yaml
##########
@@ -0,0 +1,22 @@
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+- title: Commercial projects
+ body: Learn how the companies use Apache Beam and make their work easier.
+ icon: /icons/commercial-icon.svg
+ link: /powered-by/commercial
+- title: Open source projects
+ body: Learn how the companies use Apache Beam and make their work easier.
Review comment:
Yes, I think so, there isn't any in TDD for these cards
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [beam] Jakub-Sadowski commented on pull request #13858: Website/capability powered practises
Posted by GitBox <gi...@apache.org>.
Jakub-Sadowski commented on pull request #13858:
URL: https://github.com/apache/beam/pull/13858#issuecomment-771561863
> I have some initial comments/questions. I still need to look over the templates but I'm out of time for today.
>
> I tried to look at the new capability matrix in the website preview (http://apache-beam-website-pull-requests.storage.googleapis.com/13858/index.html) but clicking Documentation > Runners doesn't work.
Are u sure? I just pulled this branch and capability is working fine (also incognito)
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [beam] Jakub-Sadowski commented on a change in pull request #13858: Website/capability powered practises
Posted by GitBox <gi...@apache.org>.
Jakub-Sadowski commented on a change in pull request #13858:
URL: https://github.com/apache/beam/pull/13858#discussion_r568523114
##########
File path: website/www/site/content/en/powered-by/commercial/eBay.md
##########
@@ -0,0 +1,22 @@
+---
+title: "Feature Powered by Apache Beam - Beyond Lambda"
+type: commercial
+categories:
+ - Online & Traditional Retail
+icon: /images/logos/powered-by/eBay.png
+---
+<!--
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+-->
+
+Developed at Spotify and built on top of Apache Beam for Python, Klio is an open source framework that lets researchers and engineers build smarter data pipelines for processing audio and other media files, easily and at scale.
Review comment:
Yeah sorry about this, I pushed the right one
##########
File path: website/www/site/content/en/powered-by/open-source/scio.md
##########
@@ -0,0 +1,20 @@
+---
+title: "Scio"
+type: open-source
+categories:
+ - Open Source Projects Powered by Apache Beam
+icon: /images/logos/powered-by/scio.png
+---
+<!--
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+-->
Review comment:
unfortunately no
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [beam] Jakub-Sadowski commented on a change in pull request #13858: [BEAM-11618-11619-11605-11468-][Website revamp]Implemented capability matrix, powered by, beam practises, feedback component
Posted by GitBox <gi...@apache.org>.
Jakub-Sadowski commented on a change in pull request #13858:
URL: https://github.com/apache/beam/pull/13858#discussion_r570510687
##########
File path: website/www/site/layouts/shortcodes/documentation/capability-matrix-single.html
##########
@@ -0,0 +1,101 @@
+{{/*
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+ http://www.apache.org/licenses/LICENSE-2.0
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License. See accompanying LICENSE file.
+*/}}
+{{ $cap_view := .Get "cap-view" }}
+{{ $cap_data := index $.Site.Data.capability_matrix (.Get "cap-data") }}
+{{ if eq (.Get "cap-data") "capability-matrix-snapshot" }}
+ {{ $cap_data = index $.Site.Data.capability_matrix_snapshot (.Get "cap-data") }}
+{{ end }}
+
+
+<div class="information-container">
+ <div>
+ <h5>How to read the tables</h5>
+ <table class="read-tables">
+ <tr>
+ <th></th>
+ <th class="border-left">Tools we are comparing</th>
+ </tr>
+ <tr class="border-top">
+ <td class="border-right">Properties</td>
+ <td style="border-left: 3px solid #ff6d05">
+ Does this tool have this property?<span>Yes/Partially/No</span>
+ </td>
+ </tr>
+ </table>
+ </div>
+ <div class="second-container">
+ <h5>What do those signs mean?</h5>
+ <div class="row">
+ <div class="box white">✓</div>
+ <div>Yes</div>
+ </div>
+ <div class="row">
+ <div class="box partial">~</div>
+ <div>Partially</div>
+ </div>
+ <div class="row">
+ <div class="box gray">✕</div>
+ <div>No</div>
+ </div>
+ </div>
+</div>
+{{ range $category := $cap_data.categories }}
+ <h4>{{ $category.description }}</h4>
+ <div class="table-container">
+ <div class="table-left">
+ <table>
+ <tr>
+ <th></th>
+ </tr>
+ {{ range $row := $category.rows }}
+ <tr>
+ <th>{{ $row.name }}</th>
+ </tr>
+ {{ end }}
+ </table>
+ </div>
+ <div class="table-right">
+ <div id="{{ $category.description | urlize }}" class="table-headers">
+ <table>
+ <tr>
+ {{ range $column := $cap_data.columns }}
+ <th>{{ $column.name }}</th>
+ {{ end }}
+ </tr>
+ </table>
+ </div>
+ <div id="{{ $category.description | urlize }}" class="table-center">
+ <table>
+ {{ range $row := $category.rows }}
+ <tr>
+ {{ range $val := $row.values }}
+ <td style='background-color:#{{ if eq $val.l1 "Yes" }}{{ index $category "color-y" }}{{ else if eq $val.l1 "Partially" }}{{ index $category "color-p" }}{{ else }}{{ index $category "color-n" }}{{ end }};border-color:#{{ if eq $val.l1 "Yes" }}{{ index $category "color-yb" }}{{ else if eq $val.l1 "Partially" }}{{ index $category "color-pb" }}{{ else }}{{ index $category "color-nb" }}{{ end }}'>
+ {{ partial "documentation/capability-matrix-row" (dict "type" $cap_view "val" $val) }}
+ </td>
+ {{ end }}
+ </tr>
+ {{ end }}
+ </table>
+ </div>
+ </div>
+ </div>
Review comment:
hmm it's weird these headers and columns are synchronized with js, there is a little delay but something like above never happend before, not in my browser localy and not during the tests also, I will try to repeat this situation. Do you think it can be because of the way the build is made here?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [beam] TheNeuralBit commented on pull request #13858: Website/capability powered practises
Posted by GitBox <gi...@apache.org>.
TheNeuralBit commented on pull request #13858:
URL: https://github.com/apache/beam/pull/13858#issuecomment-771735882
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [beam] Jakub-Sadowski commented on a change in pull request #13858: [BEAM-11618-11619-11605-11468-][Website revamp]Implemented capability matrix, powered by, beam practises, feedback component
Posted by GitBox <gi...@apache.org>.
Jakub-Sadowski commented on a change in pull request #13858:
URL: https://github.com/apache/beam/pull/13858#discussion_r570514364
##########
File path: website/www/site/layouts/shortcodes/documentation/capability-matrix-single.html
##########
@@ -0,0 +1,101 @@
+{{/*
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+ http://www.apache.org/licenses/LICENSE-2.0
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License. See accompanying LICENSE file.
+*/}}
+{{ $cap_view := .Get "cap-view" }}
+{{ $cap_data := index $.Site.Data.capability_matrix (.Get "cap-data") }}
+{{ if eq (.Get "cap-data") "capability-matrix-snapshot" }}
+ {{ $cap_data = index $.Site.Data.capability_matrix_snapshot (.Get "cap-data") }}
+{{ end }}
+
+
+<div class="information-container">
+ <div>
+ <h5>How to read the tables</h5>
+ <table class="read-tables">
+ <tr>
+ <th></th>
+ <th class="border-left">Tools we are comparing</th>
+ </tr>
+ <tr class="border-top">
+ <td class="border-right">Properties</td>
+ <td style="border-left: 3px solid #ff6d05">
+ Does this tool have this property?<span>Yes/Partially/No</span>
+ </td>
+ </tr>
+ </table>
+ </div>
+ <div class="second-container">
+ <h5>What do those signs mean?</h5>
+ <div class="row">
+ <div class="box white">✓</div>
+ <div>Yes</div>
+ </div>
+ <div class="row">
+ <div class="box partial">~</div>
+ <div>Partially</div>
+ </div>
+ <div class="row">
+ <div class="box gray">✕</div>
+ <div>No</div>
+ </div>
+ </div>
+</div>
+{{ range $category := $cap_data.categories }}
+ <h4>{{ $category.description }}</h4>
+ <div class="table-container">
+ <div class="table-left">
+ <table>
+ <tr>
+ <th></th>
+ </tr>
+ {{ range $row := $category.rows }}
+ <tr>
+ <th>{{ $row.name }}</th>
+ </tr>
+ {{ end }}
+ </table>
+ </div>
+ <div class="table-right">
+ <div id="{{ $category.description | urlize }}" class="table-headers">
+ <table>
+ <tr>
+ {{ range $column := $cap_data.columns }}
+ <th>{{ $column.name }}</th>
+ {{ end }}
+ </tr>
+ </table>
+ </div>
+ <div id="{{ $category.description | urlize }}" class="table-center">
+ <table>
+ {{ range $row := $category.rows }}
+ <tr>
+ {{ range $val := $row.values }}
+ <td style='background-color:#{{ if eq $val.l1 "Yes" }}{{ index $category "color-y" }}{{ else if eq $val.l1 "Partially" }}{{ index $category "color-p" }}{{ else }}{{ index $category "color-n" }}{{ end }};border-color:#{{ if eq $val.l1 "Yes" }}{{ index $category "color-yb" }}{{ else if eq $val.l1 "Partially" }}{{ index $category "color-pb" }}{{ else }}{{ index $category "color-nb" }}{{ end }}'>
+ {{ partial "documentation/capability-matrix-row" (dict "type" $cap_view "val" $val) }}
+ </td>
+ {{ end }}
+ </tr>
+ {{ end }}
+ </table>
+ </div>
+ </div>
+ </div>
Review comment:
Okay it's happening when we open a console in browser, I still don't know why but until then everything goes smoothly
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [beam] TheNeuralBit commented on a change in pull request #13858: [BEAM-11618-11619-11605-11468-][Website revamp]Implemented capability matrix, powered by, beam practises, feedback component
Posted by GitBox <gi...@apache.org>.
TheNeuralBit commented on a change in pull request #13858:
URL: https://github.com/apache/beam/pull/13858#discussion_r570546830
##########
File path: website/www/site/content/en/documentation/runners/basics.md
##########
@@ -0,0 +1,193 @@
+---
+title: "Basics of the Beam model"
+---
+<!--
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+-->
+
+# Basics of the Beam model
+
+Suppose you have a data processing engine that can pretty easily process graphs
+of operations. You want to integrate it with the Beam ecosystem to get access
+to other languages, great event time processing, and a library of connectors.
+You need to know the core vocabulary:
+
+ * [_Pipeline_](#pipeline) - A pipeline is a graph of transformations that a user constructs
+ that defines the data processing they want to do.
+ * [_PCollection_](#pcollections) - Data being processed in a pipeline is part of a PCollection.
+ * [_PTransforms_](#ptransforms) - The operations executed within a pipeline. These are best
+ thought of as operations on PCollections.
+ * _SDK_ - A language-specific library for pipeline authors (we often call them
+ "users" even though we have many kinds of users) to build transforms,
+ construct their pipelines and submit them to a runner
+ * _Runner_ - You are going to write a piece of software called a runner that
+ takes a Beam pipeline and executes it using the capabilities of your data
+ processing engine.
+
+These concepts may be very similar to your processing engine's concepts. Since
+Beam's design is for cross-language operation and reusable libraries of
+transforms, there are some special features worth highlighting.
+
+### Pipeline
+
+A pipeline in Beam is a graph of PTransforms operating on PCollections. A
+pipeline is constructed by a user in their SDK of choice, and makes its way to
+your runner either via the SDK directly or via the Runner API's (forthcoming)
+RPC interfaces.
+
+### PTransforms
+
+In Beam, a PTransform can be one of the five primitives or it can be a
+composite transform encapsulating a subgraph. The primitives are:
+
+ * [_Read_](#implementing-the-read-primitive) - parallel connectors to external
+ systems
+ * [_ParDo_](#implementing-the-pardo-primitive) - per element processing
+ * [_GroupByKey_](#implementing-the-groupbykey-and-window-primitive) -
+ aggregating elements per key and window
+ * [_Flatten_](#implementing-the-flatten-primitive) - union of PCollections
+ * [_Window_](#implementing-the-window-primitive) - set the windowing strategy
+ for a PCollection
+
+When implementing a runner, these are the operations you need to implement.
+Composite transforms may or may not be important to your runner. If you expose
+a UI, maintaining some of the composite structure will make the pipeline easier
+for a user to understand. But the result of processing is not changed.
+
+### PCollections
+
+A PCollection is an unordered bag of elements. Your runner will be responsible
+for storing these elements. There are some major aspects of a PCollection to
+note:
+
+#### Bounded vs Unbounded
+
+A PCollection may be bounded or unbounded.
+
+ - _Bounded_ - it is finite and you know it, as in batch use cases
+ - _Unbounded_ - it may be never end, you don't know, as in streaming use cases
+
+These derive from the intuitions of batch and stream processing, but the two
+are unified in Beam and bounded and unbounded PCollections can coexist in the
+same pipeline. If your runner can only support bounded PCollections, you'll
+need to reject pipelines that contain unbounded PCollections. If your
+runner is only really targeting streams, there are adapters in our support code
+to convert everything to APIs targeting unbounded data.
+
+#### Timestamps
+
+Every element in a PCollection has a timestamp associated with it.
+
+When you execute a primitive connector to some storage system, that connector
+is responsible for providing initial timestamps. Your runner will need to
+propagate and aggregate timestamps. If the timestamp is not important, as with
+certain batch processing jobs where elements do not denote events, they will be
+the minimum representable timestamp, often referred to colloquially as
+"negative infinity".
+
+#### Watermarks
+
+Every PCollection has to have a watermark that estimates how complete the
+PCollection is.
+
+The watermark is a guess that "we'll never see an element with an earlier
+timestamp". Sources of data are responsible for producing a watermark. Your
+runner needs to implement watermark propagation as PCollections are processed,
+merged, and partitioned.
+
+The contents of a PCollection are complete when a watermark advances to
+"infinity". In this manner, you may discover that an unbounded PCollection is
+finite.
+
+#### Windowed elements
+
+Every element in a PCollection resides in a window. No element resides in
+multiple windows (two elements can be equal except for their window, but they
+are not the same).
+
+When elements are read from the outside world they arrive in the global window.
+When they are written to the outside world, they are effectively placed back
+into the global window (any writing transform that doesn't take this
+perspective probably risks data loss).
+
+A window has a maximum timestamp, and when the watermark exceeds this plus
+user-specified allowed lateness the window is expired. All data related
+to an expired window may be discarded at any time.
+
+#### Coder
+
+Every PCollection has a coder, a specification of the binary format of the elements.
+
+In Beam, the user's pipeline may be written in a language other than the
+language of the runner. There is no expectation that the runner can actually
+deserialize user data. So the Beam model operates principally on encoded data -
+"just bytes". Each PCollection has a declared encoding for its elements, called
+a coder. A coder has a URN that identifies the encoding, and may have
+additional sub-coders (for example, a coder for lists may contain a coder for
+the elements of the list). Language-specific serialization techniques can, and
+frequently are used, but there are a few key formats - such as key-value pairs
+and timestamps - that are common so your runner can understand them.
+
+#### Windowing Strategy
+
+Every PCollection has a windowing strategy, a specification of essential
+information for grouping and triggering operations.
+
+The details will be discussed below when we discuss the
+[Window](#implementing-the-window-primitive) primitive, which sets up the
+windowing strategy, and
+[GroupByKey](#implementing-the-groupbykey-and-window-primitive) primitive,
+which has behavior governed by the windowing strategy.
+
+### User-Defined Functions (UDFs)
+
+Beam has seven varieties of user-defined function (UDF). A Beam pipeline
+may contain UDFs written in a language other than your runner, or even multiple
+languages in the same pipeline (see the [Runner API](#the-runner-api)) so the
+definitions are language-independent (see the [Fn API](#the-fn-api)).
+
+The UDFs of Beam are:
+
+ * _DoFn_ - per-element processing function (used in ParDo)
+ * _WindowFn_ - places elements in windows and merges windows (used in Window
+ and GroupByKey)
+ * _Source_ - emits data read from external sources, including initial and
+ dynamic splitting for parallelism (used in Read)
+ * _ViewFn_ - adapts a materialized PCollection to a particular interface (used
+ in side inputs)
+ * _WindowMappingFn_ - maps one element's window to another, and specifies
+ bounds on how far in the past the result window will be (used in side
+ inputs)
+ * _CombineFn_ - associative and commutative aggregation (used in Combine and
+ state)
+ * _Coder_ - encodes user data; some coders have standard formats and are not really UDFs
+
+The various types of user-defined functions will be described further alongside
+the primitives that use them.
+
+### Runner
+
+The term "runner" is used for a couple of things. It generally refers to the
+software that takes a Beam pipeline and executes it somehow. Often, this is the
+translation code that you write. It usually also includes some customized
+operators for your data processing engine, and is sometimes used to refer to
+the full stack.
+
+A runner has just a single method `run(Pipeline)`. From here on, I will often
+use code font for proper nouns in our APIs, whether or not the identifiers
+match across all SDKs.
+
+The `run(Pipeline)` method should be asynchronous and results in a
+PipelineResult which generally will be a job descriptor for your data
+processing engine, providing methods for checking its status, canceling it, and
+waiting for it to terminate.
Review comment:
Looks like it came from runner-guide.md, which you just updated. Thanks!
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [beam] Jakub-Sadowski commented on a change in pull request #13858: [BEAM-11618-11619-11605-11468-][Website revamp]Implemented capability matrix, powered by, beam practises, feedback component
Posted by GitBox <gi...@apache.org>.
Jakub-Sadowski commented on a change in pull request #13858:
URL: https://github.com/apache/beam/pull/13858#discussion_r570510927
##########
File path: website/www/site/content/en/documentation/runners/capability-matrix/_index.md
##########
@@ -22,21 +23,17 @@ limitations under the License.
# Beam Capability Matrix
Apache Beam provides a portable API layer for building sophisticated data-parallel processing pipelines that may be executed across a diversity of execution engines, or <i>runners</i>. The core concepts of this layer are based upon the Beam Model (formerly referred to as the [Dataflow Model](https://www.vldb.org/pvldb/vol8/p1792-Akidau.pdf)), and implemented to varying degrees in each Beam runner. To help clarify the capabilities of individual runners, we've created the capability matrix below.
Review comment:
done
##########
File path: website/www/site/content/en/documentation/runners/capability-matrix/additional-common-features-not-yet-part-of-the-beam-model.md
##########
@@ -0,0 +1,24 @@
+---
+type: runners
+title: "Additional common features not yet part of the Beam model"
+layout: "capability-template"
+aliases:
+ - /learn/runners/capability-matrix/
+ - /capability-matrix/
Review comment:
done
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [beam] TheNeuralBit commented on a change in pull request #13858: Website/capability powered practises
Posted by GitBox <gi...@apache.org>.
TheNeuralBit commented on a change in pull request #13858:
URL: https://github.com/apache/beam/pull/13858#discussion_r568722122
##########
File path: website/www/site/static/images/community/messages-icon.svg
##########
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+-->
+<svg xmlns="http://www.w3.org/2000/svg" width="112" height="113" fill="none" viewBox="0 0 112 113">
+ <path fill="#FFE5D9" d="M56 112.909c30.928 0 56-25.072 56-56s-25.072-56-56-56-56 25.072-56 56 25.072 56 56 56z"/>
+ <path fill="#FF570B" fill-rule="evenodd" d="M66.616 56.598c-5.523 0-10 4.477-10 10v3.097c0 5.523 4.477 10 10 10h1.108l3.387 5.267c.397.618 1.303.61 1.69-.014l3.258-5.253h.666c5.523 0 10-4.477 10-10v-3.097c0-5.523-4.477-10-10-10H66.616z" clip-rule="evenodd"/>
+ <path fill="#fff" fill-rule="evenodd" d="M40.98 42.206c-8.677 0-15.71 7.034-15.71 15.71 0 8.473 6.707 15.38 15.102 15.699l4.923 7.657c.398.618 1.304.61 1.691-.014l4.762-7.679c8.102-.628 14.48-7.4 14.48-15.663 0-8.676-7.034-15.71-15.71-15.71H40.98z" clip-rule="evenodd"/>
+ <path fill="#FBC23E" fill-rule="evenodd" d="M66.234 56.605c-5.346.201-9.618 4.598-9.618 9.993v3.097c0 .877.113 1.727.325 2.537 5.486-2.536 9.293-8.089 9.293-14.53v-1.097z" clip-rule="evenodd"/>
+ <path stroke="#000" stroke-linecap="round" stroke-width="3" d="M60.3 35.304l1.137-6.496M67.843 41.23l6.568-.582M65.453 36.783l5.833-6.053"/>
+ <path fill="#FF570B" d="M40.806 49.695c.333-.844 1.528-.844 1.861 0l.643 1.632c.102.258.306.462.564.563l1.631.644c.845.333.845 1.528 0 1.86l-1.631.644c-.258.102-.462.306-.564.563l-.643 1.632c-.333.844-1.528.844-1.86 0l-.644-1.632c-.102-.257-.306-.461-.563-.563l-1.632-.643c-.844-.333-.844-1.528 0-1.861l1.631-.644c.258-.101.462-.305.564-.563l.643-1.632zM47.021 60.07c.302-.766 1.386-.766 1.688 0 .092.233.277.418.511.51.766.303.766 1.386 0 1.688-.234.092-.419.277-.511.511-.302.766-1.386.766-1.688 0-.092-.234-.277-.419-.51-.51-.766-.303-.766-1.386 0-1.688.233-.093.418-.278.51-.512z"/>
+ <path fill="#fff" d="M71.397 67.058c.302-.766 1.385-.766 1.687 0 .093.234.278.419.511.511.766.302.766 1.386 0 1.688-.233.092-.418.277-.51.51-.303.767-1.386.767-1.688 0-.093-.233-.278-.418-.511-.51-.766-.302-.766-1.386 0-1.688.233-.092.418-.277.51-.51z"/>
+</svg>
Review comment:
That's fine. We can resolve duplicates later either in the website-revamp branch, or even in master.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [beam] Jakub-Sadowski commented on pull request #13858: [BEAM-11618-11619-11605-11468-][Website revamp]Implemented capability matrix, powered by, beam practises, feedback component
Posted by GitBox <gi...@apache.org>.
Jakub-Sadowski commented on pull request #13858:
URL: https://github.com/apache/beam/pull/13858#issuecomment-773254754
> > Are u sure? I just pulled this branch and capability is working fine (also incognito)
>
> Yes I'm sure. Note I didn't pull the branch and build the website locally, I'm going off the one that the "Website Stage GCS" job built, here: http://apache-beam-website-pull-requests.storage.googleapis.com/13858/index.html
>
> When I go to that page and click Documentation > Runners, it takes me to http://apache-beam-website-pull-requests.storage.googleapis.com/13858/documentation/runners/capability-matrix/index.html, which doesn't exist
You were right, git ignore didn't added whole folder with capability matrix
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [beam] Jakub-Sadowski edited a comment on pull request #13858: [BEAM-11618-11619-11605-11468-][Website revamp]Implemented capability matrix, powered by, beam practises, feedback component
Posted by GitBox <gi...@apache.org>.
Jakub-Sadowski edited a comment on pull request #13858:
URL: https://github.com/apache/beam/pull/13858#issuecomment-773254754
> > Are u sure? I just pulled this branch and capability is working fine (also incognito)
>
> Yes I'm sure. Note I didn't pull the branch and build the website locally, I'm going off the one that the "Website Stage GCS" job built, here: http://apache-beam-website-pull-requests.storage.googleapis.com/13858/index.html
>
> When I go to that page and click Documentation > Runners, it takes me to http://apache-beam-website-pull-requests.storage.googleapis.com/13858/documentation/runners/capability-matrix/index.html, which doesn't exist
You were right, git ignore blocked whole folder with capability matrix
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [beam] Jakub-Sadowski commented on a change in pull request #13858: Website/capability powered practises
Posted by GitBox <gi...@apache.org>.
Jakub-Sadowski commented on a change in pull request #13858:
URL: https://github.com/apache/beam/pull/13858#discussion_r569344671
##########
File path: website/www/site/content/en/powered-by/open-source/scio.md
##########
@@ -0,0 +1,20 @@
+---
+title: "Scio"
+type: open-source
+categories:
+ - Open Source Projects Powered by Apache Beam
+icon: /images/logos/powered-by/scio.png
+---
+<!--
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+-->
Review comment:
Yesterday, I got something like this:
`Developed at Spotify and built on top of Apache Beam, Klio is an open source framework for data processing pipelines for audio and other media files.`
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [beam] TheNeuralBit commented on a change in pull request #13858: [BEAM-11618-11619-11605-11468-][Website revamp]Implemented capability matrix, powered by, beam practises, feedback component
Posted by GitBox <gi...@apache.org>.
TheNeuralBit commented on a change in pull request #13858:
URL: https://github.com/apache/beam/pull/13858#discussion_r570442889
##########
File path: website/www/site/layouts/shortcodes/documentation/capability-matrix-single.html
##########
@@ -0,0 +1,101 @@
+{{/*
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+ http://www.apache.org/licenses/LICENSE-2.0
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License. See accompanying LICENSE file.
+*/}}
+{{ $cap_view := .Get "cap-view" }}
+{{ $cap_data := index $.Site.Data.capability_matrix (.Get "cap-data") }}
+{{ if eq (.Get "cap-data") "capability-matrix-snapshot" }}
+ {{ $cap_data = index $.Site.Data.capability_matrix_snapshot (.Get "cap-data") }}
+{{ end }}
+
+
+<div class="information-container">
+ <div>
+ <h5>How to read the tables</h5>
+ <table class="read-tables">
+ <tr>
+ <th></th>
+ <th class="border-left">Tools we are comparing</th>
+ </tr>
+ <tr class="border-top">
+ <td class="border-right">Properties</td>
+ <td style="border-left: 3px solid #ff6d05">
+ Does this tool have this property?<span>Yes/Partially/No</span>
+ </td>
+ </tr>
+ </table>
+ </div>
+ <div class="second-container">
+ <h5>What do those signs mean?</h5>
+ <div class="row">
+ <div class="box white">✓</div>
+ <div>Yes</div>
+ </div>
+ <div class="row">
+ <div class="box partial">~</div>
+ <div>Partially</div>
+ </div>
+ <div class="row">
+ <div class="box gray">✕</div>
+ <div>No</div>
+ </div>
+ </div>
+</div>
+{{ range $category := $cap_data.categories }}
+ <h4>{{ $category.description }}</h4>
+ <div class="table-container">
+ <div class="table-left">
+ <table>
+ <tr>
+ <th></th>
+ </tr>
+ {{ range $row := $category.rows }}
+ <tr>
+ <th>{{ $row.name }}</th>
+ </tr>
+ {{ end }}
+ </table>
+ </div>
+ <div class="table-right">
+ <div id="{{ $category.description | urlize }}" class="table-headers">
+ <table>
+ <tr>
+ {{ range $column := $cap_data.columns }}
+ <th>{{ $column.name }}</th>
+ {{ end }}
+ </tr>
+ </table>
+ </div>
+ <div id="{{ $category.description | urlize }}" class="table-center">
+ <table>
+ {{ range $row := $category.rows }}
+ <tr>
+ {{ range $val := $row.values }}
+ <td style='background-color:#{{ if eq $val.l1 "Yes" }}{{ index $category "color-y" }}{{ else if eq $val.l1 "Partially" }}{{ index $category "color-p" }}{{ else }}{{ index $category "color-n" }}{{ end }};border-color:#{{ if eq $val.l1 "Yes" }}{{ index $category "color-yb" }}{{ else if eq $val.l1 "Partially" }}{{ index $category "color-pb" }}{{ else }}{{ index $category "color-nb" }}{{ end }}'>
+ {{ partial "documentation/capability-matrix-row" (dict "type" $cap_view "val" $val) }}
+ </td>
+ {{ end }}
+ </tr>
+ {{ end }}
+ </table>
+ </div>
+ </div>
+ </div>
Review comment:
The way the capability matrix scrolls seems buggy. It's like the header and the content don't scroll at the same rate, what makes it hard to line them up. After I scrolled a little bit the table looks like this:

Where the headers are almost on the line between the columns. Do you know what's going on here?
##########
File path: website/www/site/layouts/partials/section-menu/en/contribute.html
##########
@@ -13,6 +13,7 @@
<li><span class="section-nav-list-main-title">Contribute</span></li>
<li><a href="/contribute/">Get started contributing</a></li>
<li><a href="/contribute/get-help/">Get Help</a></li>
+<li><a href="/contribute/practises/">Beam community's practises</a></li>
Review comment:
This should be updated to reflect the new name
##########
File path: website/www/site/content/en/documentation/runners/capability-matrix/additional-common-features-not-yet-part-of-the-beam-model.md
##########
@@ -0,0 +1,24 @@
+---
+type: runners
+title: "Additional common features not yet part of the Beam model"
+layout: "capability-template"
+aliases:
+ - /learn/runners/capability-matrix/
+ - /capability-matrix/
Review comment:
I think this is a copy-paste error, these are aliases for the main capability matrix, not for these detail pages, right?
##########
File path: website/www/site/data/en/powered-by.yaml
##########
@@ -0,0 +1,22 @@
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+- title: Commercial projects
+ body: Learn how the companies use Apache Beam and make their work easier.
+ icon: /icons/commercial-icon.svg
+ link: /powered-by/commercial
+- title: Open source projects
+ body: Learn how the companies use Apache Beam and make their work easier.
Review comment:
There should be some different copy for OS projects. Do we need to get some from @griscz?
##########
File path: website/www/site/layouts/partials/feedback.html
##########
@@ -0,0 +1,22 @@
+{{/*
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+ http://www.apache.org/licenses/LICENSE-2.0
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License. See accompanying LICENSE file.
+ */}}
+
+<div class="feedback">
+ {{ if ne (.Page.Lastmod.Format "2006/01/02") "0001/01/01" }}
+ <p class="update">Last updated on {{ .Page.Lastmod.Format "2006/01/02" }}</p>
+ {{ end }}
+ <h3>{{ T "feedback-title" }}</h3>
+ <p class="description">
+ {{ T "feedback-description" }}
+ </p>
+ <button class="load-button"><a href="mailto:dev@beam.apache.org">{{ T "feedback-button" }}</a></button>
Review comment:
Let's put a default subject on this. I believe this is the right syntax:
```suggestion
<button class="load-button"><a href="mailto:dev@beam.apache.org?subject=Beam Website Feedback">{{ T "feedback-button" }}</a></button>
```
##########
File path: website/www/site/content/en/documentation/runners/capability-matrix/_index.md
##########
@@ -22,21 +23,17 @@ limitations under the License.
# Beam Capability Matrix
Apache Beam provides a portable API layer for building sophisticated data-parallel processing pipelines that may be executed across a diversity of execution engines, or <i>runners</i>. The core concepts of this layer are based upon the Beam Model (formerly referred to as the [Dataflow Model](https://www.vldb.org/pvldb/vol8/p1792-Akidau.pdf)), and implemented to varying degrees in each Beam runner. To help clarify the capabilities of individual runners, we've created the capability matrix below.
Review comment:
For some reason this page is showing the sidebar that goes with the contribute section, not the runners section

##########
File path: website/www/site/data/en/powered-by.yaml
##########
@@ -0,0 +1,22 @@
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+- title: Commercial projects
+ body: Learn how the companies use Apache Beam and make their work easier.
Review comment:
```suggestion
body: Learn how these companies use Apache Beam to make their work easier.
```
##########
File path: website/www/site/content/en/powered-by/open-source/scio.md
##########
@@ -0,0 +1,20 @@
+---
+title: "Scio"
+type: open-source
+categories:
+ - Open Source Projects Powered by Apache Beam
+icon: /images/logos/powered-by/scio.png
+---
+<!--
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+-->
Review comment:
Let's file a jira to make sure we get some copy for Scio at some point
##########
File path: website/www/site/content/en/documentation/runners/basics.md
##########
@@ -0,0 +1,193 @@
+---
+title: "Basics of the Beam model"
+---
+<!--
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+-->
+
+# Basics of the Beam model
+
+Suppose you have a data processing engine that can pretty easily process graphs
+of operations. You want to integrate it with the Beam ecosystem to get access
+to other languages, great event time processing, and a library of connectors.
+You need to know the core vocabulary:
+
+ * [_Pipeline_](#pipeline) - A pipeline is a graph of transformations that a user constructs
+ that defines the data processing they want to do.
+ * [_PCollection_](#pcollections) - Data being processed in a pipeline is part of a PCollection.
+ * [_PTransforms_](#ptransforms) - The operations executed within a pipeline. These are best
+ thought of as operations on PCollections.
+ * _SDK_ - A language-specific library for pipeline authors (we often call them
+ "users" even though we have many kinds of users) to build transforms,
+ construct their pipelines and submit them to a runner
+ * _Runner_ - You are going to write a piece of software called a runner that
+ takes a Beam pipeline and executes it using the capabilities of your data
+ processing engine.
+
+These concepts may be very similar to your processing engine's concepts. Since
+Beam's design is for cross-language operation and reusable libraries of
+transforms, there are some special features worth highlighting.
+
+### Pipeline
+
+A pipeline in Beam is a graph of PTransforms operating on PCollections. A
+pipeline is constructed by a user in their SDK of choice, and makes its way to
+your runner either via the SDK directly or via the Runner API's (forthcoming)
+RPC interfaces.
+
+### PTransforms
+
+In Beam, a PTransform can be one of the five primitives or it can be a
+composite transform encapsulating a subgraph. The primitives are:
+
+ * [_Read_](#implementing-the-read-primitive) - parallel connectors to external
+ systems
+ * [_ParDo_](#implementing-the-pardo-primitive) - per element processing
+ * [_GroupByKey_](#implementing-the-groupbykey-and-window-primitive) -
+ aggregating elements per key and window
+ * [_Flatten_](#implementing-the-flatten-primitive) - union of PCollections
+ * [_Window_](#implementing-the-window-primitive) - set the windowing strategy
+ for a PCollection
+
+When implementing a runner, these are the operations you need to implement.
+Composite transforms may or may not be important to your runner. If you expose
+a UI, maintaining some of the composite structure will make the pipeline easier
+for a user to understand. But the result of processing is not changed.
+
+### PCollections
+
+A PCollection is an unordered bag of elements. Your runner will be responsible
+for storing these elements. There are some major aspects of a PCollection to
+note:
+
+#### Bounded vs Unbounded
+
+A PCollection may be bounded or unbounded.
+
+ - _Bounded_ - it is finite and you know it, as in batch use cases
+ - _Unbounded_ - it may be never end, you don't know, as in streaming use cases
+
+These derive from the intuitions of batch and stream processing, but the two
+are unified in Beam and bounded and unbounded PCollections can coexist in the
+same pipeline. If your runner can only support bounded PCollections, you'll
+need to reject pipelines that contain unbounded PCollections. If your
+runner is only really targeting streams, there are adapters in our support code
+to convert everything to APIs targeting unbounded data.
+
+#### Timestamps
+
+Every element in a PCollection has a timestamp associated with it.
+
+When you execute a primitive connector to some storage system, that connector
+is responsible for providing initial timestamps. Your runner will need to
+propagate and aggregate timestamps. If the timestamp is not important, as with
+certain batch processing jobs where elements do not denote events, they will be
+the minimum representable timestamp, often referred to colloquially as
+"negative infinity".
+
+#### Watermarks
+
+Every PCollection has to have a watermark that estimates how complete the
+PCollection is.
+
+The watermark is a guess that "we'll never see an element with an earlier
+timestamp". Sources of data are responsible for producing a watermark. Your
+runner needs to implement watermark propagation as PCollections are processed,
+merged, and partitioned.
+
+The contents of a PCollection are complete when a watermark advances to
+"infinity". In this manner, you may discover that an unbounded PCollection is
+finite.
+
+#### Windowed elements
+
+Every element in a PCollection resides in a window. No element resides in
+multiple windows (two elements can be equal except for their window, but they
+are not the same).
+
+When elements are read from the outside world they arrive in the global window.
+When they are written to the outside world, they are effectively placed back
+into the global window (any writing transform that doesn't take this
+perspective probably risks data loss).
+
+A window has a maximum timestamp, and when the watermark exceeds this plus
+user-specified allowed lateness the window is expired. All data related
+to an expired window may be discarded at any time.
+
+#### Coder
+
+Every PCollection has a coder, a specification of the binary format of the elements.
+
+In Beam, the user's pipeline may be written in a language other than the
+language of the runner. There is no expectation that the runner can actually
+deserialize user data. So the Beam model operates principally on encoded data -
+"just bytes". Each PCollection has a declared encoding for its elements, called
+a coder. A coder has a URN that identifies the encoding, and may have
+additional sub-coders (for example, a coder for lists may contain a coder for
+the elements of the list). Language-specific serialization techniques can, and
+frequently are used, but there are a few key formats - such as key-value pairs
+and timestamps - that are common so your runner can understand them.
+
+#### Windowing Strategy
+
+Every PCollection has a windowing strategy, a specification of essential
+information for grouping and triggering operations.
+
+The details will be discussed below when we discuss the
+[Window](#implementing-the-window-primitive) primitive, which sets up the
+windowing strategy, and
+[GroupByKey](#implementing-the-groupbykey-and-window-primitive) primitive,
+which has behavior governed by the windowing strategy.
+
+### User-Defined Functions (UDFs)
+
+Beam has seven varieties of user-defined function (UDF). A Beam pipeline
+may contain UDFs written in a language other than your runner, or even multiple
+languages in the same pipeline (see the [Runner API](#the-runner-api)) so the
+definitions are language-independent (see the [Fn API](#the-fn-api)).
+
+The UDFs of Beam are:
+
+ * _DoFn_ - per-element processing function (used in ParDo)
+ * _WindowFn_ - places elements in windows and merges windows (used in Window
+ and GroupByKey)
+ * _Source_ - emits data read from external sources, including initial and
+ dynamic splitting for parallelism (used in Read)
+ * _ViewFn_ - adapts a materialized PCollection to a particular interface (used
+ in side inputs)
+ * _WindowMappingFn_ - maps one element's window to another, and specifies
+ bounds on how far in the past the result window will be (used in side
+ inputs)
+ * _CombineFn_ - associative and commutative aggregation (used in Combine and
+ state)
+ * _Coder_ - encodes user data; some coders have standard formats and are not really UDFs
+
+The various types of user-defined functions will be described further alongside
+the primitives that use them.
+
+### Runner
+
+The term "runner" is used for a couple of things. It generally refers to the
+software that takes a Beam pipeline and executes it somehow. Often, this is the
+translation code that you write. It usually also includes some customized
+operators for your data processing engine, and is sometimes used to refer to
+the full stack.
+
+A runner has just a single method `run(Pipeline)`. From here on, I will often
+use code font for proper nouns in our APIs, whether or not the identifiers
+match across all SDKs.
+
+The `run(Pipeline)` method should be asynchronous and results in a
+PipelineResult which generally will be a job descriptor for your data
+processing engine, providing methods for checking its status, canceling it, and
+waiting for it to terminate.
Review comment:
Was this content copied from somewhere else, or is it entirely new?
##########
File path: website/www/site/layouts/shortcodes/documentation/capability-matrix-single.html
##########
@@ -0,0 +1,101 @@
+{{/*
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+ http://www.apache.org/licenses/LICENSE-2.0
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License. See accompanying LICENSE file.
+*/}}
+{{ $cap_view := .Get "cap-view" }}
+{{ $cap_data := index $.Site.Data.capability_matrix (.Get "cap-data") }}
+{{ if eq (.Get "cap-data") "capability-matrix-snapshot" }}
+ {{ $cap_data = index $.Site.Data.capability_matrix_snapshot (.Get "cap-data") }}
+{{ end }}
+
+
+<div class="information-container">
+ <div>
+ <h5>How to read the tables</h5>
+ <table class="read-tables">
+ <tr>
+ <th></th>
+ <th class="border-left">Tools we are comparing</th>
+ </tr>
+ <tr class="border-top">
+ <td class="border-right">Properties</td>
+ <td style="border-left: 3px solid #ff6d05">
+ Does this tool have this property?<span>Yes/Partially/No</span>
+ </td>
+ </tr>
+ </table>
+ </div>
+ <div class="second-container">
+ <h5>What do those signs mean?</h5>
+ <div class="row">
+ <div class="box white">✓</div>
+ <div>Yes</div>
+ </div>
+ <div class="row">
+ <div class="box partial">~</div>
+ <div>Partially</div>
+ </div>
+ <div class="row">
+ <div class="box gray">✕</div>
+ <div>No</div>
+ </div>
+ </div>
+</div>
+{{ range $category := $cap_data.categories }}
+ <h4>{{ $category.description }}</h4>
+ <div class="table-container">
+ <div class="table-left">
+ <table>
+ <tr>
+ <th></th>
+ </tr>
+ {{ range $row := $category.rows }}
+ <tr>
+ <th>{{ $row.name }}</th>
+ </tr>
+ {{ end }}
+ </table>
+ </div>
+ <div class="table-right">
+ <div id="{{ $category.description | urlize }}" class="table-headers">
+ <table>
+ <tr>
+ {{ range $column := $cap_data.columns }}
+ <th>{{ $column.name }}</th>
+ {{ end }}
+ </tr>
+ </table>
+ </div>
+ <div id="{{ $category.description | urlize }}" class="table-center">
+ <table>
+ {{ range $row := $category.rows }}
+ <tr>
+ {{ range $val := $row.values }}
+ <td style='background-color:#{{ if eq $val.l1 "Yes" }}{{ index $category "color-y" }}{{ else if eq $val.l1 "Partially" }}{{ index $category "color-p" }}{{ else }}{{ index $category "color-n" }}{{ end }};border-color:#{{ if eq $val.l1 "Yes" }}{{ index $category "color-yb" }}{{ else if eq $val.l1 "Partially" }}{{ index $category "color-pb" }}{{ else }}{{ index $category "color-nb" }}{{ end }}'>
+ {{ partial "documentation/capability-matrix-row" (dict "type" $cap_view "val" $val) }}
+ </td>
+ {{ end }}
+ </tr>
+ {{ end }}
+ </table>
+ </div>
+ </div>
+ </div>
Review comment:
The way the capability matrix scrolls horizontally seems buggy. It's like the header and the content don't scroll at the same rate, what makes it hard to line them up. After I scrolled a little bit the table looks like this:

Where the headers are almost on the line between the columns. Do you know what's going on here?
##########
File path: website/www/site/data/en/powered-by.yaml
##########
@@ -0,0 +1,22 @@
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+- title: Commercial projects
+ body: Learn how the companies use Apache Beam and make their work easier.
+ icon: /icons/commercial-icon.svg
+ link: /powered-by/commercial
+- title: Open source projects
+ body: Learn how the companies use Apache Beam and make their work easier.
Review comment:
I think Gris is OOO, lets go with this:
```suggestion
body: Find other Open Source projects that use Apache Beam.
```
##########
File path: website/www/site/data/en/powered-by.yaml
##########
@@ -0,0 +1,22 @@
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+- title: Commercial projects
+ body: Learn how the companies use Apache Beam and make their work easier.
+ icon: /icons/commercial-icon.svg
+ link: /powered-by/commercial
+- title: Open source projects
+ body: Learn how the companies use Apache Beam and make their work easier.
Review comment:
I think Gris is OOO, lets go with this:
```suggestion
body: Find other open source projects that use Apache Beam.
```
##########
File path: website/www/site/content/en/documentation/runners/basics.md
##########
@@ -0,0 +1,193 @@
+---
+title: "Basics of the Beam model"
+---
+<!--
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+-->
+
+# Basics of the Beam model
+
+Suppose you have a data processing engine that can pretty easily process graphs
+of operations. You want to integrate it with the Beam ecosystem to get access
+to other languages, great event time processing, and a library of connectors.
+You need to know the core vocabulary:
+
+ * [_Pipeline_](#pipeline) - A pipeline is a graph of transformations that a user constructs
+ that defines the data processing they want to do.
+ * [_PCollection_](#pcollections) - Data being processed in a pipeline is part of a PCollection.
+ * [_PTransforms_](#ptransforms) - The operations executed within a pipeline. These are best
+ thought of as operations on PCollections.
+ * _SDK_ - A language-specific library for pipeline authors (we often call them
+ "users" even though we have many kinds of users) to build transforms,
+ construct their pipelines and submit them to a runner
+ * _Runner_ - You are going to write a piece of software called a runner that
+ takes a Beam pipeline and executes it using the capabilities of your data
+ processing engine.
+
+These concepts may be very similar to your processing engine's concepts. Since
+Beam's design is for cross-language operation and reusable libraries of
+transforms, there are some special features worth highlighting.
+
+### Pipeline
+
+A pipeline in Beam is a graph of PTransforms operating on PCollections. A
+pipeline is constructed by a user in their SDK of choice, and makes its way to
+your runner either via the SDK directly or via the Runner API's (forthcoming)
+RPC interfaces.
+
+### PTransforms
+
+In Beam, a PTransform can be one of the five primitives or it can be a
+composite transform encapsulating a subgraph. The primitives are:
+
+ * [_Read_](#implementing-the-read-primitive) - parallel connectors to external
+ systems
+ * [_ParDo_](#implementing-the-pardo-primitive) - per element processing
+ * [_GroupByKey_](#implementing-the-groupbykey-and-window-primitive) -
+ aggregating elements per key and window
+ * [_Flatten_](#implementing-the-flatten-primitive) - union of PCollections
+ * [_Window_](#implementing-the-window-primitive) - set the windowing strategy
+ for a PCollection
+
+When implementing a runner, these are the operations you need to implement.
+Composite transforms may or may not be important to your runner. If you expose
+a UI, maintaining some of the composite structure will make the pipeline easier
+for a user to understand. But the result of processing is not changed.
+
+### PCollections
+
+A PCollection is an unordered bag of elements. Your runner will be responsible
+for storing these elements. There are some major aspects of a PCollection to
+note:
+
+#### Bounded vs Unbounded
+
+A PCollection may be bounded or unbounded.
+
+ - _Bounded_ - it is finite and you know it, as in batch use cases
+ - _Unbounded_ - it may be never end, you don't know, as in streaming use cases
+
+These derive from the intuitions of batch and stream processing, but the two
+are unified in Beam and bounded and unbounded PCollections can coexist in the
+same pipeline. If your runner can only support bounded PCollections, you'll
+need to reject pipelines that contain unbounded PCollections. If your
+runner is only really targeting streams, there are adapters in our support code
+to convert everything to APIs targeting unbounded data.
+
+#### Timestamps
+
+Every element in a PCollection has a timestamp associated with it.
+
+When you execute a primitive connector to some storage system, that connector
+is responsible for providing initial timestamps. Your runner will need to
+propagate and aggregate timestamps. If the timestamp is not important, as with
+certain batch processing jobs where elements do not denote events, they will be
+the minimum representable timestamp, often referred to colloquially as
+"negative infinity".
+
+#### Watermarks
+
+Every PCollection has to have a watermark that estimates how complete the
+PCollection is.
+
+The watermark is a guess that "we'll never see an element with an earlier
+timestamp". Sources of data are responsible for producing a watermark. Your
+runner needs to implement watermark propagation as PCollections are processed,
+merged, and partitioned.
+
+The contents of a PCollection are complete when a watermark advances to
+"infinity". In this manner, you may discover that an unbounded PCollection is
+finite.
+
+#### Windowed elements
+
+Every element in a PCollection resides in a window. No element resides in
+multiple windows (two elements can be equal except for their window, but they
+are not the same).
+
+When elements are read from the outside world they arrive in the global window.
+When they are written to the outside world, they are effectively placed back
+into the global window (any writing transform that doesn't take this
+perspective probably risks data loss).
+
+A window has a maximum timestamp, and when the watermark exceeds this plus
+user-specified allowed lateness the window is expired. All data related
+to an expired window may be discarded at any time.
+
+#### Coder
+
+Every PCollection has a coder, a specification of the binary format of the elements.
+
+In Beam, the user's pipeline may be written in a language other than the
+language of the runner. There is no expectation that the runner can actually
+deserialize user data. So the Beam model operates principally on encoded data -
+"just bytes". Each PCollection has a declared encoding for its elements, called
+a coder. A coder has a URN that identifies the encoding, and may have
+additional sub-coders (for example, a coder for lists may contain a coder for
+the elements of the list). Language-specific serialization techniques can, and
+frequently are used, but there are a few key formats - such as key-value pairs
+and timestamps - that are common so your runner can understand them.
+
+#### Windowing Strategy
+
+Every PCollection has a windowing strategy, a specification of essential
+information for grouping and triggering operations.
+
+The details will be discussed below when we discuss the
+[Window](#implementing-the-window-primitive) primitive, which sets up the
+windowing strategy, and
+[GroupByKey](#implementing-the-groupbykey-and-window-primitive) primitive,
+which has behavior governed by the windowing strategy.
+
+### User-Defined Functions (UDFs)
+
+Beam has seven varieties of user-defined function (UDF). A Beam pipeline
+may contain UDFs written in a language other than your runner, or even multiple
+languages in the same pipeline (see the [Runner API](#the-runner-api)) so the
+definitions are language-independent (see the [Fn API](#the-fn-api)).
+
+The UDFs of Beam are:
+
+ * _DoFn_ - per-element processing function (used in ParDo)
+ * _WindowFn_ - places elements in windows and merges windows (used in Window
+ and GroupByKey)
+ * _Source_ - emits data read from external sources, including initial and
+ dynamic splitting for parallelism (used in Read)
+ * _ViewFn_ - adapts a materialized PCollection to a particular interface (used
+ in side inputs)
+ * _WindowMappingFn_ - maps one element's window to another, and specifies
+ bounds on how far in the past the result window will be (used in side
+ inputs)
+ * _CombineFn_ - associative and commutative aggregation (used in Combine and
+ state)
+ * _Coder_ - encodes user data; some coders have standard formats and are not really UDFs
+
+The various types of user-defined functions will be described further alongside
+the primitives that use them.
+
+### Runner
+
+The term "runner" is used for a couple of things. It generally refers to the
+software that takes a Beam pipeline and executes it somehow. Often, this is the
+translation code that you write. It usually also includes some customized
+operators for your data processing engine, and is sometimes used to refer to
+the full stack.
+
+A runner has just a single method `run(Pipeline)`. From here on, I will often
+use code font for proper nouns in our APIs, whether or not the identifiers
+match across all SDKs.
+
+The `run(Pipeline)` method should be asynchronous and results in a
+PipelineResult which generally will be a job descriptor for your data
+processing engine, providing methods for checking its status, canceling it, and
+waiting for it to terminate.
Review comment:
Looks like it came from runner-guide.md, which you just updated. Thanks!
##########
File path: website/www/site/content/en/documentation/runners/basics.md
##########
@@ -0,0 +1,193 @@
+---
+title: "Basics of the Beam model"
+---
+<!--
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+-->
+
+# Basics of the Beam model
Review comment:
Please rename this file to just `documentation/basics.md`. It's not actually specific to runners now, it's being used as a general introduction the the Beam model.
##########
File path: website/www/site/content/en/contribute/runner-guide.md
##########
@@ -27,183 +27,6 @@ Topics covered:
{{< toc >}}
-## Basics of the Beam model
-
-Suppose you have a data processing engine that can pretty easily process graphs
-of operations. You want to integrate it with the Beam ecosystem to get access
-to other languages, great event time processing, and a library of connectors.
-You need to know the core vocabulary:
-
- * [_Pipeline_](#pipeline) - A pipeline is a graph of transformations that a user constructs
- that defines the data processing they want to do.
- * [_PCollection_](#pcollections) - Data being processed in a pipeline is part of a PCollection.
- * [_PTransforms_](#ptransforms) - The operations executed within a pipeline. These are best
- thought of as operations on PCollections.
- * _SDK_ - A language-specific library for pipeline authors (we often call them
- "users" even though we have many kinds of users) to build transforms,
- construct their pipelines and submit them to a runner
- * _Runner_ - You are going to write a piece of software called a runner that
- takes a Beam pipeline and executes it using the capabilities of your data
- processing engine.
-
-These concepts may be very similar to your processing engine's concepts. Since
-Beam's design is for cross-language operation and reusable libraries of
-transforms, there are some special features worth highlighting.
-
-### Pipeline
-
-A pipeline in Beam is a graph of PTransforms operating on PCollections. A
-pipeline is constructed by a user in their SDK of choice, and makes its way to
-your runner either via the SDK directly or via the Runner API's (forthcoming)
-RPC interfaces.
-
-### PTransforms
-
-In Beam, a PTransform can be one of the five primitives or it can be a
-composite transform encapsulating a subgraph. The primitives are:
-
- * [_Read_](#implementing-the-read-primitive) - parallel connectors to external
- systems
- * [_ParDo_](#implementing-the-pardo-primitive) - per element processing
- * [_GroupByKey_](#implementing-the-groupbykey-and-window-primitive) -
- aggregating elements per key and window
- * [_Flatten_](#implementing-the-flatten-primitive) - union of PCollections
- * [_Window_](#implementing-the-window-primitive) - set the windowing strategy
- for a PCollection
-
-When implementing a runner, these are the operations you need to implement.
-Composite transforms may or may not be important to your runner. If you expose
-a UI, maintaining some of the composite structure will make the pipeline easier
-for a user to understand. But the result of processing is not changed.
-
-### PCollections
-
-A PCollection is an unordered bag of elements. Your runner will be responsible
-for storing these elements. There are some major aspects of a PCollection to
-note:
-
-#### Bounded vs Unbounded
-
-A PCollection may be bounded or unbounded.
-
- - _Bounded_ - it is finite and you know it, as in batch use cases
- - _Unbounded_ - it may be never end, you don't know, as in streaming use cases
-
-These derive from the intuitions of batch and stream processing, but the two
-are unified in Beam and bounded and unbounded PCollections can coexist in the
-same pipeline. If your runner can only support bounded PCollections, you'll
-need to reject pipelines that contain unbounded PCollections. If your
-runner is only really targeting streams, there are adapters in our support code
-to convert everything to APIs targeting unbounded data.
-
-#### Timestamps
-
-Every element in a PCollection has a timestamp associated with it.
-
-When you execute a primitive connector to some storage system, that connector
-is responsible for providing initial timestamps. Your runner will need to
-propagate and aggregate timestamps. If the timestamp is not important, as with
-certain batch processing jobs where elements do not denote events, they will be
-the minimum representable timestamp, often referred to colloquially as
-"negative infinity".
-
-#### Watermarks
-
-Every PCollection has to have a watermark that estimates how complete the
-PCollection is.
-
-The watermark is a guess that "we'll never see an element with an earlier
-timestamp". Sources of data are responsible for producing a watermark. Your
-runner needs to implement watermark propagation as PCollections are processed,
-merged, and partitioned.
-
-The contents of a PCollection are complete when a watermark advances to
-"infinity". In this manner, you may discover that an unbounded PCollection is
-finite.
-
-#### Windowed elements
-
-Every element in a PCollection resides in a window. No element resides in
-multiple windows (two elements can be equal except for their window, but they
-are not the same).
-
-When elements are read from the outside world they arrive in the global window.
-When they are written to the outside world, they are effectively placed back
-into the global window (any writing transform that doesn't take this
-perspective probably risks data loss).
-
-A window has a maximum timestamp, and when the watermark exceeds this plus
-user-specified allowed lateness the window is expired. All data related
-to an expired window may be discarded at any time.
-
-#### Coder
-
-Every PCollection has a coder, a specification of the binary format of the elements.
-
-In Beam, the user's pipeline may be written in a language other than the
-language of the runner. There is no expectation that the runner can actually
-deserialize user data. So the Beam model operates principally on encoded data -
-"just bytes". Each PCollection has a declared encoding for its elements, called
-a coder. A coder has a URN that identifies the encoding, and may have
-additional sub-coders (for example, a coder for lists may contain a coder for
-the elements of the list). Language-specific serialization techniques can, and
-frequently are used, but there are a few key formats - such as key-value pairs
-and timestamps - that are common so your runner can understand them.
-
-#### Windowing Strategy
-
-Every PCollection has a windowing strategy, a specification of essential
-information for grouping and triggering operations.
-
-The details will be discussed below when we discuss the
-[Window](#implementing-the-window-primitive) primitive, which sets up the
-windowing strategy, and
-[GroupByKey](#implementing-the-groupbykey-and-window-primitive) primitive,
-which has behavior governed by the windowing strategy.
-
-### User-Defined Functions (UDFs)
-
-Beam has seven varieties of user-defined function (UDF). A Beam pipeline
-may contain UDFs written in a language other than your runner, or even multiple
-languages in the same pipeline (see the [Runner API](#the-runner-api)) so the
-definitions are language-independent (see the [Fn API](#the-fn-api)).
-
-The UDFs of Beam are:
-
- * _DoFn_ - per-element processing function (used in ParDo)
- * _WindowFn_ - places elements in windows and merges windows (used in Window
- and GroupByKey)
- * _Source_ - emits data read from external sources, including initial and
- dynamic splitting for parallelism (used in Read)
- * _ViewFn_ - adapts a materialized PCollection to a particular interface (used
- in side inputs)
- * _WindowMappingFn_ - maps one element's window to another, and specifies
- bounds on how far in the past the result window will be (used in side
- inputs)
- * _CombineFn_ - associative and commutative aggregation (used in Combine and
- state)
- * _Coder_ - encodes user data; some coders have standard formats and are not really UDFs
-
-The various types of user-defined functions will be described further alongside
-the primitives that use them.
-
-### Runner
-
-The term "runner" is used for a couple of things. It generally refers to the
-software that takes a Beam pipeline and executes it somehow. Often, this is the
-translation code that you write. It usually also includes some customized
-operators for your data processing engine, and is sometimes used to refer to
-the full stack.
-
-A runner has just a single method `run(Pipeline)`. From here on, I will often
-use code font for proper nouns in our APIs, whether or not the identifiers
-match across all SDKs.
-
-The `run(Pipeline)` method should be asynchronous and results in a
-PipelineResult which generally will be a job descriptor for your data
-processing engine, providing methods for checking its status, canceling it, and
-waiting for it to terminate.
-
Review comment:
We need to update the copy on this page and the new page based on this move (e.g. in the new page it says "From here on ...", but this is actually the end of the page). I'll file a jira to do that since I don't think we have time to do it now.
##########
File path: website/www/site/layouts/shortcodes/documentation/capability-matrix-single.html
##########
@@ -0,0 +1,101 @@
+{{/*
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+ http://www.apache.org/licenses/LICENSE-2.0
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License. See accompanying LICENSE file.
+*/}}
+{{ $cap_view := .Get "cap-view" }}
+{{ $cap_data := index $.Site.Data.capability_matrix (.Get "cap-data") }}
+{{ if eq (.Get "cap-data") "capability-matrix-snapshot" }}
+ {{ $cap_data = index $.Site.Data.capability_matrix_snapshot (.Get "cap-data") }}
+{{ end }}
+
+
+<div class="information-container">
+ <div>
+ <h5>How to read the tables</h5>
+ <table class="read-tables">
+ <tr>
+ <th></th>
+ <th class="border-left">Tools we are comparing</th>
+ </tr>
+ <tr class="border-top">
+ <td class="border-right">Properties</td>
+ <td style="border-left: 3px solid #ff6d05">
+ Does this tool have this property?<span>Yes/Partially/No</span>
+ </td>
+ </tr>
+ </table>
+ </div>
+ <div class="second-container">
+ <h5>What do those signs mean?</h5>
+ <div class="row">
+ <div class="box white">✓</div>
+ <div>Yes</div>
+ </div>
+ <div class="row">
+ <div class="box partial">~</div>
+ <div>Partially</div>
+ </div>
+ <div class="row">
+ <div class="box gray">✕</div>
+ <div>No</div>
+ </div>
+ </div>
+</div>
+{{ range $category := $cap_data.categories }}
+ <h4>{{ $category.description }}</h4>
+ <div class="table-container">
+ <div class="table-left">
+ <table>
+ <tr>
+ <th></th>
+ </tr>
+ {{ range $row := $category.rows }}
+ <tr>
+ <th>{{ $row.name }}</th>
+ </tr>
+ {{ end }}
+ </table>
+ </div>
+ <div class="table-right">
+ <div id="{{ $category.description | urlize }}" class="table-headers">
+ <table>
+ <tr>
+ {{ range $column := $cap_data.columns }}
+ <th>{{ $column.name }}</th>
+ {{ end }}
+ </tr>
+ </table>
+ </div>
+ <div id="{{ $category.description | urlize }}" class="table-center">
+ <table>
+ {{ range $row := $category.rows }}
+ <tr>
+ {{ range $val := $row.values }}
+ <td style='background-color:#{{ if eq $val.l1 "Yes" }}{{ index $category "color-y" }}{{ else if eq $val.l1 "Partially" }}{{ index $category "color-p" }}{{ else }}{{ index $category "color-n" }}{{ end }};border-color:#{{ if eq $val.l1 "Yes" }}{{ index $category "color-yb" }}{{ else if eq $val.l1 "Partially" }}{{ index $category "color-pb" }}{{ else }}{{ index $category "color-nb" }}{{ end }}'>
+ {{ partial "documentation/capability-matrix-row" (dict "type" $cap_view "val" $val) }}
+ </td>
+ {{ end }}
+ </tr>
+ {{ end }}
+ </table>
+ </div>
+ </div>
+ </div>
Review comment:
It's still happening for me. Note I'm using Chrome on Linux if that helps.
Also if I click and drag the scrollbar, only the content moves, the headers stay where they started, until I do a horizontal scroll again.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [beam] Jakub-Sadowski commented on a change in pull request #13858: [BEAM-11618-11619-11605-11468-][Website revamp]Implemented capability matrix, powered by, beam practises, feedback component
Posted by GitBox <gi...@apache.org>.
Jakub-Sadowski commented on a change in pull request #13858:
URL: https://github.com/apache/beam/pull/13858#discussion_r569344671
##########
File path: website/www/site/content/en/powered-by/open-source/scio.md
##########
@@ -0,0 +1,20 @@
+---
+title: "Scio"
+type: open-source
+categories:
+ - Open Source Projects Powered by Apache Beam
+icon: /images/logos/powered-by/scio.png
+---
+<!--
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+-->
Review comment:
Yesterday, I got something like this:
`Developed at Spotify and built on top of Apache Beam, Klio is an open source framework for data processing pipelines for audio and other media files.`
##########
File path: website/www/site/content/en/powered-by/open-source/scio.md
##########
@@ -0,0 +1,20 @@
+---
+title: "Scio"
+type: open-source
+categories:
+ - Open Source Projects Powered by Apache Beam
+icon: /images/logos/powered-by/scio.png
+---
+<!--
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+-->
Review comment:
> Another issue I just noticed in the [staged website](http://apache-beam-website-pull-requests.storage.googleapis.com/13858/index.html), the footer is centered:
> 
Merge of website-revamp fixed this
##########
File path: website/www/site/layouts/partials/section-menu/en/contribute.html
##########
@@ -13,6 +13,7 @@
<li><span class="section-nav-list-main-title">Contribute</span></li>
<li><a href="/contribute/">Get started contributing</a></li>
<li><a href="/contribute/get-help/">Get Help</a></li>
+<li><a href="/contribute/practises/">Beam community's practises</a></li>
Review comment:
okay
##########
File path: website/www/site/content/en/documentation/runners/capability-matrix/_index.md
##########
@@ -22,21 +23,17 @@ limitations under the License.
# Beam Capability Matrix
Apache Beam provides a portable API layer for building sophisticated data-parallel processing pipelines that may be executed across a diversity of execution engines, or <i>runners</i>. The core concepts of this layer are based upon the Beam Model (formerly referred to as the [Dataflow Model](https://www.vldb.org/pvldb/vol8/p1792-Akidau.pdf)), and implemented to varying degrees in each Beam runner. To help clarify the capabilities of individual runners, we've created the capability matrix below.
Review comment:
okay
##########
File path: website/www/site/content/en/documentation/runners/capability-matrix/additional-common-features-not-yet-part-of-the-beam-model.md
##########
@@ -0,0 +1,24 @@
+---
+type: runners
+title: "Additional common features not yet part of the Beam model"
+layout: "capability-template"
+aliases:
+ - /learn/runners/capability-matrix/
+ - /capability-matrix/
Review comment:
yes, ur right I deleted it
##########
File path: website/www/site/data/en/powered-by.yaml
##########
@@ -0,0 +1,22 @@
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+- title: Commercial projects
+ body: Learn how the companies use Apache Beam and make their work easier.
+ icon: /icons/commercial-icon.svg
+ link: /powered-by/commercial
+- title: Open source projects
+ body: Learn how the companies use Apache Beam and make their work easier.
Review comment:
Yes, I think so, there isn't any in TDD for these cards
##########
File path: website/www/site/content/en/documentation/runners/basics.md
##########
@@ -0,0 +1,193 @@
+---
+title: "Basics of the Beam model"
+---
+<!--
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+-->
+
+# Basics of the Beam model
+
+Suppose you have a data processing engine that can pretty easily process graphs
+of operations. You want to integrate it with the Beam ecosystem to get access
+to other languages, great event time processing, and a library of connectors.
+You need to know the core vocabulary:
+
+ * [_Pipeline_](#pipeline) - A pipeline is a graph of transformations that a user constructs
+ that defines the data processing they want to do.
+ * [_PCollection_](#pcollections) - Data being processed in a pipeline is part of a PCollection.
+ * [_PTransforms_](#ptransforms) - The operations executed within a pipeline. These are best
+ thought of as operations on PCollections.
+ * _SDK_ - A language-specific library for pipeline authors (we often call them
+ "users" even though we have many kinds of users) to build transforms,
+ construct their pipelines and submit them to a runner
+ * _Runner_ - You are going to write a piece of software called a runner that
+ takes a Beam pipeline and executes it using the capabilities of your data
+ processing engine.
+
+These concepts may be very similar to your processing engine's concepts. Since
+Beam's design is for cross-language operation and reusable libraries of
+transforms, there are some special features worth highlighting.
+
+### Pipeline
+
+A pipeline in Beam is a graph of PTransforms operating on PCollections. A
+pipeline is constructed by a user in their SDK of choice, and makes its way to
+your runner either via the SDK directly or via the Runner API's (forthcoming)
+RPC interfaces.
+
+### PTransforms
+
+In Beam, a PTransform can be one of the five primitives or it can be a
+composite transform encapsulating a subgraph. The primitives are:
+
+ * [_Read_](#implementing-the-read-primitive) - parallel connectors to external
+ systems
+ * [_ParDo_](#implementing-the-pardo-primitive) - per element processing
+ * [_GroupByKey_](#implementing-the-groupbykey-and-window-primitive) -
+ aggregating elements per key and window
+ * [_Flatten_](#implementing-the-flatten-primitive) - union of PCollections
+ * [_Window_](#implementing-the-window-primitive) - set the windowing strategy
+ for a PCollection
+
+When implementing a runner, these are the operations you need to implement.
+Composite transforms may or may not be important to your runner. If you expose
+a UI, maintaining some of the composite structure will make the pipeline easier
+for a user to understand. But the result of processing is not changed.
+
+### PCollections
+
+A PCollection is an unordered bag of elements. Your runner will be responsible
+for storing these elements. There are some major aspects of a PCollection to
+note:
+
+#### Bounded vs Unbounded
+
+A PCollection may be bounded or unbounded.
+
+ - _Bounded_ - it is finite and you know it, as in batch use cases
+ - _Unbounded_ - it may be never end, you don't know, as in streaming use cases
+
+These derive from the intuitions of batch and stream processing, but the two
+are unified in Beam and bounded and unbounded PCollections can coexist in the
+same pipeline. If your runner can only support bounded PCollections, you'll
+need to reject pipelines that contain unbounded PCollections. If your
+runner is only really targeting streams, there are adapters in our support code
+to convert everything to APIs targeting unbounded data.
+
+#### Timestamps
+
+Every element in a PCollection has a timestamp associated with it.
+
+When you execute a primitive connector to some storage system, that connector
+is responsible for providing initial timestamps. Your runner will need to
+propagate and aggregate timestamps. If the timestamp is not important, as with
+certain batch processing jobs where elements do not denote events, they will be
+the minimum representable timestamp, often referred to colloquially as
+"negative infinity".
+
+#### Watermarks
+
+Every PCollection has to have a watermark that estimates how complete the
+PCollection is.
+
+The watermark is a guess that "we'll never see an element with an earlier
+timestamp". Sources of data are responsible for producing a watermark. Your
+runner needs to implement watermark propagation as PCollections are processed,
+merged, and partitioned.
+
+The contents of a PCollection are complete when a watermark advances to
+"infinity". In this manner, you may discover that an unbounded PCollection is
+finite.
+
+#### Windowed elements
+
+Every element in a PCollection resides in a window. No element resides in
+multiple windows (two elements can be equal except for their window, but they
+are not the same).
+
+When elements are read from the outside world they arrive in the global window.
+When they are written to the outside world, they are effectively placed back
+into the global window (any writing transform that doesn't take this
+perspective probably risks data loss).
+
+A window has a maximum timestamp, and when the watermark exceeds this plus
+user-specified allowed lateness the window is expired. All data related
+to an expired window may be discarded at any time.
+
+#### Coder
+
+Every PCollection has a coder, a specification of the binary format of the elements.
+
+In Beam, the user's pipeline may be written in a language other than the
+language of the runner. There is no expectation that the runner can actually
+deserialize user data. So the Beam model operates principally on encoded data -
+"just bytes". Each PCollection has a declared encoding for its elements, called
+a coder. A coder has a URN that identifies the encoding, and may have
+additional sub-coders (for example, a coder for lists may contain a coder for
+the elements of the list). Language-specific serialization techniques can, and
+frequently are used, but there are a few key formats - such as key-value pairs
+and timestamps - that are common so your runner can understand them.
+
+#### Windowing Strategy
+
+Every PCollection has a windowing strategy, a specification of essential
+information for grouping and triggering operations.
+
+The details will be discussed below when we discuss the
+[Window](#implementing-the-window-primitive) primitive, which sets up the
+windowing strategy, and
+[GroupByKey](#implementing-the-groupbykey-and-window-primitive) primitive,
+which has behavior governed by the windowing strategy.
+
+### User-Defined Functions (UDFs)
+
+Beam has seven varieties of user-defined function (UDF). A Beam pipeline
+may contain UDFs written in a language other than your runner, or even multiple
+languages in the same pipeline (see the [Runner API](#the-runner-api)) so the
+definitions are language-independent (see the [Fn API](#the-fn-api)).
+
+The UDFs of Beam are:
+
+ * _DoFn_ - per-element processing function (used in ParDo)
+ * _WindowFn_ - places elements in windows and merges windows (used in Window
+ and GroupByKey)
+ * _Source_ - emits data read from external sources, including initial and
+ dynamic splitting for parallelism (used in Read)
+ * _ViewFn_ - adapts a materialized PCollection to a particular interface (used
+ in side inputs)
+ * _WindowMappingFn_ - maps one element's window to another, and specifies
+ bounds on how far in the past the result window will be (used in side
+ inputs)
+ * _CombineFn_ - associative and commutative aggregation (used in Combine and
+ state)
+ * _Coder_ - encodes user data; some coders have standard formats and are not really UDFs
+
+The various types of user-defined functions will be described further alongside
+the primitives that use them.
+
+### Runner
+
+The term "runner" is used for a couple of things. It generally refers to the
+software that takes a Beam pipeline and executes it somehow. Often, this is the
+translation code that you write. It usually also includes some customized
+operators for your data processing engine, and is sometimes used to refer to
+the full stack.
+
+A runner has just a single method `run(Pipeline)`. From here on, I will often
+use code font for proper nouns in our APIs, whether or not the identifiers
+match across all SDKs.
+
+The `run(Pipeline)` method should be asynchronous and results in a
+PipelineResult which generally will be a job descriptor for your data
+processing engine, providing methods for checking its status, canceling it, and
+waiting for it to terminate.
Review comment:
Yes this was cut from runner-guide, I just pushed fixed runner-guide
##########
File path: website/www/site/layouts/shortcodes/documentation/capability-matrix-single.html
##########
@@ -0,0 +1,101 @@
+{{/*
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+ http://www.apache.org/licenses/LICENSE-2.0
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License. See accompanying LICENSE file.
+*/}}
+{{ $cap_view := .Get "cap-view" }}
+{{ $cap_data := index $.Site.Data.capability_matrix (.Get "cap-data") }}
+{{ if eq (.Get "cap-data") "capability-matrix-snapshot" }}
+ {{ $cap_data = index $.Site.Data.capability_matrix_snapshot (.Get "cap-data") }}
+{{ end }}
+
+
+<div class="information-container">
+ <div>
+ <h5>How to read the tables</h5>
+ <table class="read-tables">
+ <tr>
+ <th></th>
+ <th class="border-left">Tools we are comparing</th>
+ </tr>
+ <tr class="border-top">
+ <td class="border-right">Properties</td>
+ <td style="border-left: 3px solid #ff6d05">
+ Does this tool have this property?<span>Yes/Partially/No</span>
+ </td>
+ </tr>
+ </table>
+ </div>
+ <div class="second-container">
+ <h5>What do those signs mean?</h5>
+ <div class="row">
+ <div class="box white">✓</div>
+ <div>Yes</div>
+ </div>
+ <div class="row">
+ <div class="box partial">~</div>
+ <div>Partially</div>
+ </div>
+ <div class="row">
+ <div class="box gray">✕</div>
+ <div>No</div>
+ </div>
+ </div>
+</div>
+{{ range $category := $cap_data.categories }}
+ <h4>{{ $category.description }}</h4>
+ <div class="table-container">
+ <div class="table-left">
+ <table>
+ <tr>
+ <th></th>
+ </tr>
+ {{ range $row := $category.rows }}
+ <tr>
+ <th>{{ $row.name }}</th>
+ </tr>
+ {{ end }}
+ </table>
+ </div>
+ <div class="table-right">
+ <div id="{{ $category.description | urlize }}" class="table-headers">
+ <table>
+ <tr>
+ {{ range $column := $cap_data.columns }}
+ <th>{{ $column.name }}</th>
+ {{ end }}
+ </tr>
+ </table>
+ </div>
+ <div id="{{ $category.description | urlize }}" class="table-center">
+ <table>
+ {{ range $row := $category.rows }}
+ <tr>
+ {{ range $val := $row.values }}
+ <td style='background-color:#{{ if eq $val.l1 "Yes" }}{{ index $category "color-y" }}{{ else if eq $val.l1 "Partially" }}{{ index $category "color-p" }}{{ else }}{{ index $category "color-n" }}{{ end }};border-color:#{{ if eq $val.l1 "Yes" }}{{ index $category "color-yb" }}{{ else if eq $val.l1 "Partially" }}{{ index $category "color-pb" }}{{ else }}{{ index $category "color-nb" }}{{ end }}'>
+ {{ partial "documentation/capability-matrix-row" (dict "type" $cap_view "val" $val) }}
+ </td>
+ {{ end }}
+ </tr>
+ {{ end }}
+ </table>
+ </div>
+ </div>
+ </div>
Review comment:
hmm it's weird these headers and columns are synchronized with js, there is a little delay but something like above never happend before, not in my browser localy and not during the tests also, I will try to repeat this situation. Do you think it can be because of the way the build is made here?
##########
File path: website/www/site/layouts/partials/section-menu/en/contribute.html
##########
@@ -13,6 +13,7 @@
<li><span class="section-nav-list-main-title">Contribute</span></li>
<li><a href="/contribute/">Get started contributing</a></li>
<li><a href="/contribute/get-help/">Get Help</a></li>
+<li><a href="/contribute/practises/">Beam community's practises</a></li>
Review comment:
done
##########
File path: website/www/site/content/en/documentation/runners/capability-matrix/_index.md
##########
@@ -22,21 +23,17 @@ limitations under the License.
# Beam Capability Matrix
Apache Beam provides a portable API layer for building sophisticated data-parallel processing pipelines that may be executed across a diversity of execution engines, or <i>runners</i>. The core concepts of this layer are based upon the Beam Model (formerly referred to as the [Dataflow Model](https://www.vldb.org/pvldb/vol8/p1792-Akidau.pdf)), and implemented to varying degrees in each Beam runner. To help clarify the capabilities of individual runners, we've created the capability matrix below.
Review comment:
done
##########
File path: website/www/site/content/en/documentation/runners/capability-matrix/additional-common-features-not-yet-part-of-the-beam-model.md
##########
@@ -0,0 +1,24 @@
+---
+type: runners
+title: "Additional common features not yet part of the Beam model"
+layout: "capability-template"
+aliases:
+ - /learn/runners/capability-matrix/
+ - /capability-matrix/
Review comment:
done
##########
File path: website/www/site/content/en/documentation/runners/basics.md
##########
@@ -0,0 +1,193 @@
+---
+title: "Basics of the Beam model"
+---
+<!--
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+-->
+
+# Basics of the Beam model
+
+Suppose you have a data processing engine that can pretty easily process graphs
+of operations. You want to integrate it with the Beam ecosystem to get access
+to other languages, great event time processing, and a library of connectors.
+You need to know the core vocabulary:
+
+ * [_Pipeline_](#pipeline) - A pipeline is a graph of transformations that a user constructs
+ that defines the data processing they want to do.
+ * [_PCollection_](#pcollections) - Data being processed in a pipeline is part of a PCollection.
+ * [_PTransforms_](#ptransforms) - The operations executed within a pipeline. These are best
+ thought of as operations on PCollections.
+ * _SDK_ - A language-specific library for pipeline authors (we often call them
+ "users" even though we have many kinds of users) to build transforms,
+ construct their pipelines and submit them to a runner
+ * _Runner_ - You are going to write a piece of software called a runner that
+ takes a Beam pipeline and executes it using the capabilities of your data
+ processing engine.
+
+These concepts may be very similar to your processing engine's concepts. Since
+Beam's design is for cross-language operation and reusable libraries of
+transforms, there are some special features worth highlighting.
+
+### Pipeline
+
+A pipeline in Beam is a graph of PTransforms operating on PCollections. A
+pipeline is constructed by a user in their SDK of choice, and makes its way to
+your runner either via the SDK directly or via the Runner API's (forthcoming)
+RPC interfaces.
+
+### PTransforms
+
+In Beam, a PTransform can be one of the five primitives or it can be a
+composite transform encapsulating a subgraph. The primitives are:
+
+ * [_Read_](#implementing-the-read-primitive) - parallel connectors to external
+ systems
+ * [_ParDo_](#implementing-the-pardo-primitive) - per element processing
+ * [_GroupByKey_](#implementing-the-groupbykey-and-window-primitive) -
+ aggregating elements per key and window
+ * [_Flatten_](#implementing-the-flatten-primitive) - union of PCollections
+ * [_Window_](#implementing-the-window-primitive) - set the windowing strategy
+ for a PCollection
+
+When implementing a runner, these are the operations you need to implement.
+Composite transforms may or may not be important to your runner. If you expose
+a UI, maintaining some of the composite structure will make the pipeline easier
+for a user to understand. But the result of processing is not changed.
+
+### PCollections
+
+A PCollection is an unordered bag of elements. Your runner will be responsible
+for storing these elements. There are some major aspects of a PCollection to
+note:
+
+#### Bounded vs Unbounded
+
+A PCollection may be bounded or unbounded.
+
+ - _Bounded_ - it is finite and you know it, as in batch use cases
+ - _Unbounded_ - it may be never end, you don't know, as in streaming use cases
+
+These derive from the intuitions of batch and stream processing, but the two
+are unified in Beam and bounded and unbounded PCollections can coexist in the
+same pipeline. If your runner can only support bounded PCollections, you'll
+need to reject pipelines that contain unbounded PCollections. If your
+runner is only really targeting streams, there are adapters in our support code
+to convert everything to APIs targeting unbounded data.
+
+#### Timestamps
+
+Every element in a PCollection has a timestamp associated with it.
+
+When you execute a primitive connector to some storage system, that connector
+is responsible for providing initial timestamps. Your runner will need to
+propagate and aggregate timestamps. If the timestamp is not important, as with
+certain batch processing jobs where elements do not denote events, they will be
+the minimum representable timestamp, often referred to colloquially as
+"negative infinity".
+
+#### Watermarks
+
+Every PCollection has to have a watermark that estimates how complete the
+PCollection is.
+
+The watermark is a guess that "we'll never see an element with an earlier
+timestamp". Sources of data are responsible for producing a watermark. Your
+runner needs to implement watermark propagation as PCollections are processed,
+merged, and partitioned.
+
+The contents of a PCollection are complete when a watermark advances to
+"infinity". In this manner, you may discover that an unbounded PCollection is
+finite.
+
+#### Windowed elements
+
+Every element in a PCollection resides in a window. No element resides in
+multiple windows (two elements can be equal except for their window, but they
+are not the same).
+
+When elements are read from the outside world they arrive in the global window.
+When they are written to the outside world, they are effectively placed back
+into the global window (any writing transform that doesn't take this
+perspective probably risks data loss).
+
+A window has a maximum timestamp, and when the watermark exceeds this plus
+user-specified allowed lateness the window is expired. All data related
+to an expired window may be discarded at any time.
+
+#### Coder
+
+Every PCollection has a coder, a specification of the binary format of the elements.
+
+In Beam, the user's pipeline may be written in a language other than the
+language of the runner. There is no expectation that the runner can actually
+deserialize user data. So the Beam model operates principally on encoded data -
+"just bytes". Each PCollection has a declared encoding for its elements, called
+a coder. A coder has a URN that identifies the encoding, and may have
+additional sub-coders (for example, a coder for lists may contain a coder for
+the elements of the list). Language-specific serialization techniques can, and
+frequently are used, but there are a few key formats - such as key-value pairs
+and timestamps - that are common so your runner can understand them.
+
+#### Windowing Strategy
+
+Every PCollection has a windowing strategy, a specification of essential
+information for grouping and triggering operations.
+
+The details will be discussed below when we discuss the
+[Window](#implementing-the-window-primitive) primitive, which sets up the
+windowing strategy, and
+[GroupByKey](#implementing-the-groupbykey-and-window-primitive) primitive,
+which has behavior governed by the windowing strategy.
+
+### User-Defined Functions (UDFs)
+
+Beam has seven varieties of user-defined function (UDF). A Beam pipeline
+may contain UDFs written in a language other than your runner, or even multiple
+languages in the same pipeline (see the [Runner API](#the-runner-api)) so the
+definitions are language-independent (see the [Fn API](#the-fn-api)).
+
+The UDFs of Beam are:
+
+ * _DoFn_ - per-element processing function (used in ParDo)
+ * _WindowFn_ - places elements in windows and merges windows (used in Window
+ and GroupByKey)
+ * _Source_ - emits data read from external sources, including initial and
+ dynamic splitting for parallelism (used in Read)
+ * _ViewFn_ - adapts a materialized PCollection to a particular interface (used
+ in side inputs)
+ * _WindowMappingFn_ - maps one element's window to another, and specifies
+ bounds on how far in the past the result window will be (used in side
+ inputs)
+ * _CombineFn_ - associative and commutative aggregation (used in Combine and
+ state)
+ * _Coder_ - encodes user data; some coders have standard formats and are not really UDFs
+
+The various types of user-defined functions will be described further alongside
+the primitives that use them.
+
+### Runner
+
+The term "runner" is used for a couple of things. It generally refers to the
+software that takes a Beam pipeline and executes it somehow. Often, this is the
+translation code that you write. It usually also includes some customized
+operators for your data processing engine, and is sometimes used to refer to
+the full stack.
+
+A runner has just a single method `run(Pipeline)`. From here on, I will often
+use code font for proper nouns in our APIs, whether or not the identifiers
+match across all SDKs.
+
+The `run(Pipeline)` method should be asynchronous and results in a
+PipelineResult which generally will be a job descriptor for your data
+processing engine, providing methods for checking its status, canceling it, and
+waiting for it to terminate.
Review comment:
yes, it was cut from runners guide
##########
File path: website/www/site/data/en/powered-by.yaml
##########
@@ -0,0 +1,22 @@
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+- title: Commercial projects
+ body: Learn how the companies use Apache Beam and make their work easier.
+ icon: /icons/commercial-icon.svg
+ link: /powered-by/commercial
+- title: Open source projects
+ body: Learn how the companies use Apache Beam and make their work easier.
Review comment:
Propably yes
##########
File path: website/www/site/layouts/shortcodes/documentation/capability-matrix-single.html
##########
@@ -0,0 +1,101 @@
+{{/*
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+ http://www.apache.org/licenses/LICENSE-2.0
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License. See accompanying LICENSE file.
+*/}}
+{{ $cap_view := .Get "cap-view" }}
+{{ $cap_data := index $.Site.Data.capability_matrix (.Get "cap-data") }}
+{{ if eq (.Get "cap-data") "capability-matrix-snapshot" }}
+ {{ $cap_data = index $.Site.Data.capability_matrix_snapshot (.Get "cap-data") }}
+{{ end }}
+
+
+<div class="information-container">
+ <div>
+ <h5>How to read the tables</h5>
+ <table class="read-tables">
+ <tr>
+ <th></th>
+ <th class="border-left">Tools we are comparing</th>
+ </tr>
+ <tr class="border-top">
+ <td class="border-right">Properties</td>
+ <td style="border-left: 3px solid #ff6d05">
+ Does this tool have this property?<span>Yes/Partially/No</span>
+ </td>
+ </tr>
+ </table>
+ </div>
+ <div class="second-container">
+ <h5>What do those signs mean?</h5>
+ <div class="row">
+ <div class="box white">✓</div>
+ <div>Yes</div>
+ </div>
+ <div class="row">
+ <div class="box partial">~</div>
+ <div>Partially</div>
+ </div>
+ <div class="row">
+ <div class="box gray">✕</div>
+ <div>No</div>
+ </div>
+ </div>
+</div>
+{{ range $category := $cap_data.categories }}
+ <h4>{{ $category.description }}</h4>
+ <div class="table-container">
+ <div class="table-left">
+ <table>
+ <tr>
+ <th></th>
+ </tr>
+ {{ range $row := $category.rows }}
+ <tr>
+ <th>{{ $row.name }}</th>
+ </tr>
+ {{ end }}
+ </table>
+ </div>
+ <div class="table-right">
+ <div id="{{ $category.description | urlize }}" class="table-headers">
+ <table>
+ <tr>
+ {{ range $column := $cap_data.columns }}
+ <th>{{ $column.name }}</th>
+ {{ end }}
+ </tr>
+ </table>
+ </div>
+ <div id="{{ $category.description | urlize }}" class="table-center">
+ <table>
+ {{ range $row := $category.rows }}
+ <tr>
+ {{ range $val := $row.values }}
+ <td style='background-color:#{{ if eq $val.l1 "Yes" }}{{ index $category "color-y" }}{{ else if eq $val.l1 "Partially" }}{{ index $category "color-p" }}{{ else }}{{ index $category "color-n" }}{{ end }};border-color:#{{ if eq $val.l1 "Yes" }}{{ index $category "color-yb" }}{{ else if eq $val.l1 "Partially" }}{{ index $category "color-pb" }}{{ else }}{{ index $category "color-nb" }}{{ end }}'>
+ {{ partial "documentation/capability-matrix-row" (dict "type" $cap_view "val" $val) }}
+ </td>
+ {{ end }}
+ </tr>
+ {{ end }}
+ </table>
+ </div>
+ </div>
+ </div>
Review comment:
Okay it's happening when we open a console in browser, I still don't know why but until then everything goes smoothly
##########
File path: website/www/site/layouts/shortcodes/documentation/capability-matrix-single.html
##########
@@ -0,0 +1,101 @@
+{{/*
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+ http://www.apache.org/licenses/LICENSE-2.0
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License. See accompanying LICENSE file.
+*/}}
+{{ $cap_view := .Get "cap-view" }}
+{{ $cap_data := index $.Site.Data.capability_matrix (.Get "cap-data") }}
+{{ if eq (.Get "cap-data") "capability-matrix-snapshot" }}
+ {{ $cap_data = index $.Site.Data.capability_matrix_snapshot (.Get "cap-data") }}
+{{ end }}
+
+
+<div class="information-container">
+ <div>
+ <h5>How to read the tables</h5>
+ <table class="read-tables">
+ <tr>
+ <th></th>
+ <th class="border-left">Tools we are comparing</th>
+ </tr>
+ <tr class="border-top">
+ <td class="border-right">Properties</td>
+ <td style="border-left: 3px solid #ff6d05">
+ Does this tool have this property?<span>Yes/Partially/No</span>
+ </td>
+ </tr>
+ </table>
+ </div>
+ <div class="second-container">
+ <h5>What do those signs mean?</h5>
+ <div class="row">
+ <div class="box white">✓</div>
+ <div>Yes</div>
+ </div>
+ <div class="row">
+ <div class="box partial">~</div>
+ <div>Partially</div>
+ </div>
+ <div class="row">
+ <div class="box gray">✕</div>
+ <div>No</div>
+ </div>
+ </div>
+</div>
+{{ range $category := $cap_data.categories }}
+ <h4>{{ $category.description }}</h4>
+ <div class="table-container">
+ <div class="table-left">
+ <table>
+ <tr>
+ <th></th>
+ </tr>
+ {{ range $row := $category.rows }}
+ <tr>
+ <th>{{ $row.name }}</th>
+ </tr>
+ {{ end }}
+ </table>
+ </div>
+ <div class="table-right">
+ <div id="{{ $category.description | urlize }}" class="table-headers">
+ <table>
+ <tr>
+ {{ range $column := $cap_data.columns }}
+ <th>{{ $column.name }}</th>
+ {{ end }}
+ </tr>
+ </table>
+ </div>
+ <div id="{{ $category.description | urlize }}" class="table-center">
+ <table>
+ {{ range $row := $category.rows }}
+ <tr>
+ {{ range $val := $row.values }}
+ <td style='background-color:#{{ if eq $val.l1 "Yes" }}{{ index $category "color-y" }}{{ else if eq $val.l1 "Partially" }}{{ index $category "color-p" }}{{ else }}{{ index $category "color-n" }}{{ end }};border-color:#{{ if eq $val.l1 "Yes" }}{{ index $category "color-yb" }}{{ else if eq $val.l1 "Partially" }}{{ index $category "color-pb" }}{{ else }}{{ index $category "color-nb" }}{{ end }}'>
+ {{ partial "documentation/capability-matrix-row" (dict "type" $cap_view "val" $val) }}
+ </td>
+ {{ end }}
+ </tr>
+ {{ end }}
+ </table>
+ </div>
+ </div>
+ </div>
Review comment:
Okay I changed the function, there is little difference, pls check if u can repeat situation from above
##########
File path: website/www/site/content/en/documentation/runners/basics.md
##########
@@ -0,0 +1,193 @@
+---
+title: "Basics of the Beam model"
+---
+<!--
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+-->
+
+# Basics of the Beam model
Review comment:
done
##########
File path: website/www/site/content/en/contribute/runner-guide.md
##########
@@ -27,183 +27,6 @@ Topics covered:
{{< toc >}}
-## Basics of the Beam model
-
-Suppose you have a data processing engine that can pretty easily process graphs
-of operations. You want to integrate it with the Beam ecosystem to get access
-to other languages, great event time processing, and a library of connectors.
-You need to know the core vocabulary:
-
- * [_Pipeline_](#pipeline) - A pipeline is a graph of transformations that a user constructs
- that defines the data processing they want to do.
- * [_PCollection_](#pcollections) - Data being processed in a pipeline is part of a PCollection.
- * [_PTransforms_](#ptransforms) - The operations executed within a pipeline. These are best
- thought of as operations on PCollections.
- * _SDK_ - A language-specific library for pipeline authors (we often call them
- "users" even though we have many kinds of users) to build transforms,
- construct their pipelines and submit them to a runner
- * _Runner_ - You are going to write a piece of software called a runner that
- takes a Beam pipeline and executes it using the capabilities of your data
- processing engine.
-
-These concepts may be very similar to your processing engine's concepts. Since
-Beam's design is for cross-language operation and reusable libraries of
-transforms, there are some special features worth highlighting.
-
-### Pipeline
-
-A pipeline in Beam is a graph of PTransforms operating on PCollections. A
-pipeline is constructed by a user in their SDK of choice, and makes its way to
-your runner either via the SDK directly or via the Runner API's (forthcoming)
-RPC interfaces.
-
-### PTransforms
-
-In Beam, a PTransform can be one of the five primitives or it can be a
-composite transform encapsulating a subgraph. The primitives are:
-
- * [_Read_](#implementing-the-read-primitive) - parallel connectors to external
- systems
- * [_ParDo_](#implementing-the-pardo-primitive) - per element processing
- * [_GroupByKey_](#implementing-the-groupbykey-and-window-primitive) -
- aggregating elements per key and window
- * [_Flatten_](#implementing-the-flatten-primitive) - union of PCollections
- * [_Window_](#implementing-the-window-primitive) - set the windowing strategy
- for a PCollection
-
-When implementing a runner, these are the operations you need to implement.
-Composite transforms may or may not be important to your runner. If you expose
-a UI, maintaining some of the composite structure will make the pipeline easier
-for a user to understand. But the result of processing is not changed.
-
-### PCollections
-
-A PCollection is an unordered bag of elements. Your runner will be responsible
-for storing these elements. There are some major aspects of a PCollection to
-note:
-
-#### Bounded vs Unbounded
-
-A PCollection may be bounded or unbounded.
-
- - _Bounded_ - it is finite and you know it, as in batch use cases
- - _Unbounded_ - it may be never end, you don't know, as in streaming use cases
-
-These derive from the intuitions of batch and stream processing, but the two
-are unified in Beam and bounded and unbounded PCollections can coexist in the
-same pipeline. If your runner can only support bounded PCollections, you'll
-need to reject pipelines that contain unbounded PCollections. If your
-runner is only really targeting streams, there are adapters in our support code
-to convert everything to APIs targeting unbounded data.
-
-#### Timestamps
-
-Every element in a PCollection has a timestamp associated with it.
-
-When you execute a primitive connector to some storage system, that connector
-is responsible for providing initial timestamps. Your runner will need to
-propagate and aggregate timestamps. If the timestamp is not important, as with
-certain batch processing jobs where elements do not denote events, they will be
-the minimum representable timestamp, often referred to colloquially as
-"negative infinity".
-
-#### Watermarks
-
-Every PCollection has to have a watermark that estimates how complete the
-PCollection is.
-
-The watermark is a guess that "we'll never see an element with an earlier
-timestamp". Sources of data are responsible for producing a watermark. Your
-runner needs to implement watermark propagation as PCollections are processed,
-merged, and partitioned.
-
-The contents of a PCollection are complete when a watermark advances to
-"infinity". In this manner, you may discover that an unbounded PCollection is
-finite.
-
-#### Windowed elements
-
-Every element in a PCollection resides in a window. No element resides in
-multiple windows (two elements can be equal except for their window, but they
-are not the same).
-
-When elements are read from the outside world they arrive in the global window.
-When they are written to the outside world, they are effectively placed back
-into the global window (any writing transform that doesn't take this
-perspective probably risks data loss).
-
-A window has a maximum timestamp, and when the watermark exceeds this plus
-user-specified allowed lateness the window is expired. All data related
-to an expired window may be discarded at any time.
-
-#### Coder
-
-Every PCollection has a coder, a specification of the binary format of the elements.
-
-In Beam, the user's pipeline may be written in a language other than the
-language of the runner. There is no expectation that the runner can actually
-deserialize user data. So the Beam model operates principally on encoded data -
-"just bytes". Each PCollection has a declared encoding for its elements, called
-a coder. A coder has a URN that identifies the encoding, and may have
-additional sub-coders (for example, a coder for lists may contain a coder for
-the elements of the list). Language-specific serialization techniques can, and
-frequently are used, but there are a few key formats - such as key-value pairs
-and timestamps - that are common so your runner can understand them.
-
-#### Windowing Strategy
-
-Every PCollection has a windowing strategy, a specification of essential
-information for grouping and triggering operations.
-
-The details will be discussed below when we discuss the
-[Window](#implementing-the-window-primitive) primitive, which sets up the
-windowing strategy, and
-[GroupByKey](#implementing-the-groupbykey-and-window-primitive) primitive,
-which has behavior governed by the windowing strategy.
-
-### User-Defined Functions (UDFs)
-
-Beam has seven varieties of user-defined function (UDF). A Beam pipeline
-may contain UDFs written in a language other than your runner, or even multiple
-languages in the same pipeline (see the [Runner API](#the-runner-api)) so the
-definitions are language-independent (see the [Fn API](#the-fn-api)).
-
-The UDFs of Beam are:
-
- * _DoFn_ - per-element processing function (used in ParDo)
- * _WindowFn_ - places elements in windows and merges windows (used in Window
- and GroupByKey)
- * _Source_ - emits data read from external sources, including initial and
- dynamic splitting for parallelism (used in Read)
- * _ViewFn_ - adapts a materialized PCollection to a particular interface (used
- in side inputs)
- * _WindowMappingFn_ - maps one element's window to another, and specifies
- bounds on how far in the past the result window will be (used in side
- inputs)
- * _CombineFn_ - associative and commutative aggregation (used in Combine and
- state)
- * _Coder_ - encodes user data; some coders have standard formats and are not really UDFs
-
-The various types of user-defined functions will be described further alongside
-the primitives that use them.
-
-### Runner
-
-The term "runner" is used for a couple of things. It generally refers to the
-software that takes a Beam pipeline and executes it somehow. Often, this is the
-translation code that you write. It usually also includes some customized
-operators for your data processing engine, and is sometimes used to refer to
-the full stack.
-
-A runner has just a single method `run(Pipeline)`. From here on, I will often
-use code font for proper nouns in our APIs, whether or not the identifiers
-match across all SDKs.
-
-The `run(Pipeline)` method should be asynchronous and results in a
-PipelineResult which generally will be a job descriptor for your data
-processing engine, providing methods for checking its status, canceling it, and
-waiting for it to terminate.
-
Review comment:
okay
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [beam] Jakub-Sadowski commented on a change in pull request #13858: [BEAM-11618-11619-11605-11468-][Website revamp]Implemented capability matrix, powered by, beam practises, feedback component
Posted by GitBox <gi...@apache.org>.
Jakub-Sadowski commented on a change in pull request #13858:
URL: https://github.com/apache/beam/pull/13858#discussion_r570496641
##########
File path: website/www/site/content/en/documentation/runners/capability-matrix/additional-common-features-not-yet-part-of-the-beam-model.md
##########
@@ -0,0 +1,24 @@
+---
+type: runners
+title: "Additional common features not yet part of the Beam model"
+layout: "capability-template"
+aliases:
+ - /learn/runners/capability-matrix/
+ - /capability-matrix/
Review comment:
yes, ur right I deleted it
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [beam] Jakub-Sadowski commented on a change in pull request #13858: [BEAM-11618-11619-11605-11468-][Website revamp]Implemented capability matrix, powered by, beam practises, feedback component
Posted by GitBox <gi...@apache.org>.
Jakub-Sadowski commented on a change in pull request #13858:
URL: https://github.com/apache/beam/pull/13858#discussion_r570495983
##########
File path: website/www/site/content/en/documentation/runners/capability-matrix/_index.md
##########
@@ -22,21 +23,17 @@ limitations under the License.
# Beam Capability Matrix
Apache Beam provides a portable API layer for building sophisticated data-parallel processing pipelines that may be executed across a diversity of execution engines, or <i>runners</i>. The core concepts of this layer are based upon the Beam Model (formerly referred to as the [Dataflow Model](https://www.vldb.org/pvldb/vol8/p1792-Akidau.pdf)), and implemented to varying degrees in each Beam runner. To help clarify the capabilities of individual runners, we've created the capability matrix below.
Review comment:
okay
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [beam] TheNeuralBit commented on a change in pull request #13858: [BEAM-11618-11619-11605-11468-][Website revamp]Implemented capability matrix, powered by, beam practises, feedback component
Posted by GitBox <gi...@apache.org>.
TheNeuralBit commented on a change in pull request #13858:
URL: https://github.com/apache/beam/pull/13858#discussion_r570442889
##########
File path: website/www/site/layouts/shortcodes/documentation/capability-matrix-single.html
##########
@@ -0,0 +1,101 @@
+{{/*
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+ http://www.apache.org/licenses/LICENSE-2.0
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License. See accompanying LICENSE file.
+*/}}
+{{ $cap_view := .Get "cap-view" }}
+{{ $cap_data := index $.Site.Data.capability_matrix (.Get "cap-data") }}
+{{ if eq (.Get "cap-data") "capability-matrix-snapshot" }}
+ {{ $cap_data = index $.Site.Data.capability_matrix_snapshot (.Get "cap-data") }}
+{{ end }}
+
+
+<div class="information-container">
+ <div>
+ <h5>How to read the tables</h5>
+ <table class="read-tables">
+ <tr>
+ <th></th>
+ <th class="border-left">Tools we are comparing</th>
+ </tr>
+ <tr class="border-top">
+ <td class="border-right">Properties</td>
+ <td style="border-left: 3px solid #ff6d05">
+ Does this tool have this property?<span>Yes/Partially/No</span>
+ </td>
+ </tr>
+ </table>
+ </div>
+ <div class="second-container">
+ <h5>What do those signs mean?</h5>
+ <div class="row">
+ <div class="box white">✓</div>
+ <div>Yes</div>
+ </div>
+ <div class="row">
+ <div class="box partial">~</div>
+ <div>Partially</div>
+ </div>
+ <div class="row">
+ <div class="box gray">✕</div>
+ <div>No</div>
+ </div>
+ </div>
+</div>
+{{ range $category := $cap_data.categories }}
+ <h4>{{ $category.description }}</h4>
+ <div class="table-container">
+ <div class="table-left">
+ <table>
+ <tr>
+ <th></th>
+ </tr>
+ {{ range $row := $category.rows }}
+ <tr>
+ <th>{{ $row.name }}</th>
+ </tr>
+ {{ end }}
+ </table>
+ </div>
+ <div class="table-right">
+ <div id="{{ $category.description | urlize }}" class="table-headers">
+ <table>
+ <tr>
+ {{ range $column := $cap_data.columns }}
+ <th>{{ $column.name }}</th>
+ {{ end }}
+ </tr>
+ </table>
+ </div>
+ <div id="{{ $category.description | urlize }}" class="table-center">
+ <table>
+ {{ range $row := $category.rows }}
+ <tr>
+ {{ range $val := $row.values }}
+ <td style='background-color:#{{ if eq $val.l1 "Yes" }}{{ index $category "color-y" }}{{ else if eq $val.l1 "Partially" }}{{ index $category "color-p" }}{{ else }}{{ index $category "color-n" }}{{ end }};border-color:#{{ if eq $val.l1 "Yes" }}{{ index $category "color-yb" }}{{ else if eq $val.l1 "Partially" }}{{ index $category "color-pb" }}{{ else }}{{ index $category "color-nb" }}{{ end }}'>
+ {{ partial "documentation/capability-matrix-row" (dict "type" $cap_view "val" $val) }}
+ </td>
+ {{ end }}
+ </tr>
+ {{ end }}
+ </table>
+ </div>
+ </div>
+ </div>
Review comment:
The way the capability matrix scrolls horizontally seems buggy. It's like the header and the content don't scroll at the same rate, what makes it hard to line them up. After I scrolled a little bit the table looks like this:

Where the headers are almost on the line between the columns. Do you know what's going on here?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [beam] TheNeuralBit commented on a change in pull request #13858: Website/capability powered practises
Posted by GitBox <gi...@apache.org>.
TheNeuralBit commented on a change in pull request #13858:
URL: https://github.com/apache/beam/pull/13858#discussion_r568736233
##########
File path: website/www/site/content/en/powered-by/open-source/scio.md
##########
@@ -0,0 +1,20 @@
+---
+title: "Scio"
+type: open-source
+categories:
+ - Open Source Projects Powered by Apache Beam
+icon: /images/logos/powered-by/scio.png
+---
+<!--
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+-->
Review comment:
@nevillelyh is there any chance you or someone else involved with Scio provide a blurb about it for our new "powered by" card? For reference the blurb for Klio is:
> Developed at Spotify and built on top of Apache Beam for Python, Klio is an open source framework that lets researchers and engineers build smarter data pipelines for processing audio and other media files, easily and at scale.
##########
File path: website/www/site/content/en/powered-by/open-source/scio.md
##########
@@ -0,0 +1,20 @@
+---
+title: "Scio"
+type: open-source
+categories:
+ - Open Source Projects Powered by Apache Beam
+icon: /images/logos/powered-by/scio.png
+---
+<!--
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+-->
Review comment:
@nevillelyh is there any chance you or someone else involved with Scio could provide a blurb about it for our new "powered by" card? For reference the blurb for Klio is:
> Developed at Spotify and built on top of Apache Beam for Python, Klio is an open source framework that lets researchers and engineers build smarter data pipelines for processing audio and other media files, easily and at scale.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [beam] TheNeuralBit commented on pull request #13858: Website/capability powered practises
Posted by GitBox <gi...@apache.org>.
TheNeuralBit commented on pull request #13858:
URL: https://github.com/apache/beam/pull/13858#issuecomment-771735882
> Are u sure? I just pulled this branch and capability is working fine (also incognito)
Yes I'm sure. Note I didn't pull the branch and build the website locally, I'm going off the one that the "Website Stage GCS" job built, here: http://apache-beam-website-pull-requests.storage.googleapis.com/13858/index.html
When I go to that page and click Documentation > Runners, it takes me to http://apache-beam-website-pull-requests.storage.googleapis.com/13858/documentation/runners/capability-matrix/index.html, which doesn't exist
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [beam] TheNeuralBit commented on a change in pull request #13858: Website/capability powered practises
Posted by GitBox <gi...@apache.org>.
TheNeuralBit commented on a change in pull request #13858:
URL: https://github.com/apache/beam/pull/13858#discussion_r568271751
##########
File path: website/www/site/static/images/community/messages-icon.svg
##########
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+-->
+<svg xmlns="http://www.w3.org/2000/svg" width="112" height="113" fill="none" viewBox="0 0 112 113">
+ <path fill="#FFE5D9" d="M56 112.909c30.928 0 56-25.072 56-56s-25.072-56-56-56-56 25.072-56 56 25.072 56 56 56z"/>
+ <path fill="#FF570B" fill-rule="evenodd" d="M66.616 56.598c-5.523 0-10 4.477-10 10v3.097c0 5.523 4.477 10 10 10h1.108l3.387 5.267c.397.618 1.303.61 1.69-.014l3.258-5.253h.666c5.523 0 10-4.477 10-10v-3.097c0-5.523-4.477-10-10-10H66.616z" clip-rule="evenodd"/>
+ <path fill="#fff" fill-rule="evenodd" d="M40.98 42.206c-8.677 0-15.71 7.034-15.71 15.71 0 8.473 6.707 15.38 15.102 15.699l4.923 7.657c.398.618 1.304.61 1.691-.014l4.762-7.679c8.102-.628 14.48-7.4 14.48-15.663 0-8.676-7.034-15.71-15.71-15.71H40.98z" clip-rule="evenodd"/>
+ <path fill="#FBC23E" fill-rule="evenodd" d="M66.234 56.605c-5.346.201-9.618 4.598-9.618 9.993v3.097c0 .877.113 1.727.325 2.537 5.486-2.536 9.293-8.089 9.293-14.53v-1.097z" clip-rule="evenodd"/>
+ <path stroke="#000" stroke-linecap="round" stroke-width="3" d="M60.3 35.304l1.137-6.496M67.843 41.23l6.568-.582M65.453 36.783l5.833-6.053"/>
+ <path fill="#FF570B" d="M40.806 49.695c.333-.844 1.528-.844 1.861 0l.643 1.632c.102.258.306.462.564.563l1.631.644c.845.333.845 1.528 0 1.86l-1.631.644c-.258.102-.462.306-.564.563l-.643 1.632c-.333.844-1.528.844-1.86 0l-.644-1.632c-.102-.257-.306-.461-.563-.563l-1.632-.643c-.844-.333-.844-1.528 0-1.861l1.631-.644c.258-.101.462-.305.564-.563l.643-1.632zM47.021 60.07c.302-.766 1.386-.766 1.688 0 .092.233.277.418.511.51.766.303.766 1.386 0 1.688-.234.092-.419.277-.511.511-.302.766-1.386.766-1.688 0-.092-.234-.277-.419-.51-.51-.766-.303-.766-1.386 0-1.688.233-.093.418-.278.51-.512z"/>
+ <path fill="#fff" d="M71.397 67.058c.302-.766 1.385-.766 1.687 0 .093.234.278.419.511.511.766.302.766 1.386 0 1.688-.233.092-.418.277-.51.51-.303.767-1.386.767-1.688 0-.093-.233-.278-.418-.511-.51-.766-.302-.766-1.386 0-1.688.233-.092.418-.277.51-.51z"/>
+</svg>
Review comment:
This looks exactly the same as `website/www/site/assets/icons/contributor/become a committer/messages-icon.svg`.
Are we adding lots of duplicate icons scoped per page?
##########
File path: website/www/site/content/en/powered-by/open-source/scio.md
##########
@@ -0,0 +1,20 @@
+---
+title: "Scio"
+type: open-source
+categories:
+ - Open Source Projects Powered by Apache Beam
+icon: /images/logos/powered-by/scio.png
+---
+<!--
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+-->
Review comment:
Do we have any copy for Scio?
##########
File path: website/www/site/content/en/powered-by/commercial/eBay.md
##########
@@ -0,0 +1,22 @@
+---
+title: "Feature Powered by Apache Beam - Beyond Lambda"
+type: commercial
+categories:
+ - Online & Traditional Retail
+icon: /images/logos/powered-by/eBay.png
+---
+<!--
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+-->
+
+Developed at Spotify and built on top of Apache Beam for Python, Klio is an open source framework that lets researchers and engineers build smarter data pipelines for processing audio and other media files, easily and at scale.
Review comment:
This is the copy for Klio, not eBay
##########
File path: website/www/site/content/en/powered-by/commercial/_index.md
##########
@@ -0,0 +1,19 @@
+---
+title: "Commercial projects"
+type: commercial
+icon: images/github-icon.svg
+---
+
+<!--
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+-->
Review comment:
The icons for these are stretched weirdly for me:

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [beam] Jakub-Sadowski commented on a change in pull request #13858: [BEAM-11618-11619-11605-11468-][Website revamp]Implemented capability matrix, powered by, beam practises, feedback component
Posted by GitBox <gi...@apache.org>.
Jakub-Sadowski commented on a change in pull request #13858:
URL: https://github.com/apache/beam/pull/13858#discussion_r570181716
##########
File path: website/www/site/content/en/powered-by/open-source/scio.md
##########
@@ -0,0 +1,20 @@
+---
+title: "Scio"
+type: open-source
+categories:
+ - Open Source Projects Powered by Apache Beam
+icon: /images/logos/powered-by/scio.png
+---
+<!--
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+-->
Review comment:
> Another issue I just noticed in the [staged website](http://apache-beam-website-pull-requests.storage.googleapis.com/13858/index.html), the footer is centered:
> 
Merge of website-revamp fixed this
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [beam] TheNeuralBit commented on a change in pull request #13858: Website/capability powered practises
Posted by GitBox <gi...@apache.org>.
TheNeuralBit commented on a change in pull request #13858:
URL: https://github.com/apache/beam/pull/13858#discussion_r568271751
##########
File path: website/www/site/static/images/community/messages-icon.svg
##########
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+-->
+<svg xmlns="http://www.w3.org/2000/svg" width="112" height="113" fill="none" viewBox="0 0 112 113">
+ <path fill="#FFE5D9" d="M56 112.909c30.928 0 56-25.072 56-56s-25.072-56-56-56-56 25.072-56 56 25.072 56 56 56z"/>
+ <path fill="#FF570B" fill-rule="evenodd" d="M66.616 56.598c-5.523 0-10 4.477-10 10v3.097c0 5.523 4.477 10 10 10h1.108l3.387 5.267c.397.618 1.303.61 1.69-.014l3.258-5.253h.666c5.523 0 10-4.477 10-10v-3.097c0-5.523-4.477-10-10-10H66.616z" clip-rule="evenodd"/>
+ <path fill="#fff" fill-rule="evenodd" d="M40.98 42.206c-8.677 0-15.71 7.034-15.71 15.71 0 8.473 6.707 15.38 15.102 15.699l4.923 7.657c.398.618 1.304.61 1.691-.014l4.762-7.679c8.102-.628 14.48-7.4 14.48-15.663 0-8.676-7.034-15.71-15.71-15.71H40.98z" clip-rule="evenodd"/>
+ <path fill="#FBC23E" fill-rule="evenodd" d="M66.234 56.605c-5.346.201-9.618 4.598-9.618 9.993v3.097c0 .877.113 1.727.325 2.537 5.486-2.536 9.293-8.089 9.293-14.53v-1.097z" clip-rule="evenodd"/>
+ <path stroke="#000" stroke-linecap="round" stroke-width="3" d="M60.3 35.304l1.137-6.496M67.843 41.23l6.568-.582M65.453 36.783l5.833-6.053"/>
+ <path fill="#FF570B" d="M40.806 49.695c.333-.844 1.528-.844 1.861 0l.643 1.632c.102.258.306.462.564.563l1.631.644c.845.333.845 1.528 0 1.86l-1.631.644c-.258.102-.462.306-.564.563l-.643 1.632c-.333.844-1.528.844-1.86 0l-.644-1.632c-.102-.257-.306-.461-.563-.563l-1.632-.643c-.844-.333-.844-1.528 0-1.861l1.631-.644c.258-.101.462-.305.564-.563l.643-1.632zM47.021 60.07c.302-.766 1.386-.766 1.688 0 .092.233.277.418.511.51.766.303.766 1.386 0 1.688-.234.092-.419.277-.511.511-.302.766-1.386.766-1.688 0-.092-.234-.277-.419-.51-.51-.766-.303-.766-1.386 0-1.688.233-.093.418-.278.51-.512z"/>
+ <path fill="#fff" d="M71.397 67.058c.302-.766 1.385-.766 1.687 0 .093.234.278.419.511.511.766.302.766 1.386 0 1.688-.233.092-.418.277-.51.51-.303.767-1.386.767-1.688 0-.093-.233-.278-.418-.511-.51-.766-.302-.766-1.386 0-1.688.233-.092.418-.277.51-.51z"/>
+</svg>
Review comment:
This looks exactly the same as `website/www/site/assets/icons/contributor/become a committer/messages-icon.svg`.
Are we adding lots of duplicate icons scoped per page?
##########
File path: website/www/site/content/en/powered-by/open-source/scio.md
##########
@@ -0,0 +1,20 @@
+---
+title: "Scio"
+type: open-source
+categories:
+ - Open Source Projects Powered by Apache Beam
+icon: /images/logos/powered-by/scio.png
+---
+<!--
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+-->
Review comment:
Do we have any copy for Scio?
##########
File path: website/www/site/content/en/powered-by/commercial/eBay.md
##########
@@ -0,0 +1,22 @@
+---
+title: "Feature Powered by Apache Beam - Beyond Lambda"
+type: commercial
+categories:
+ - Online & Traditional Retail
+icon: /images/logos/powered-by/eBay.png
+---
+<!--
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+-->
+
+Developed at Spotify and built on top of Apache Beam for Python, Klio is an open source framework that lets researchers and engineers build smarter data pipelines for processing audio and other media files, easily and at scale.
Review comment:
This is the copy for Klio, not eBay
##########
File path: website/www/site/content/en/powered-by/commercial/_index.md
##########
@@ -0,0 +1,19 @@
+---
+title: "Commercial projects"
+type: commercial
+icon: images/github-icon.svg
+---
+
+<!--
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+-->
Review comment:
The icons for these are stretched weirdly for me:

##########
File path: website/www/site/static/images/community/messages-icon.svg
##########
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+-->
+<svg xmlns="http://www.w3.org/2000/svg" width="112" height="113" fill="none" viewBox="0 0 112 113">
+ <path fill="#FFE5D9" d="M56 112.909c30.928 0 56-25.072 56-56s-25.072-56-56-56-56 25.072-56 56 25.072 56 56 56z"/>
+ <path fill="#FF570B" fill-rule="evenodd" d="M66.616 56.598c-5.523 0-10 4.477-10 10v3.097c0 5.523 4.477 10 10 10h1.108l3.387 5.267c.397.618 1.303.61 1.69-.014l3.258-5.253h.666c5.523 0 10-4.477 10-10v-3.097c0-5.523-4.477-10-10-10H66.616z" clip-rule="evenodd"/>
+ <path fill="#fff" fill-rule="evenodd" d="M40.98 42.206c-8.677 0-15.71 7.034-15.71 15.71 0 8.473 6.707 15.38 15.102 15.699l4.923 7.657c.398.618 1.304.61 1.691-.014l4.762-7.679c8.102-.628 14.48-7.4 14.48-15.663 0-8.676-7.034-15.71-15.71-15.71H40.98z" clip-rule="evenodd"/>
+ <path fill="#FBC23E" fill-rule="evenodd" d="M66.234 56.605c-5.346.201-9.618 4.598-9.618 9.993v3.097c0 .877.113 1.727.325 2.537 5.486-2.536 9.293-8.089 9.293-14.53v-1.097z" clip-rule="evenodd"/>
+ <path stroke="#000" stroke-linecap="round" stroke-width="3" d="M60.3 35.304l1.137-6.496M67.843 41.23l6.568-.582M65.453 36.783l5.833-6.053"/>
+ <path fill="#FF570B" d="M40.806 49.695c.333-.844 1.528-.844 1.861 0l.643 1.632c.102.258.306.462.564.563l1.631.644c.845.333.845 1.528 0 1.86l-1.631.644c-.258.102-.462.306-.564.563l-.643 1.632c-.333.844-1.528.844-1.86 0l-.644-1.632c-.102-.257-.306-.461-.563-.563l-1.632-.643c-.844-.333-.844-1.528 0-1.861l1.631-.644c.258-.101.462-.305.564-.563l.643-1.632zM47.021 60.07c.302-.766 1.386-.766 1.688 0 .092.233.277.418.511.51.766.303.766 1.386 0 1.688-.234.092-.419.277-.511.511-.302.766-1.386.766-1.688 0-.092-.234-.277-.419-.51-.51-.766-.303-.766-1.386 0-1.688.233-.093.418-.278.51-.512z"/>
+ <path fill="#fff" d="M71.397 67.058c.302-.766 1.385-.766 1.687 0 .093.234.278.419.511.511.766.302.766 1.386 0 1.688-.233.092-.418.277-.51.51-.303.767-1.386.767-1.688 0-.093-.233-.278-.418-.511-.51-.766-.302-.766-1.386 0-1.688.233-.092.418-.277.51-.51z"/>
+</svg>
Review comment:
That's fine. We can resolve duplicates later either in the website-revamp branch, or even in master.
##########
File path: website/www/site/content/en/powered-by/open-source/scio.md
##########
@@ -0,0 +1,20 @@
+---
+title: "Scio"
+type: open-source
+categories:
+ - Open Source Projects Powered by Apache Beam
+icon: /images/logos/powered-by/scio.png
+---
+<!--
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+-->
Review comment:
@nevillelyh is there any chance you or someone else involved with Scio provide a blurb about it for our new "powered by" card? For reference the blurb for Klio is:
> Developed at Spotify and built on top of Apache Beam for Python, Klio is an open source framework that lets researchers and engineers build smarter data pipelines for processing audio and other media files, easily and at scale.
##########
File path: website/www/site/content/en/powered-by/open-source/scio.md
##########
@@ -0,0 +1,20 @@
+---
+title: "Scio"
+type: open-source
+categories:
+ - Open Source Projects Powered by Apache Beam
+icon: /images/logos/powered-by/scio.png
+---
+<!--
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+-->
Review comment:
@nevillelyh is there any chance you or someone else involved with Scio could provide a blurb about it for our new "powered by" card? For reference the blurb for Klio is:
> Developed at Spotify and built on top of Apache Beam for Python, Klio is an open source framework that lets researchers and engineers build smarter data pipelines for processing audio and other media files, easily and at scale.
##########
File path: website/www/site/content/en/powered-by/commercial/_index.md
##########
@@ -0,0 +1,19 @@
+---
+title: "Commercial projects"
+type: commercial
+icon: images/github-icon.svg
+---
+
+<!--
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+-->
Review comment:
Thanks!
##########
File path: website/www/site/content/en/powered-by/commercial/eBay.md
##########
@@ -0,0 +1,22 @@
+---
+title: "Feature Powered by Apache Beam - Beyond Lambda"
+type: commercial
+categories:
+ - Online & Traditional Retail
+icon: /images/logos/powered-by/eBay.png
+---
+<!--
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+-->
+
+Developed at Spotify and built on top of Apache Beam for Python, Klio is an open source framework that lets researchers and engineers build smarter data pipelines for processing audio and other media files, easily and at scale.
Review comment:
LG, thanks
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [beam] TheNeuralBit commented on a change in pull request #13858: [BEAM-11618-11619-11605-11468-][Website revamp]Implemented capability matrix, powered by, beam practises, feedback component
Posted by GitBox <gi...@apache.org>.
TheNeuralBit commented on a change in pull request #13858:
URL: https://github.com/apache/beam/pull/13858#discussion_r570469060
##########
File path: website/www/site/content/en/documentation/runners/capability-matrix/additional-common-features-not-yet-part-of-the-beam-model.md
##########
@@ -0,0 +1,24 @@
+---
+type: runners
+title: "Additional common features not yet part of the Beam model"
+layout: "capability-template"
+aliases:
+ - /learn/runners/capability-matrix/
+ - /capability-matrix/
Review comment:
I think this is a copy-paste error, these are aliases for the main capability matrix, not for these detail pages, right?
##########
File path: website/www/site/data/en/powered-by.yaml
##########
@@ -0,0 +1,22 @@
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+- title: Commercial projects
+ body: Learn how the companies use Apache Beam and make their work easier.
+ icon: /icons/commercial-icon.svg
+ link: /powered-by/commercial
+- title: Open source projects
+ body: Learn how the companies use Apache Beam and make their work easier.
Review comment:
There should be some different copy for OS projects. Do we need to get some from @griscz?
##########
File path: website/www/site/layouts/partials/feedback.html
##########
@@ -0,0 +1,22 @@
+{{/*
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+ http://www.apache.org/licenses/LICENSE-2.0
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License. See accompanying LICENSE file.
+ */}}
+
+<div class="feedback">
+ {{ if ne (.Page.Lastmod.Format "2006/01/02") "0001/01/01" }}
+ <p class="update">Last updated on {{ .Page.Lastmod.Format "2006/01/02" }}</p>
+ {{ end }}
+ <h3>{{ T "feedback-title" }}</h3>
+ <p class="description">
+ {{ T "feedback-description" }}
+ </p>
+ <button class="load-button"><a href="mailto:dev@beam.apache.org">{{ T "feedback-button" }}</a></button>
Review comment:
Let's put a default subject on this. I believe this is the right syntax:
```suggestion
<button class="load-button"><a href="mailto:dev@beam.apache.org?subject=Beam Website Feedback">{{ T "feedback-button" }}</a></button>
```
##########
File path: website/www/site/content/en/documentation/runners/capability-matrix/_index.md
##########
@@ -22,21 +23,17 @@ limitations under the License.
# Beam Capability Matrix
Apache Beam provides a portable API layer for building sophisticated data-parallel processing pipelines that may be executed across a diversity of execution engines, or <i>runners</i>. The core concepts of this layer are based upon the Beam Model (formerly referred to as the [Dataflow Model](https://www.vldb.org/pvldb/vol8/p1792-Akidau.pdf)), and implemented to varying degrees in each Beam runner. To help clarify the capabilities of individual runners, we've created the capability matrix below.
Review comment:
For some reason this page is showing the sidebar that goes with the contribute section, not the runners section

##########
File path: website/www/site/data/en/powered-by.yaml
##########
@@ -0,0 +1,22 @@
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+- title: Commercial projects
+ body: Learn how the companies use Apache Beam and make their work easier.
Review comment:
```suggestion
body: Learn how these companies use Apache Beam to make their work easier.
```
##########
File path: website/www/site/content/en/powered-by/open-source/scio.md
##########
@@ -0,0 +1,20 @@
+---
+title: "Scio"
+type: open-source
+categories:
+ - Open Source Projects Powered by Apache Beam
+icon: /images/logos/powered-by/scio.png
+---
+<!--
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+-->
Review comment:
Let's file a jira to make sure we get some copy for Scio at some point
##########
File path: website/www/site/content/en/documentation/runners/basics.md
##########
@@ -0,0 +1,193 @@
+---
+title: "Basics of the Beam model"
+---
+<!--
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+-->
+
+# Basics of the Beam model
+
+Suppose you have a data processing engine that can pretty easily process graphs
+of operations. You want to integrate it with the Beam ecosystem to get access
+to other languages, great event time processing, and a library of connectors.
+You need to know the core vocabulary:
+
+ * [_Pipeline_](#pipeline) - A pipeline is a graph of transformations that a user constructs
+ that defines the data processing they want to do.
+ * [_PCollection_](#pcollections) - Data being processed in a pipeline is part of a PCollection.
+ * [_PTransforms_](#ptransforms) - The operations executed within a pipeline. These are best
+ thought of as operations on PCollections.
+ * _SDK_ - A language-specific library for pipeline authors (we often call them
+ "users" even though we have many kinds of users) to build transforms,
+ construct their pipelines and submit them to a runner
+ * _Runner_ - You are going to write a piece of software called a runner that
+ takes a Beam pipeline and executes it using the capabilities of your data
+ processing engine.
+
+These concepts may be very similar to your processing engine's concepts. Since
+Beam's design is for cross-language operation and reusable libraries of
+transforms, there are some special features worth highlighting.
+
+### Pipeline
+
+A pipeline in Beam is a graph of PTransforms operating on PCollections. A
+pipeline is constructed by a user in their SDK of choice, and makes its way to
+your runner either via the SDK directly or via the Runner API's (forthcoming)
+RPC interfaces.
+
+### PTransforms
+
+In Beam, a PTransform can be one of the five primitives or it can be a
+composite transform encapsulating a subgraph. The primitives are:
+
+ * [_Read_](#implementing-the-read-primitive) - parallel connectors to external
+ systems
+ * [_ParDo_](#implementing-the-pardo-primitive) - per element processing
+ * [_GroupByKey_](#implementing-the-groupbykey-and-window-primitive) -
+ aggregating elements per key and window
+ * [_Flatten_](#implementing-the-flatten-primitive) - union of PCollections
+ * [_Window_](#implementing-the-window-primitive) - set the windowing strategy
+ for a PCollection
+
+When implementing a runner, these are the operations you need to implement.
+Composite transforms may or may not be important to your runner. If you expose
+a UI, maintaining some of the composite structure will make the pipeline easier
+for a user to understand. But the result of processing is not changed.
+
+### PCollections
+
+A PCollection is an unordered bag of elements. Your runner will be responsible
+for storing these elements. There are some major aspects of a PCollection to
+note:
+
+#### Bounded vs Unbounded
+
+A PCollection may be bounded or unbounded.
+
+ - _Bounded_ - it is finite and you know it, as in batch use cases
+ - _Unbounded_ - it may be never end, you don't know, as in streaming use cases
+
+These derive from the intuitions of batch and stream processing, but the two
+are unified in Beam and bounded and unbounded PCollections can coexist in the
+same pipeline. If your runner can only support bounded PCollections, you'll
+need to reject pipelines that contain unbounded PCollections. If your
+runner is only really targeting streams, there are adapters in our support code
+to convert everything to APIs targeting unbounded data.
+
+#### Timestamps
+
+Every element in a PCollection has a timestamp associated with it.
+
+When you execute a primitive connector to some storage system, that connector
+is responsible for providing initial timestamps. Your runner will need to
+propagate and aggregate timestamps. If the timestamp is not important, as with
+certain batch processing jobs where elements do not denote events, they will be
+the minimum representable timestamp, often referred to colloquially as
+"negative infinity".
+
+#### Watermarks
+
+Every PCollection has to have a watermark that estimates how complete the
+PCollection is.
+
+The watermark is a guess that "we'll never see an element with an earlier
+timestamp". Sources of data are responsible for producing a watermark. Your
+runner needs to implement watermark propagation as PCollections are processed,
+merged, and partitioned.
+
+The contents of a PCollection are complete when a watermark advances to
+"infinity". In this manner, you may discover that an unbounded PCollection is
+finite.
+
+#### Windowed elements
+
+Every element in a PCollection resides in a window. No element resides in
+multiple windows (two elements can be equal except for their window, but they
+are not the same).
+
+When elements are read from the outside world they arrive in the global window.
+When they are written to the outside world, they are effectively placed back
+into the global window (any writing transform that doesn't take this
+perspective probably risks data loss).
+
+A window has a maximum timestamp, and when the watermark exceeds this plus
+user-specified allowed lateness the window is expired. All data related
+to an expired window may be discarded at any time.
+
+#### Coder
+
+Every PCollection has a coder, a specification of the binary format of the elements.
+
+In Beam, the user's pipeline may be written in a language other than the
+language of the runner. There is no expectation that the runner can actually
+deserialize user data. So the Beam model operates principally on encoded data -
+"just bytes". Each PCollection has a declared encoding for its elements, called
+a coder. A coder has a URN that identifies the encoding, and may have
+additional sub-coders (for example, a coder for lists may contain a coder for
+the elements of the list). Language-specific serialization techniques can, and
+frequently are used, but there are a few key formats - such as key-value pairs
+and timestamps - that are common so your runner can understand them.
+
+#### Windowing Strategy
+
+Every PCollection has a windowing strategy, a specification of essential
+information for grouping and triggering operations.
+
+The details will be discussed below when we discuss the
+[Window](#implementing-the-window-primitive) primitive, which sets up the
+windowing strategy, and
+[GroupByKey](#implementing-the-groupbykey-and-window-primitive) primitive,
+which has behavior governed by the windowing strategy.
+
+### User-Defined Functions (UDFs)
+
+Beam has seven varieties of user-defined function (UDF). A Beam pipeline
+may contain UDFs written in a language other than your runner, or even multiple
+languages in the same pipeline (see the [Runner API](#the-runner-api)) so the
+definitions are language-independent (see the [Fn API](#the-fn-api)).
+
+The UDFs of Beam are:
+
+ * _DoFn_ - per-element processing function (used in ParDo)
+ * _WindowFn_ - places elements in windows and merges windows (used in Window
+ and GroupByKey)
+ * _Source_ - emits data read from external sources, including initial and
+ dynamic splitting for parallelism (used in Read)
+ * _ViewFn_ - adapts a materialized PCollection to a particular interface (used
+ in side inputs)
+ * _WindowMappingFn_ - maps one element's window to another, and specifies
+ bounds on how far in the past the result window will be (used in side
+ inputs)
+ * _CombineFn_ - associative and commutative aggregation (used in Combine and
+ state)
+ * _Coder_ - encodes user data; some coders have standard formats and are not really UDFs
+
+The various types of user-defined functions will be described further alongside
+the primitives that use them.
+
+### Runner
+
+The term "runner" is used for a couple of things. It generally refers to the
+software that takes a Beam pipeline and executes it somehow. Often, this is the
+translation code that you write. It usually also includes some customized
+operators for your data processing engine, and is sometimes used to refer to
+the full stack.
+
+A runner has just a single method `run(Pipeline)`. From here on, I will often
+use code font for proper nouns in our APIs, whether or not the identifiers
+match across all SDKs.
+
+The `run(Pipeline)` method should be asynchronous and results in a
+PipelineResult which generally will be a job descriptor for your data
+processing engine, providing methods for checking its status, canceling it, and
+waiting for it to terminate.
Review comment:
Was this content copied from somewhere else, or is it entirely new?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [beam] TheNeuralBit commented on a change in pull request #13858: [BEAM-11618-11619-11605-11468-][Website revamp]Implemented capability matrix, powered by, beam practises, feedback component
Posted by GitBox <gi...@apache.org>.
TheNeuralBit commented on a change in pull request #13858:
URL: https://github.com/apache/beam/pull/13858#discussion_r570561982
##########
File path: website/www/site/content/en/documentation/runners/basics.md
##########
@@ -0,0 +1,193 @@
+---
+title: "Basics of the Beam model"
+---
+<!--
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+-->
+
+# Basics of the Beam model
Review comment:
Please rename this file to just `documentation/basics.md`. It's not actually specific to runners now, it's being used as a general introduction the the Beam model.
##########
File path: website/www/site/content/en/contribute/runner-guide.md
##########
@@ -27,183 +27,6 @@ Topics covered:
{{< toc >}}
-## Basics of the Beam model
-
-Suppose you have a data processing engine that can pretty easily process graphs
-of operations. You want to integrate it with the Beam ecosystem to get access
-to other languages, great event time processing, and a library of connectors.
-You need to know the core vocabulary:
-
- * [_Pipeline_](#pipeline) - A pipeline is a graph of transformations that a user constructs
- that defines the data processing they want to do.
- * [_PCollection_](#pcollections) - Data being processed in a pipeline is part of a PCollection.
- * [_PTransforms_](#ptransforms) - The operations executed within a pipeline. These are best
- thought of as operations on PCollections.
- * _SDK_ - A language-specific library for pipeline authors (we often call them
- "users" even though we have many kinds of users) to build transforms,
- construct their pipelines and submit them to a runner
- * _Runner_ - You are going to write a piece of software called a runner that
- takes a Beam pipeline and executes it using the capabilities of your data
- processing engine.
-
-These concepts may be very similar to your processing engine's concepts. Since
-Beam's design is for cross-language operation and reusable libraries of
-transforms, there are some special features worth highlighting.
-
-### Pipeline
-
-A pipeline in Beam is a graph of PTransforms operating on PCollections. A
-pipeline is constructed by a user in their SDK of choice, and makes its way to
-your runner either via the SDK directly or via the Runner API's (forthcoming)
-RPC interfaces.
-
-### PTransforms
-
-In Beam, a PTransform can be one of the five primitives or it can be a
-composite transform encapsulating a subgraph. The primitives are:
-
- * [_Read_](#implementing-the-read-primitive) - parallel connectors to external
- systems
- * [_ParDo_](#implementing-the-pardo-primitive) - per element processing
- * [_GroupByKey_](#implementing-the-groupbykey-and-window-primitive) -
- aggregating elements per key and window
- * [_Flatten_](#implementing-the-flatten-primitive) - union of PCollections
- * [_Window_](#implementing-the-window-primitive) - set the windowing strategy
- for a PCollection
-
-When implementing a runner, these are the operations you need to implement.
-Composite transforms may or may not be important to your runner. If you expose
-a UI, maintaining some of the composite structure will make the pipeline easier
-for a user to understand. But the result of processing is not changed.
-
-### PCollections
-
-A PCollection is an unordered bag of elements. Your runner will be responsible
-for storing these elements. There are some major aspects of a PCollection to
-note:
-
-#### Bounded vs Unbounded
-
-A PCollection may be bounded or unbounded.
-
- - _Bounded_ - it is finite and you know it, as in batch use cases
- - _Unbounded_ - it may be never end, you don't know, as in streaming use cases
-
-These derive from the intuitions of batch and stream processing, but the two
-are unified in Beam and bounded and unbounded PCollections can coexist in the
-same pipeline. If your runner can only support bounded PCollections, you'll
-need to reject pipelines that contain unbounded PCollections. If your
-runner is only really targeting streams, there are adapters in our support code
-to convert everything to APIs targeting unbounded data.
-
-#### Timestamps
-
-Every element in a PCollection has a timestamp associated with it.
-
-When you execute a primitive connector to some storage system, that connector
-is responsible for providing initial timestamps. Your runner will need to
-propagate and aggregate timestamps. If the timestamp is not important, as with
-certain batch processing jobs where elements do not denote events, they will be
-the minimum representable timestamp, often referred to colloquially as
-"negative infinity".
-
-#### Watermarks
-
-Every PCollection has to have a watermark that estimates how complete the
-PCollection is.
-
-The watermark is a guess that "we'll never see an element with an earlier
-timestamp". Sources of data are responsible for producing a watermark. Your
-runner needs to implement watermark propagation as PCollections are processed,
-merged, and partitioned.
-
-The contents of a PCollection are complete when a watermark advances to
-"infinity". In this manner, you may discover that an unbounded PCollection is
-finite.
-
-#### Windowed elements
-
-Every element in a PCollection resides in a window. No element resides in
-multiple windows (two elements can be equal except for their window, but they
-are not the same).
-
-When elements are read from the outside world they arrive in the global window.
-When they are written to the outside world, they are effectively placed back
-into the global window (any writing transform that doesn't take this
-perspective probably risks data loss).
-
-A window has a maximum timestamp, and when the watermark exceeds this plus
-user-specified allowed lateness the window is expired. All data related
-to an expired window may be discarded at any time.
-
-#### Coder
-
-Every PCollection has a coder, a specification of the binary format of the elements.
-
-In Beam, the user's pipeline may be written in a language other than the
-language of the runner. There is no expectation that the runner can actually
-deserialize user data. So the Beam model operates principally on encoded data -
-"just bytes". Each PCollection has a declared encoding for its elements, called
-a coder. A coder has a URN that identifies the encoding, and may have
-additional sub-coders (for example, a coder for lists may contain a coder for
-the elements of the list). Language-specific serialization techniques can, and
-frequently are used, but there are a few key formats - such as key-value pairs
-and timestamps - that are common so your runner can understand them.
-
-#### Windowing Strategy
-
-Every PCollection has a windowing strategy, a specification of essential
-information for grouping and triggering operations.
-
-The details will be discussed below when we discuss the
-[Window](#implementing-the-window-primitive) primitive, which sets up the
-windowing strategy, and
-[GroupByKey](#implementing-the-groupbykey-and-window-primitive) primitive,
-which has behavior governed by the windowing strategy.
-
-### User-Defined Functions (UDFs)
-
-Beam has seven varieties of user-defined function (UDF). A Beam pipeline
-may contain UDFs written in a language other than your runner, or even multiple
-languages in the same pipeline (see the [Runner API](#the-runner-api)) so the
-definitions are language-independent (see the [Fn API](#the-fn-api)).
-
-The UDFs of Beam are:
-
- * _DoFn_ - per-element processing function (used in ParDo)
- * _WindowFn_ - places elements in windows and merges windows (used in Window
- and GroupByKey)
- * _Source_ - emits data read from external sources, including initial and
- dynamic splitting for parallelism (used in Read)
- * _ViewFn_ - adapts a materialized PCollection to a particular interface (used
- in side inputs)
- * _WindowMappingFn_ - maps one element's window to another, and specifies
- bounds on how far in the past the result window will be (used in side
- inputs)
- * _CombineFn_ - associative and commutative aggregation (used in Combine and
- state)
- * _Coder_ - encodes user data; some coders have standard formats and are not really UDFs
-
-The various types of user-defined functions will be described further alongside
-the primitives that use them.
-
-### Runner
-
-The term "runner" is used for a couple of things. It generally refers to the
-software that takes a Beam pipeline and executes it somehow. Often, this is the
-translation code that you write. It usually also includes some customized
-operators for your data processing engine, and is sometimes used to refer to
-the full stack.
-
-A runner has just a single method `run(Pipeline)`. From here on, I will often
-use code font for proper nouns in our APIs, whether or not the identifiers
-match across all SDKs.
-
-The `run(Pipeline)` method should be asynchronous and results in a
-PipelineResult which generally will be a job descriptor for your data
-processing engine, providing methods for checking its status, canceling it, and
-waiting for it to terminate.
-
Review comment:
We need to update the copy on this page and the new page based on this move (e.g. in the new page it says "From here on ...", but this is actually the end of the page). I'll file a jira to do that since I don't think we have time to do it now.
##########
File path: website/www/site/layouts/shortcodes/documentation/capability-matrix-single.html
##########
@@ -0,0 +1,101 @@
+{{/*
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+ http://www.apache.org/licenses/LICENSE-2.0
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License. See accompanying LICENSE file.
+*/}}
+{{ $cap_view := .Get "cap-view" }}
+{{ $cap_data := index $.Site.Data.capability_matrix (.Get "cap-data") }}
+{{ if eq (.Get "cap-data") "capability-matrix-snapshot" }}
+ {{ $cap_data = index $.Site.Data.capability_matrix_snapshot (.Get "cap-data") }}
+{{ end }}
+
+
+<div class="information-container">
+ <div>
+ <h5>How to read the tables</h5>
+ <table class="read-tables">
+ <tr>
+ <th></th>
+ <th class="border-left">Tools we are comparing</th>
+ </tr>
+ <tr class="border-top">
+ <td class="border-right">Properties</td>
+ <td style="border-left: 3px solid #ff6d05">
+ Does this tool have this property?<span>Yes/Partially/No</span>
+ </td>
+ </tr>
+ </table>
+ </div>
+ <div class="second-container">
+ <h5>What do those signs mean?</h5>
+ <div class="row">
+ <div class="box white">✓</div>
+ <div>Yes</div>
+ </div>
+ <div class="row">
+ <div class="box partial">~</div>
+ <div>Partially</div>
+ </div>
+ <div class="row">
+ <div class="box gray">✕</div>
+ <div>No</div>
+ </div>
+ </div>
+</div>
+{{ range $category := $cap_data.categories }}
+ <h4>{{ $category.description }}</h4>
+ <div class="table-container">
+ <div class="table-left">
+ <table>
+ <tr>
+ <th></th>
+ </tr>
+ {{ range $row := $category.rows }}
+ <tr>
+ <th>{{ $row.name }}</th>
+ </tr>
+ {{ end }}
+ </table>
+ </div>
+ <div class="table-right">
+ <div id="{{ $category.description | urlize }}" class="table-headers">
+ <table>
+ <tr>
+ {{ range $column := $cap_data.columns }}
+ <th>{{ $column.name }}</th>
+ {{ end }}
+ </tr>
+ </table>
+ </div>
+ <div id="{{ $category.description | urlize }}" class="table-center">
+ <table>
+ {{ range $row := $category.rows }}
+ <tr>
+ {{ range $val := $row.values }}
+ <td style='background-color:#{{ if eq $val.l1 "Yes" }}{{ index $category "color-y" }}{{ else if eq $val.l1 "Partially" }}{{ index $category "color-p" }}{{ else }}{{ index $category "color-n" }}{{ end }};border-color:#{{ if eq $val.l1 "Yes" }}{{ index $category "color-yb" }}{{ else if eq $val.l1 "Partially" }}{{ index $category "color-pb" }}{{ else }}{{ index $category "color-nb" }}{{ end }}'>
+ {{ partial "documentation/capability-matrix-row" (dict "type" $cap_view "val" $val) }}
+ </td>
+ {{ end }}
+ </tr>
+ {{ end }}
+ </table>
+ </div>
+ </div>
+ </div>
Review comment:
It's still happening for me. Note I'm using Chrome on Linux if that helps.
Also if I click and drag the scrollbar, only the content moves, the headers stay where they started, until I do a horizontal scroll again.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [beam] Jakub-Sadowski commented on pull request #13858: Website/capability powered practises
Posted by GitBox <gi...@apache.org>.
Jakub-Sadowski commented on pull request #13858:
URL: https://github.com/apache/beam/pull/13858#issuecomment-770406672
Review: @TheNeuralBit
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [beam] Jakub-Sadowski edited a comment on pull request #13858: [BEAM-11618-11619-11605-11468-][Website revamp]Implemented capability matrix, powered by, beam practises, feedback component
Posted by GitBox <gi...@apache.org>.
Jakub-Sadowski edited a comment on pull request #13858:
URL: https://github.com/apache/beam/pull/13858#issuecomment-773254754
> > Are u sure? I just pulled this branch and capability is working fine (also incognito)
>
> Yes I'm sure. Note I didn't pull the branch and build the website locally, I'm going off the one that the "Website Stage GCS" job built, here: http://apache-beam-website-pull-requests.storage.googleapis.com/13858/index.html
>
> When I go to that page and click Documentation > Runners, it takes me to http://apache-beam-website-pull-requests.storage.googleapis.com/13858/documentation/runners/capability-matrix/index.html, which doesn't exist
You were right, git ignore blocked whole folder with capability matrix
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [beam] Jakub-Sadowski commented on a change in pull request #13858: Website/capability powered practises
Posted by GitBox <gi...@apache.org>.
Jakub-Sadowski commented on a change in pull request #13858:
URL: https://github.com/apache/beam/pull/13858#discussion_r568508303
##########
File path: website/www/site/content/en/powered-by/commercial/_index.md
##########
@@ -0,0 +1,19 @@
+---
+title: "Commercial projects"
+type: commercial
+icon: images/github-icon.svg
+---
+
+<!--
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+-->
Review comment:
Yeah I know, but there were the only ones I got, I will try to ask for some svg
##########
File path: website/www/site/static/images/community/messages-icon.svg
##########
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+-->
+<svg xmlns="http://www.w3.org/2000/svg" width="112" height="113" fill="none" viewBox="0 0 112 113">
+ <path fill="#FFE5D9" d="M56 112.909c30.928 0 56-25.072 56-56s-25.072-56-56-56-56 25.072-56 56 25.072 56 56 56z"/>
+ <path fill="#FF570B" fill-rule="evenodd" d="M66.616 56.598c-5.523 0-10 4.477-10 10v3.097c0 5.523 4.477 10 10 10h1.108l3.387 5.267c.397.618 1.303.61 1.69-.014l3.258-5.253h.666c5.523 0 10-4.477 10-10v-3.097c0-5.523-4.477-10-10-10H66.616z" clip-rule="evenodd"/>
+ <path fill="#fff" fill-rule="evenodd" d="M40.98 42.206c-8.677 0-15.71 7.034-15.71 15.71 0 8.473 6.707 15.38 15.102 15.699l4.923 7.657c.398.618 1.304.61 1.691-.014l4.762-7.679c8.102-.628 14.48-7.4 14.48-15.663 0-8.676-7.034-15.71-15.71-15.71H40.98z" clip-rule="evenodd"/>
+ <path fill="#FBC23E" fill-rule="evenodd" d="M66.234 56.605c-5.346.201-9.618 4.598-9.618 9.993v3.097c0 .877.113 1.727.325 2.537 5.486-2.536 9.293-8.089 9.293-14.53v-1.097z" clip-rule="evenodd"/>
+ <path stroke="#000" stroke-linecap="round" stroke-width="3" d="M60.3 35.304l1.137-6.496M67.843 41.23l6.568-.582M65.453 36.783l5.833-6.053"/>
+ <path fill="#FF570B" d="M40.806 49.695c.333-.844 1.528-.844 1.861 0l.643 1.632c.102.258.306.462.564.563l1.631.644c.845.333.845 1.528 0 1.86l-1.631.644c-.258.102-.462.306-.564.563l-.643 1.632c-.333.844-1.528.844-1.86 0l-.644-1.632c-.102-.257-.306-.461-.563-.563l-1.632-.643c-.844-.333-.844-1.528 0-1.861l1.631-.644c.258-.101.462-.305.564-.563l.643-1.632zM47.021 60.07c.302-.766 1.386-.766 1.688 0 .092.233.277.418.511.51.766.303.766 1.386 0 1.688-.234.092-.419.277-.511.511-.302.766-1.386.766-1.688 0-.092-.234-.277-.419-.51-.51-.766-.303-.766-1.386 0-1.688.233-.093.418-.278.51-.512z"/>
+ <path fill="#fff" d="M71.397 67.058c.302-.766 1.385-.766 1.687 0 .093.234.278.419.511.511.766.302.766 1.386 0 1.688-.233.092-.418.277-.51.51-.303.767-1.386.767-1.688 0-.093-.233-.278-.418-.511-.51-.766-.302-.766-1.386 0-1.688.233-.092.418-.277.51-.51z"/>
+</svg>
Review comment:
Yeah it's because is hard to monitor it in each pr, I wanted to do the major cleaning of all the unused static files after merge of all pull requests, what ur thinking about this?
##########
File path: website/www/site/content/en/powered-by/commercial/eBay.md
##########
@@ -0,0 +1,22 @@
+---
+title: "Feature Powered by Apache Beam - Beyond Lambda"
+type: commercial
+categories:
+ - Online & Traditional Retail
+icon: /images/logos/powered-by/eBay.png
+---
+<!--
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+-->
+
+Developed at Spotify and built on top of Apache Beam for Python, Klio is an open source framework that lets researchers and engineers build smarter data pipelines for processing audio and other media files, easily and at scale.
Review comment:
Yeah sorry about this, I pushed the right one
##########
File path: website/www/site/content/en/powered-by/open-source/scio.md
##########
@@ -0,0 +1,20 @@
+---
+title: "Scio"
+type: open-source
+categories:
+ - Open Source Projects Powered by Apache Beam
+icon: /images/logos/powered-by/scio.png
+---
+<!--
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+-->
Review comment:
unfortunately no
##########
File path: website/www/site/content/en/powered-by/commercial/_index.md
##########
@@ -0,0 +1,19 @@
+---
+title: "Commercial projects"
+type: commercial
+icon: images/github-icon.svg
+---
+
+<!--
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+-->
Review comment:
Yeah I know, I tried to make them more visible, but I guess it was a bad idea. I changed it to the original ones
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [beam] TheNeuralBit commented on a change in pull request #13858: Website/capability powered practises
Posted by GitBox <gi...@apache.org>.
TheNeuralBit commented on a change in pull request #13858:
URL: https://github.com/apache/beam/pull/13858#discussion_r568738182
##########
File path: website/www/site/content/en/powered-by/commercial/_index.md
##########
@@ -0,0 +1,19 @@
+---
+title: "Commercial projects"
+type: commercial
+icon: images/github-icon.svg
+---
+
+<!--
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+-->
Review comment:
Thanks!
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [beam] TheNeuralBit commented on a change in pull request #13858: [BEAM-11618-11619-11605-11468-][Website revamp]Implemented capability matrix, powered by, beam practises, feedback component
Posted by GitBox <gi...@apache.org>.
TheNeuralBit commented on a change in pull request #13858:
URL: https://github.com/apache/beam/pull/13858#discussion_r569659257
##########
File path: website/www/site/content/en/powered-by/open-source/scio.md
##########
@@ -0,0 +1,20 @@
+---
+title: "Scio"
+type: open-source
+categories:
+ - Open Source Projects Powered by Apache Beam
+icon: /images/logos/powered-by/scio.png
+---
+<!--
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+-->
Review comment:
That is for Klio, a different, similarly named library from Spotify :)
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [beam] TheNeuralBit commented on a change in pull request #13858: [BEAM-11618-11619-11605-11468-][Website revamp]Implemented capability matrix, powered by, beam practises, feedback component
Posted by GitBox <gi...@apache.org>.
TheNeuralBit commented on a change in pull request #13858:
URL: https://github.com/apache/beam/pull/13858#discussion_r571108614
##########
File path: website/www/site/layouts/shortcodes/documentation/capability-matrix-single.html
##########
@@ -0,0 +1,101 @@
+{{/*
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+ http://www.apache.org/licenses/LICENSE-2.0
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License. See accompanying LICENSE file.
+*/}}
+{{ $cap_view := .Get "cap-view" }}
+{{ $cap_data := index $.Site.Data.capability_matrix (.Get "cap-data") }}
+{{ if eq (.Get "cap-data") "capability-matrix-snapshot" }}
+ {{ $cap_data = index $.Site.Data.capability_matrix_snapshot (.Get "cap-data") }}
+{{ end }}
+
+
+<div class="information-container">
+ <div>
+ <h5>How to read the tables</h5>
+ <table class="read-tables">
+ <tr>
+ <th></th>
+ <th class="border-left">Tools we are comparing</th>
+ </tr>
+ <tr class="border-top">
+ <td class="border-right">Properties</td>
+ <td style="border-left: 3px solid #ff6d05">
+ Does this tool have this property?<span>Yes/Partially/No</span>
+ </td>
+ </tr>
+ </table>
+ </div>
+ <div class="second-container">
+ <h5>What do those signs mean?</h5>
+ <div class="row">
+ <div class="box white">✓</div>
+ <div>Yes</div>
+ </div>
+ <div class="row">
+ <div class="box partial">~</div>
+ <div>Partially</div>
+ </div>
+ <div class="row">
+ <div class="box gray">✕</div>
+ <div>No</div>
+ </div>
+ </div>
+</div>
+{{ range $category := $cap_data.categories }}
+ <h4>{{ $category.description }}</h4>
+ <div class="table-container">
+ <div class="table-left">
+ <table>
+ <tr>
+ <th></th>
+ </tr>
+ {{ range $row := $category.rows }}
+ <tr>
+ <th>{{ $row.name }}</th>
+ </tr>
+ {{ end }}
+ </table>
+ </div>
+ <div class="table-right">
+ <div id="{{ $category.description | urlize }}" class="table-headers">
+ <table>
+ <tr>
+ {{ range $column := $cap_data.columns }}
+ <th>{{ $column.name }}</th>
+ {{ end }}
+ </tr>
+ </table>
+ </div>
+ <div id="{{ $category.description | urlize }}" class="table-center">
+ <table>
+ {{ range $row := $category.rows }}
+ <tr>
+ {{ range $val := $row.values }}
+ <td style='background-color:#{{ if eq $val.l1 "Yes" }}{{ index $category "color-y" }}{{ else if eq $val.l1 "Partially" }}{{ index $category "color-p" }}{{ else }}{{ index $category "color-n" }}{{ end }};border-color:#{{ if eq $val.l1 "Yes" }}{{ index $category "color-yb" }}{{ else if eq $val.l1 "Partially" }}{{ index $category "color-pb" }}{{ else }}{{ index $category "color-nb" }}{{ end }}'>
+ {{ partial "documentation/capability-matrix-row" (dict "type" $cap_view "val" $val) }}
+ </td>
+ {{ end }}
+ </tr>
+ {{ end }}
+ </table>
+ </div>
+ </div>
+ </div>
Review comment:
Not sure what was going on before, but this seems to be resolved for me now. I restarted my browser, and cleared the cache. Also made sure not to have developer tools open when scrolling. Sorry for the false alarm.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [beam] Jakub-Sadowski commented on a change in pull request #13858: [BEAM-11618-11619-11605-11468-][Website revamp]Implemented capability matrix, powered by, beam practises, feedback component
Posted by GitBox <gi...@apache.org>.
Jakub-Sadowski commented on a change in pull request #13858:
URL: https://github.com/apache/beam/pull/13858#discussion_r569344671
##########
File path: website/www/site/content/en/powered-by/open-source/scio.md
##########
@@ -0,0 +1,20 @@
+---
+title: "Scio"
+type: open-source
+categories:
+ - Open Source Projects Powered by Apache Beam
+icon: /images/logos/powered-by/scio.png
+---
+<!--
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+-->
Review comment:
Yesterday, I got something like this:
`Developed at Spotify and built on top of Apache Beam, Klio is an open source framework for data processing pipelines for audio and other media files.`
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [beam] Jakub-Sadowski commented on pull request #13858: [BEAM-11618-11619-11605-11468-][Website revamp]Implemented capability matrix, powered by, beam practises, feedback component
Posted by GitBox <gi...@apache.org>.
Jakub-Sadowski commented on pull request #13858:
URL: https://github.com/apache/beam/pull/13858#issuecomment-773254754
> > Are u sure? I just pulled this branch and capability is working fine (also incognito)
>
> Yes I'm sure. Note I didn't pull the branch and build the website locally, I'm going off the one that the "Website Stage GCS" job built, here: http://apache-beam-website-pull-requests.storage.googleapis.com/13858/index.html
>
> When I go to that page and click Documentation > Runners, it takes me to http://apache-beam-website-pull-requests.storage.googleapis.com/13858/documentation/runners/capability-matrix/index.html, which doesn't exist
You were right, git ignore didn't added whole folder with capability matrix
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [beam] Jakub-Sadowski commented on a change in pull request #13858: [BEAM-11618-11619-11605-11468-][Website revamp]Implemented capability matrix, powered by, beam practises, feedback component
Posted by GitBox <gi...@apache.org>.
Jakub-Sadowski commented on a change in pull request #13858:
URL: https://github.com/apache/beam/pull/13858#discussion_r570527005
##########
File path: website/www/site/layouts/shortcodes/documentation/capability-matrix-single.html
##########
@@ -0,0 +1,101 @@
+{{/*
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+ http://www.apache.org/licenses/LICENSE-2.0
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License. See accompanying LICENSE file.
+*/}}
+{{ $cap_view := .Get "cap-view" }}
+{{ $cap_data := index $.Site.Data.capability_matrix (.Get "cap-data") }}
+{{ if eq (.Get "cap-data") "capability-matrix-snapshot" }}
+ {{ $cap_data = index $.Site.Data.capability_matrix_snapshot (.Get "cap-data") }}
+{{ end }}
+
+
+<div class="information-container">
+ <div>
+ <h5>How to read the tables</h5>
+ <table class="read-tables">
+ <tr>
+ <th></th>
+ <th class="border-left">Tools we are comparing</th>
+ </tr>
+ <tr class="border-top">
+ <td class="border-right">Properties</td>
+ <td style="border-left: 3px solid #ff6d05">
+ Does this tool have this property?<span>Yes/Partially/No</span>
+ </td>
+ </tr>
+ </table>
+ </div>
+ <div class="second-container">
+ <h5>What do those signs mean?</h5>
+ <div class="row">
+ <div class="box white">✓</div>
+ <div>Yes</div>
+ </div>
+ <div class="row">
+ <div class="box partial">~</div>
+ <div>Partially</div>
+ </div>
+ <div class="row">
+ <div class="box gray">✕</div>
+ <div>No</div>
+ </div>
+ </div>
+</div>
+{{ range $category := $cap_data.categories }}
+ <h4>{{ $category.description }}</h4>
+ <div class="table-container">
+ <div class="table-left">
+ <table>
+ <tr>
+ <th></th>
+ </tr>
+ {{ range $row := $category.rows }}
+ <tr>
+ <th>{{ $row.name }}</th>
+ </tr>
+ {{ end }}
+ </table>
+ </div>
+ <div class="table-right">
+ <div id="{{ $category.description | urlize }}" class="table-headers">
+ <table>
+ <tr>
+ {{ range $column := $cap_data.columns }}
+ <th>{{ $column.name }}</th>
+ {{ end }}
+ </tr>
+ </table>
+ </div>
+ <div id="{{ $category.description | urlize }}" class="table-center">
+ <table>
+ {{ range $row := $category.rows }}
+ <tr>
+ {{ range $val := $row.values }}
+ <td style='background-color:#{{ if eq $val.l1 "Yes" }}{{ index $category "color-y" }}{{ else if eq $val.l1 "Partially" }}{{ index $category "color-p" }}{{ else }}{{ index $category "color-n" }}{{ end }};border-color:#{{ if eq $val.l1 "Yes" }}{{ index $category "color-yb" }}{{ else if eq $val.l1 "Partially" }}{{ index $category "color-pb" }}{{ else }}{{ index $category "color-nb" }}{{ end }}'>
+ {{ partial "documentation/capability-matrix-row" (dict "type" $cap_view "val" $val) }}
+ </td>
+ {{ end }}
+ </tr>
+ {{ end }}
+ </table>
+ </div>
+ </div>
+ </div>
Review comment:
Okay I changed the function, there is little difference, pls check if u can repeat situation from above
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [beam] TheNeuralBit commented on a change in pull request #13858: [BEAM-11618-11619-11605-11468-][Website revamp]Implemented capability matrix, powered by, beam practises, feedback component
Posted by GitBox <gi...@apache.org>.
TheNeuralBit commented on a change in pull request #13858:
URL: https://github.com/apache/beam/pull/13858#discussion_r571126466
##########
File path: website/www/site/content/en/documentation/runners/basics.md
##########
@@ -0,0 +1,193 @@
+---
+title: "Basics of the Beam model"
+---
+<!--
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+-->
Review comment:
Done - https://github.com/apache/beam/pull/13871/commits/67508d0ce82ac1f793e03cfcc98bc9b9dc28ccff
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [beam] Jakub-Sadowski commented on a change in pull request #13858: Website/capability powered practises
Posted by GitBox <gi...@apache.org>.
Jakub-Sadowski commented on a change in pull request #13858:
URL: https://github.com/apache/beam/pull/13858#discussion_r568520936
##########
File path: website/www/site/static/images/community/messages-icon.svg
##########
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+-->
+<svg xmlns="http://www.w3.org/2000/svg" width="112" height="113" fill="none" viewBox="0 0 112 113">
+ <path fill="#FFE5D9" d="M56 112.909c30.928 0 56-25.072 56-56s-25.072-56-56-56-56 25.072-56 56 25.072 56 56 56z"/>
+ <path fill="#FF570B" fill-rule="evenodd" d="M66.616 56.598c-5.523 0-10 4.477-10 10v3.097c0 5.523 4.477 10 10 10h1.108l3.387 5.267c.397.618 1.303.61 1.69-.014l3.258-5.253h.666c5.523 0 10-4.477 10-10v-3.097c0-5.523-4.477-10-10-10H66.616z" clip-rule="evenodd"/>
+ <path fill="#fff" fill-rule="evenodd" d="M40.98 42.206c-8.677 0-15.71 7.034-15.71 15.71 0 8.473 6.707 15.38 15.102 15.699l4.923 7.657c.398.618 1.304.61 1.691-.014l4.762-7.679c8.102-.628 14.48-7.4 14.48-15.663 0-8.676-7.034-15.71-15.71-15.71H40.98z" clip-rule="evenodd"/>
+ <path fill="#FBC23E" fill-rule="evenodd" d="M66.234 56.605c-5.346.201-9.618 4.598-9.618 9.993v3.097c0 .877.113 1.727.325 2.537 5.486-2.536 9.293-8.089 9.293-14.53v-1.097z" clip-rule="evenodd"/>
+ <path stroke="#000" stroke-linecap="round" stroke-width="3" d="M60.3 35.304l1.137-6.496M67.843 41.23l6.568-.582M65.453 36.783l5.833-6.053"/>
+ <path fill="#FF570B" d="M40.806 49.695c.333-.844 1.528-.844 1.861 0l.643 1.632c.102.258.306.462.564.563l1.631.644c.845.333.845 1.528 0 1.86l-1.631.644c-.258.102-.462.306-.564.563l-.643 1.632c-.333.844-1.528.844-1.86 0l-.644-1.632c-.102-.257-.306-.461-.563-.563l-1.632-.643c-.844-.333-.844-1.528 0-1.861l1.631-.644c.258-.101.462-.305.564-.563l.643-1.632zM47.021 60.07c.302-.766 1.386-.766 1.688 0 .092.233.277.418.511.51.766.303.766 1.386 0 1.688-.234.092-.419.277-.511.511-.302.766-1.386.766-1.688 0-.092-.234-.277-.419-.51-.51-.766-.303-.766-1.386 0-1.688.233-.093.418-.278.51-.512z"/>
+ <path fill="#fff" d="M71.397 67.058c.302-.766 1.385-.766 1.687 0 .093.234.278.419.511.511.766.302.766 1.386 0 1.688-.233.092-.418.277-.51.51-.303.767-1.386.767-1.688 0-.093-.233-.278-.418-.511-.51-.766-.302-.766-1.386 0-1.688.233-.092.418-.277.51-.51z"/>
+</svg>
Review comment:
Yeah it's because is hard to monitor it in each pr, I wanted to do the major cleaning of all the unused static files after merge of all pull requests, what ur thinking about this?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org