[beam] branch master updated: Add test for versioned encoding

2019-09-15 Thread pabloem
This is an automated email from the ASF dual-hosted git repository.

pabloem pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/beam.git


The following commit(s) were added to refs/heads/master by this push:
 new 8446745  Add test for versioned encoding
 new b9de43c  Merge pull request #9573 from pabloem/BEAM-1080
8446745 is described below

commit 8446745f7cfdfa5f43dee9d3362a36479b8930b1
Author: Pablo Estrada 
AuthorDate: Sun Sep 15 10:24:05 2019 -0700

Add test for versioned encoding
---
 .../python/apache_beam/runners/dataflow/internal/apiclient_test.py | 7 +++
 1 file changed, 7 insertions(+)

diff --git 
a/sdks/python/apache_beam/runners/dataflow/internal/apiclient_test.py 
b/sdks/python/apache_beam/runners/dataflow/internal/apiclient_test.py
index 96e0276..fc465a3 100644
--- a/sdks/python/apache_beam/runners/dataflow/internal/apiclient_test.py
+++ b/sdks/python/apache_beam/runners/dataflow/internal/apiclient_test.py
@@ -628,6 +628,13 @@ class UtilTest(unittest.TestCase):
 Exception,
 apiclient._verify_interpreter_version_is_supported, pipeline_options)
 
+  def test_get_response_encoding(self):
+encoding = apiclient.get_response_encoding()
+version_to_encoding = {3: 'utf8',
+   2: None}
+
+assert encoding == version_to_encoding[sys.version_info[0]]
+
 
 if __name__ == '__main__':
   unittest.main()



[beam] branch master updated: Update index.md

2019-09-15 Thread pabloem
This is an automated email from the ASF dual-hosted git repository.

pabloem pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/beam.git


The following commit(s) were added to refs/heads/master by this push:
 new 46a8dac  Update index.md
 new 1fcd209  Merge pull request #9574 from jesusrv1103/patch-1
46a8dac is described below

commit 46a8dac7013ecd8948c51eb09d961ee85896b312
Author: jesusrv1103 
AuthorDate: Sun Sep 15 14:43:59 2019 -0500

Update index.md

Items 3 and 4 in the numbered list did not end with a period.
---
 website/src/contribute/index.md | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/website/src/contribute/index.md b/website/src/contribute/index.md
