[ 
https://issues.apache.org/jira/browse/BEAM-10273?focusedWorklogId=447551&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-447551
 ]

ASF GitHub Bot logged work on BEAM-10273:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 17/Jun/20 22:06
            Start Date: 17/Jun/20 22:06
    Worklog Time Spent: 10m 
      Work Description: TheNeuralBit opened a new pull request #12028:
URL: https://github.com/apache/beam/pull/12028


   Using `str` for schemas only works in python 3, for compatibility with both 
py 2 and 3 we need to use `future.builtins.unicode`.
   
   Post-Commit Tests Status (on master branch)
   
------------------------------------------------------------------------------------------------
   
   Lang | SDK | Apex | Dataflow | Flink | Samza | Spark
   --- | --- | --- | --- | --- | --- | ---
   Go | [![Build 
Status](https://ci-beam.apache.org/job/beam_PostCommit_Go/lastCompletedBuild/badge/icon)](https://ci-beam.apache.org/job/beam_PostCommit_Go/lastCompletedBuild/)
 | --- | --- | [![Build 
Status](https://ci-beam.apache.org/job/beam_PostCommit_Go_VR_Flink/lastCompletedBuild/badge/icon)](https://ci-beam.apache.org/job/beam_PostCommit_Go_VR_Flink/lastCompletedBuild/)
 | --- | [![Build 
Status](https://ci-beam.apache.org/job/beam_PostCommit_Go_VR_Spark/lastCompletedBuild/badge/icon)](https://ci-beam.apache.org/job/beam_PostCommit_Go_VR_Spark/lastCompletedBuild/)
   Java | [![Build 
Status](https://ci-beam.apache.org/job/beam_PostCommit_Java/lastCompletedBuild/badge/icon)](https://ci-beam.apache.org/job/beam_PostCommit_Java/lastCompletedBuild/)
 | [![Build 
Status](https://ci-beam.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Apex/lastCompletedBuild/badge/icon)](https://ci-beam.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Apex/lastCompletedBuild/)
 | [![Build 
Status](https://ci-beam.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Dataflow/lastCompletedBuild/badge/icon)](https://ci-beam.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Dataflow/lastCompletedBuild/)<br>[![Build
 
Status](https://ci-beam.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Dataflow_Java11/lastCompletedBuild/badge/icon)](https://ci-beam.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Dataflow_Java11/lastCompletedBuild/)
 | [![Build 
Status](https://ci-beam.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Flink/lastCompletedBuild/badge/icon)](https://ci-beam.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Flink/lastCompletedBuild/)<br>[![Build
 
Status](https://ci-beam.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Flink_Java11/lastCompletedBuild/badge/icon)](https://ci-beam.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Flink_Java11/lastCompletedBuild/)<br>[![Build
 
Status](https://ci-beam.apache.org/job/beam_PostCommit_Java_PVR_Flink_Batch/lastCompletedBuild/badge/icon)](https://ci-beam.apache.org/job/beam_PostCommit_Java_PVR_Flink_Batch/lastCompletedBuild/)<br>[![Build
 
Status](https://ci-beam.apache.org/job/beam_PostCommit_Java_PVR_Flink_Streaming/lastCompletedBuild/badge/icon)](https://ci-beam.apache.org/job/beam_PostCommit_Java_PVR_Flink_Streaming/lastCompletedBuild/)
 | [![Build 
Status](https://ci-beam.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Samza/lastCompletedBuild/badge/icon)](https://ci-beam.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Samza/lastCompletedBuild/)
 | [![Build 
Status](https://ci-beam.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Spark/lastCompletedBuild/badge/icon)](https://ci-beam.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Spark/lastCompletedBuild/)<br>[![Build
 
Status](https://ci-beam.apache.org/job/beam_PostCommit_Java_PVR_Spark_Batch/lastCompletedBuild/badge/icon)](https://ci-beam.apache.org/job/beam_PostCommit_Java_PVR_Spark_Batch/lastCompletedBuild/)<br>[![Build
 
Status](https://ci-beam.apache.org/job/beam_PostCommit_Java_ValidatesRunner_SparkStructuredStreaming/lastCompletedBuild/badge/icon)](https://ci-beam.apache.org/job/beam_PostCommit_Java_ValidatesRunner_SparkStructuredStreaming/lastCompletedBuild/)
   Python | [![Build 
Status](https://ci-beam.apache.org/job/beam_PostCommit_Python2/lastCompletedBuild/badge/icon)](https://ci-beam.apache.org/job/beam_PostCommit_Python2/lastCompletedBuild/)<br>[![Build
 
Status](https://ci-beam.apache.org/job/beam_PostCommit_Python35/lastCompletedBuild/badge/icon)](https://ci-beam.apache.org/job/beam_PostCommit_Python35/lastCompletedBuild/)<br>[![Build
 
Status](https://ci-beam.apache.org/job/beam_PostCommit_Python36/lastCompletedBuild/badge/icon)](https://ci-beam.apache.org/job/beam_PostCommit_Python36/lastCompletedBuild/)<br>[![Build
 
Status](https://ci-beam.apache.org/job/beam_PostCommit_Python37/lastCompletedBuild/badge/icon)](https://ci-beam.apache.org/job/beam_PostCommit_Python37/lastCompletedBuild/)
 | --- | [![Build 
Status](https://ci-beam.apache.org/job/beam_PostCommit_Py_VR_Dataflow/lastCompletedBuild/badge/icon)](https://ci-beam.apache.org/job/beam_PostCommit_Py_VR_Dataflow/lastCompletedBuild/)<br>[![Build
 
Status](https://ci-beam.apache.org/job/beam_PostCommit_Py_VR_Dataflow_V2/lastCompletedBuild/badge/icon)](https://ci-beam.apache.org/job/beam_PostCommit_Py_VR_Dataflow_V2/lastCompletedBuild/)<br>[![Build
 
Status](https://ci-beam.apache.org/job/beam_PostCommit_Py_ValCont/lastCompletedBuild/badge/icon)](https://ci-beam.apache.org/job/beam_PostCommit_Py_ValCont/lastCompletedBuild/)
 | [![Build 
Status](https://ci-beam.apache.org/job/beam_PreCommit_Python2_PVR_Flink_Cron/lastCompletedBuild/badge/icon)](https://ci-beam.apache.org/job/beam_PreCommit_Python2_PVR_Flink_Cron/lastCompletedBuild/)<br>[![Build
 
Status](https://ci-beam.apache.org/job/beam_PostCommit_Python35_VR_Flink/lastCompletedBuild/badge/icon)](https://ci-beam.apache.org/job/beam_PostCommit_Python35_VR_Flink/lastCompletedBuild/)
 | --- | [![Build 
Status](https://ci-beam.apache.org/job/beam_PostCommit_Python_VR_Spark/lastCompletedBuild/badge/icon)](https://ci-beam.apache.org/job/beam_PostCommit_Python_VR_Spark/lastCompletedBuild/)
   XLang | --- | --- | --- | [![Build 
Status](https://ci-beam.apache.org/job/beam_PostCommit_XVR_Flink/lastCompletedBuild/badge/icon)](https://ci-beam.apache.org/job/beam_PostCommit_XVR_Flink/lastCompletedBuild/)
 | --- | --- | [![Build 
Status](https://ci-beam.apache.org/job/beam_PostCommit_XVR_Spark/lastCompletedBuild/badge/icon)](https://ci-beam.apache.org/job/beam_PostCommit_XVR_Spark/lastCompletedBuild/)
   
   Pre-Commit Tests Status (on master branch)
   
------------------------------------------------------------------------------------------------
   
   --- |Java | Python | Go | Website
   --- | --- | --- | --- | ---
   Non-portable | [![Build 
Status](https://ci-beam.apache.org/job/beam_PreCommit_Java_Cron/lastCompletedBuild/badge/icon)](https://ci-beam.apache.org/job/beam_PreCommit_Java_Cron/lastCompletedBuild/)
 | [![Build 
Status](https://ci-beam.apache.org/job/beam_PreCommit_Python_Cron/lastCompletedBuild/badge/icon)](https://ci-beam.apache.org/job/beam_PreCommit_Python_Cron/lastCompletedBuild/)<br>[![Build
 
Status](https://ci-beam.apache.org/job/beam_PreCommit_PythonLint_Cron/lastCompletedBuild/badge/icon)](https://ci-beam.apache.org/job/beam_PreCommit_PythonLint_Cron/lastCompletedBuild/)
 | [![Build 
Status](https://ci-beam.apache.org/job/beam_PreCommit_Go_Cron/lastCompletedBuild/badge/icon)](https://ci-beam.apache.org/job/beam_PreCommit_Go_Cron/lastCompletedBuild/)
 | [![Build 
Status](https://ci-beam.apache.org/job/beam_PreCommit_Website_Cron/lastCompletedBuild/badge/icon)](https://ci-beam.apache.org/job/beam_PreCommit_Website_Cron/lastCompletedBuild/)
   Portable | --- | [![Build 
Status](https://ci-beam.apache.org/job/beam_PreCommit_Portable_Python_Cron/lastCompletedBuild/badge/icon)](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.
   


----------------------------------------------------------------
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:
[email protected]


Issue Time Tracking
-------------------

            Worklog Id:     (was: 447551)
    Remaining Estimate: 0h
            Time Spent: 10m

> Failure in beam_PostCommit_XVR_Flink
> ------------------------------------
>
>                 Key: BEAM-10273
>                 URL: https://issues.apache.org/jira/browse/BEAM-10273
>             Project: Beam
>          Issue Type: Bug
>          Components: cross-language
>            Reporter: Heejong Lee
>            Assignee: Brian Hulette
>            Priority: P2
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> [https://ci-beam.apache.org/job/beam_PostCommit_XVR_Flink/2654/]
>  
> {code:java}
> 11:42:19 
> ======================================================================
> 11:42:19 ERROR: test_row (apache_beam.transforms.sql_test.SqlTransformTest)
> 11:42:19 
> ----------------------------------------------------------------------
> 11:42:19 Traceback (most recent call last):
> 11:42:19   File 
> "/home/jenkins/jenkins-slave/workspace/beam_PostCommit_XVR_Flink/src/sdks/python/apache_beam/transforms/sql_test.py",
>  line 147, in test_row
> 11:42:19     | SqlTransform("SELECT a*a as s, LENGTH(b) AS c FROM 
> PCOLLECTION"))
> 11:42:19   File 
> "/home/jenkins/jenkins-slave/workspace/beam_PostCommit_XVR_Flink/src/sdks/python/apache_beam/pvalue.py",
>  line 141, in __or__
> 11:42:19     return self.pipeline.apply(ptransform, self)
> 11:42:19   File 
> "/home/jenkins/jenkins-slave/workspace/beam_PostCommit_XVR_Flink/src/sdks/python/apache_beam/pipeline.py",
>  line 655, in apply
> 11:42:19     pvalueish_result = self.runner.apply(transform, pvalueish, 
> self._options)
> 11:42:19   File 
> "/home/jenkins/jenkins-slave/workspace/beam_PostCommit_XVR_Flink/src/sdks/python/apache_beam/runners/runner.py",
>  line 198, in apply
> 11:42:19     return m(transform, input, options)
> 11:42:19   File 
> "/home/jenkins/jenkins-slave/workspace/beam_PostCommit_XVR_Flink/src/sdks/python/apache_beam/runners/runner.py",
>  line 228, in apply_PTransform
> 11:42:19     return transform.expand(input)
> 11:42:19   File 
> "/home/jenkins/jenkins-slave/workspace/beam_PostCommit_XVR_Flink/src/sdks/python/apache_beam/transforms/external.py",
>  line 295, in expand
> 11:42:19     transform_proto.inputs[tag] = context.pcollections.get_id(pcoll)
> 11:42:19   File 
> "/home/jenkins/jenkins-slave/workspace/beam_PostCommit_XVR_Flink/src/sdks/python/apache_beam/runners/pipeline_context.py",
>  line 92, in get_id
> 11:42:19     self._id_to_proto[id] = obj.to_runner_api(self._pipeline_context)
> 11:42:19   File 
> "/home/jenkins/jenkins-slave/workspace/beam_PostCommit_XVR_Flink/src/sdks/python/apache_beam/pvalue.py",
>  line 190, in to_runner_api
> 11:42:19     coder_id=context.coder_id_from_element_type(self.element_type),
> 11:42:19   File 
> "/home/jenkins/jenkins-slave/workspace/beam_PostCommit_XVR_Flink/src/sdks/python/apache_beam/runners/pipeline_context.py",
>  line 219, in coder_id_from_element_type
> 11:42:19     return 
> self.coders.get_id(coders.registry.get_coder(element_type))
> 11:42:19   File 
> "/home/jenkins/jenkins-slave/workspace/beam_PostCommit_XVR_Flink/src/sdks/python/apache_beam/coders/typecoders.py",
>  line 130, in get_coder
> 11:42:19     return coder.from_type_hint(typehint, self)
> 11:42:19   File 
> "/home/jenkins/jenkins-slave/workspace/beam_PostCommit_XVR_Flink/src/sdks/python/apache_beam/coders/row_coder.py",
>  line 90, in from_type_hint
> 11:42:19     schema = named_fields_to_schema(type_hint._fields)
> 11:42:19   File 
> "/home/jenkins/jenkins-slave/workspace/beam_PostCommit_XVR_Flink/src/sdks/python/apache_beam/typehints/schemas.py",
>  line 127, in named_fields_to_schema
> 11:42:19     for (name, type) in names_and_types
> 11:42:19   File 
> "/home/jenkins/jenkins-slave/workspace/beam_PostCommit_XVR_Flink/src/sdks/python/apache_beam/typehints/schemas.py",
>  line 157, in typing_to_runner_api
> 11:42:19     "type 'str' is not supported in python 2. Please use 'unicode' 
> or "
> 11:42:19 ValueError: type 'str' is not supported in python 2. Please use 
> 'unicode' or 'typing.ByteString' instead to unambiguously indicate if this is 
> a UTF-8 string or a byte array.
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to