You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2022/02/18 07:07:00 UTC
[jira] [Commented] (AVRO-3382) avro allows creating Schema.FIelds with a null schema
[ https://issues.apache.org/jira/browse/AVRO-3382?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17494412#comment-17494412 ]
ASF subversion and git services commented on AVRO-3382:
-------------------------------------------------------
Commit b8e7d7d4134318ddd7713d610a339b0cea9e12a3 in avro's branch refs/heads/master from Radai Rosenblatt
[ https://gitbox.apache.org/repos/asf?p=avro.git;h=b8e7d7d ]
AVRO-3382 (java) - require Schema argument be != null when creating a Schema.Field (#1550)
* AVRO-3382 (java) - require Schema argument be != null when creating a Schema
* address review comments
Co-authored-by: Radai Rosenblatt <rr...@rrosenbl-mn2.linkedin.biz>
> avro allows creating Schema.FIelds with a null schema
> -----------------------------------------------------
>
> Key: AVRO-3382
> URL: https://issues.apache.org/jira/browse/AVRO-3382
> Project: Apache Avro
> Issue Type: Bug
> Components: java
> Affects Versions: 1.11.0
> Reporter: radai rosenblatt
> Priority: Major
> Labels: pull-request-available
> Time Spent: 40m
> Remaining Estimate: 0h
>
> either directly, or like so:
> {code:java}
> Schema badSchema = SchemaBuilder.builder("com.acme").record("BadRecord")
> .fields().name("hasNoSchema").type((Schema) null).noDefault()
> .endRecord(); {code}
--
This message was sent by Atlassian Jira
(v8.20.1#820001)