index 1d99e9e..fa8a18f 100644
--- a/website/src/contribute/index.md
+++ b/website/src/contribute/index.md
@@ -95,9 +95,9 @@ To contribute code, you need
the [dev@ mailing list]({{ site.baseurl }}/community/contact-us)
to introduce yourself and to be added as a contributor in the Beam issue 
tracker including your
ASF Jira Username. For example [this welcome email](
-   
https://lists.apache.org/thread.html/e6018c2aaf7dc7895091434295e5b0fafe192b975e3e3761fcf0cda7@%3Cdev.beam.apache.org%3E)
+   
https://lists.apache.org/thread.html/e6018c2aaf7dc7895091434295e5b0fafe192b975e3e3761fcf0cda7@%3Cdev.beam.apache.org%3E).
 1. If your change is large or it is your first change, it is a good idea to
-   [discuss it on the dev@ mailing list]({{ site.baseurl 
}}/community/contact-us/)
+   [discuss it on the dev@ mailing list]({{ site.baseurl 
}}/community/contact-us/).
 1. For large changes create a design doc
([template](https://s.apache.org/beam-design-doc-template),
[examples](https://s.apache.org/beam-design-docs)) and email it to the 
[dev@ mailing list]({{ site.baseurl }}/community/contact-us).



[beam] branch master updated (1fcd209 -> a06be47)

2019-09-15 Thread pabloem
This is an automated email from the ASF dual-hosted git repository.

pabloem pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/beam.git.


from 1fcd209  Merge pull request #9574 from jesusrv1103/patch-1
 new 0914293  BEAM-8138: Code snippet in FileIO Java docs fixed
 new fb41d6f  Merge branch 'master' of https://github.com/apache/beam into 
BEAM-8138
 new a06be47  Merge pull request #9575 from Luis-MX/BEAM-8138

The 23129 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 sdks/java/core/src/main/java/org/apache/beam/sdk/io/AvroIO.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)



[beam] branch asf-site updated: Publishing website 2019/09/15 21:11:41 at commit a06be47

2019-09-15 Thread git-site-role
This is an automated email from the ASF dual-hosted git repository.

git-site-role pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/beam.git


The following commit(s) were added to refs/heads/asf-site by this push:
 new 8ba0129  Publishing website 2019/09/15 21:11:41 at commit a06be47
8ba0129 is described below

commit 8ba0129112ae7ba723bdc9d411bbdbdbfb5f1e2a
Author: jenkins 
AuthorDate: Sun Sep 15 21:11:41 2019 +

Publishing website 2019/09/15 21:11:41 at commit a06be47
---
 website/generated-content/contribute/index.html | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/website/generated-content/contribute/index.html 
b/website/generated-content/contribute/index.html
index ce284d3..458d89b 100644
--- a/website/generated-content/contribute/index.html
+++ b/website/generated-content/contribute/index.html
@@ -327,9 +327,9 @@ a place for notes. Later, your pull request will be linked 
to the issue as well.
   Assign the issue to yourself. To get the permission to do so, email
 the dev@ mailing list
 to introduce yourself and to be added as a contributor in the Beam issue 
tracker including your
-ASF Jira Username. For example https://lists.apache.org/thread.html/e6018c2aaf7dc7895091434295e5b0fafe192b975e3e3761fcf0cda7@%3Cdev.beam.apache.org%3E";>this
 welcome email
+ASF Jira Username. For example https://lists.apache.org/thread.html/e6018c2aaf7dc7895091434295e5b0fafe192b975e3e3761fcf0cda7@%3Cdev.beam.apache.org%3E";>this
 welcome email.
   If your change is large or it is your first change, it is a good idea to
-discuss it on the dev@ mailing list
+discuss it on the dev@ mailing list.
   For large changes create a design doc
 (https://s.apache.org/beam-design-doc-template";>template,
 https://s.apache.org/beam-design-docs";>examples) and email it to 
the dev@ mailing list.



[beam] branch master updated: BEAM-7596: Fixed 'concepts' section to make it parallel

2019-09-15 Thread pabloem
This is an automated email from the ASF dual-hosted git repository.

pabloem pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/beam.git


The following commit(s) were added to refs/heads/master by this push:
 new 00e3bf5  BEAM-7596: Fixed 'concepts' section to make it parallel
 new 43cea184 Merge pull request #9580 from saulchavez93/master
00e3bf5 is described below

commit 00e3bf504e9f5f0e5e5a9414f4563eb2c0883a3a
Author: Saul Chavez 
AuthorDate: Sun Sep 15 16:40:27 2019 -0500

BEAM-7596: Fixed 'concepts' section to make it parallel
---
 website/src/documentation/index.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/website/src/documentation/index.md 
b/website/src/documentation/index.md
index ec14dec..c4aa6c4 100644
--- a/website/src/documentation/index.md
+++ b/website/src/documentation/index.md
@@ -29,7 +29,7 @@ This section provides in-depth conceptual information and 
reference material for
 
 Learn about the Beam Programming Model and the concepts common to all Beam 
SDKs and Runners.
 
-* The [Programming Guide]({{ site.baseurl }}/documentation/programming-guide/) 
introduces all the key Beam concepts.
+* Read the [Programming Guide]({{ site.baseurl 
}}/documentation/programming-guide/) which introduces all the key Beam concepts.
 * Learn about Beam's [execution model]({{ site.baseurl 
}}/documentation/execution-model/) to better understand how pipelines execute.
 * Visit [Learning Resources]({{ site.baseurl 
}}/documentation/resources/learning-resources) for some of our favorite 
articles and talks about Beam.
 



[beam] branch asf-site updated: Publishing website 2019/09/15 21:58:03 at commit 43cea184

2019-09-15 Thread git-site-role
This is an automated email from the ASF dual-hosted git repository.

git-site-role pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/beam.git


The following commit(s) were added to refs/heads/asf-site by this push:
 new c39046c  Publishing website 2019/09/15 21:58:03 at commit 43cea184
c39046c is described below

commit c39046c60e3c3b8e334239d378017f1ce297c81b
Author: jenkins 
AuthorDate: Sun Sep 15 21:58:04 2019 +

Publishing website 2019/09/15 21:58:03 at commit 43cea184
---
 website/generated-content/documentation/index.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/website/generated-content/documentation/index.html 
b/website/generated-content/documentation/index.html
index c44ed3e..b542313 100644
--- a/website/generated-content/documentation/index.html
+++ b/website/generated-content/documentation/index.html
@@ -485,7 +485,7 @@ limitations under the License.
 Learn about the Beam Programming Model and the concepts common to all Beam 
SDKs and Runners.
 
 
-  The Programming Guide 
introduces all the key Beam concepts.
+  Read the Programming 
Guide which introduces all the key Beam concepts.
   Learn about Beam’s execution 
model to better understand how pipelines execute.
   Visit Learning 
Resources for some of our favorite articles and talks about Beam.