[
https://issues.apache.org/jira/browse/BEAM-9240?focusedWorklogId=380338&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-380338
]
ASF GitHub Bot logged work on BEAM-9240:
----------------------------------------
Author: ASF GitHub Bot
Created on: 01/Feb/20 11:44
Start Date: 01/Feb/20 11:44
Worklog Time Spent: 10m
Work Description: rahul8383 commented on issue #10744: [BEAM-9240]: Check
for Nullability in typesEqual() method of FieldTyp…
URL: https://github.com/apache/beam/pull/10744#issuecomment-581022230
Run Java PreCommit
----------------------------------------------------------------
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: 380338)
Time Spent: 50m (was: 40m)
> Check for Nullability in typesEqual() method of FieldType class
> ---------------------------------------------------------------
>
> Key: BEAM-9240
> URL: https://issues.apache.org/jira/browse/BEAM-9240
> Project: Beam
> Issue Type: Bug
> Components: dsl-sql
> Affects Versions: 2.18.0
> Reporter: Rahul Patwari
> Assignee: Rahul Patwari
> Priority: Major
> Fix For: 2.19.0
>
> Time Spent: 50m
> Remaining Estimate: 0h
>
> {{If two schemas are created like this:}}
> {{Schema schema1 = Schema.builder().addStringField("col1").build();}}
> {{Schema schema2 = Schema.builder().addNullableField("col1",
> FieldType.STRING).build();}}
>
> {{schema1.typeEquals(schema2) returns "true" even though the schemas differ
> by Nullability}}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)