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 GitHub Bot (Jira)" <ji...@apache.org> on 2022/08/09 20:30:00 UTC
[jira] [Work logged] (AVRO-3560) avro ignores input after end of avsc json
[ https://issues.apache.org/jira/browse/AVRO-3560?focusedWorklogId=799500&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-799500 ]
ASF GitHub Bot logged work on AVRO-3560:
----------------------------------------
Author: ASF GitHub Bot
Created on: 09/Aug/22 20:29
Start Date: 09/Aug/22 20:29
Worklog Time Spent: 10m
Work Description: radai-rosenblatt commented on PR #1748:
URL: https://github.com/apache/avro/pull/1748#issuecomment-1209842418
@RyanSkraba - any chance of this making it in ?
Issue Time Tracking
-------------------
Worklog Id: (was: 799500)
Time Spent: 1h 40m (was: 1.5h)
> avro ignores input after end of avsc json
> -----------------------------------------
>
> Key: AVRO-3560
> URL: https://issues.apache.org/jira/browse/AVRO-3560
> Project: Apache Avro
> Issue Type: Bug
> Components: java
> Affects Versions: 1.11.0
> Reporter: Radai Rosenblatt
> Assignee: Radai Rosenblatt
> Priority: Major
> Labels: pull-request-available
> Time Spent: 1h 40m
> Remaining Estimate: 0h
>
> try the following unit test:
> {code}
> @Test
> public void littleBobbySchemas() throws Exception {
> Schema.Parser parser = new Schema.Parser();
> parser.setValidate(true);
> parser.setValidateDefaults(true);
> Schema schema = parser.parse("{\"type\": \"string\"}; DROP TABLE STUDENTS");
> Assert.assertNotNull(schema);
> }
> {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)