You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by "Reuven Lax (JIRA)" <ji...@apache.org> on 2018/08/14 04:02:00 UTC

[jira] [Commented] (BEAM-5146) GetterBasedSchemaProvider might create inconsistent views of the same schema

    [ https://issues.apache.org/jira/browse/BEAM-5146?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16579227#comment-16579227 ] 

Reuven Lax commented on BEAM-5146:
----------------------------------

This caused a failure reported by a user on Stackoverflow: https://stackoverflow.com/questions/51815416/beam-sql-failing-while-running-with-dataflow-runner

> GetterBasedSchemaProvider might create inconsistent views of the same schema
> ----------------------------------------------------------------------------
>
>                 Key: BEAM-5146
>                 URL: https://issues.apache.org/jira/browse/BEAM-5146
>             Project: Beam
>          Issue Type: Bug
>          Components: sdk-java-core
>            Reporter: Reuven Lax
>            Assignee: Reuven Lax
>            Priority: Major
>
> schemaFor is called inside the toRowFunction, and schemaFor is not deterministic (since Java reflection order is not deterministic). Since the toRowFunction is invoked on each worker separately, this creates inconsistent views of the schema.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)