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

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

                Author: ASF GitHub Bot
            Created on: 22/Oct/18 22:02
            Start Date: 22/Oct/18 22:02
    Worklog Time Spent: 10m 
      Work Description: kennknowles commented on issue #6772: [BEAM-5675] Fix 
RowCoder#verifyDeterministic
URL: https://github.com/apache/beam/pull/6772#issuecomment-432003162
 
 
   It appears that SQL (at least the products and manuals I could find quickly 
- haven't check the standard) supports set operations on floating point values. 
This is an extremely dubious practice, but `Row` should aspire to be the same 
as SQL, I'd say. So `RowCoder` need not delegate to its sub-coders but can just 
examine the schema to decide whether to be deterministc.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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: 157240)
    Time Spent: 3h  (was: 2h 50m)

> RowCoder#verifyDeterministic isn't consistent with Beam coders
> --------------------------------------------------------------
>
>                 Key: BEAM-5675
>                 URL: https://issues.apache.org/jira/browse/BEAM-5675
>             Project: Beam
>          Issue Type: Bug
>          Components: dsl-sql
>    Affects Versions: 2.7.0
>            Reporter: Gleb Kanterov
>            Assignee: Gleb Kanterov
>            Priority: Major
>          Time Spent: 3h
>  Remaining Estimate: 0h
>
> For instance, `DoubleCoder#verifyDeterministic` throws an exception, but 
> `RowCoder#verifyDeterministic` doesn't.
> Expected to throw NonDeterministicException
> {code:java}
> RowCoder.of(
>     Schema
>         .builder()
>         .addField("foo", Schema.FieldType.DOUBLE)
>         .build()
> ).verifyDeterministic();
> {code}



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

Reply via email to