[
https://issues.apache.org/jira/browse/AVRO-2211?focusedWorklogId=744792&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-744792
]
ASF GitHub Bot logged work on AVRO-2211:
----------------------------------------
Author: ASF GitHub Bot
Created on: 20/Mar/22 22:35
Start Date: 20/Mar/22 22:35
Worklog Time Spent: 10m
Work Description: zcsizmadia commented on a change in pull request #1597:
URL: https://github.com/apache/avro/pull/1597#discussion_r830675426
##########
File path: lang/csharp/src/apache/test/Schema/SchemaTests.cs
##########
@@ -290,13 +292,99 @@ public void TestRecordDoc(string s, string expectedDoc)
Assert.AreEqual(expectedDoc, roundTrip.Documentation);
}
- [TestCase("{\"type\": \"enum\", \"name\": \"Test\", \"symbols\":
[\"A\", \"B\"]}",
+ [TestCase]
+ public void TestRecordCreation()
Review comment:
other test cases would be useful with some expected result test
parameter as well.
##########
File path: lang/csharp/src/apache/test/Schema/SchemaTests.cs
##########
@@ -311,6 +399,16 @@ public void TestEnum(string s, string[] symbols)
testToString(sc, s);
}
+ [TestCase]
Review comment:
Same as my previous comment about more test cases.
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 744792)
Time Spent: 1h 50m (was: 1h 40m)
> SchemaBuilder equivalent or other means of schema creation
> ----------------------------------------------------------
>
> Key: AVRO-2211
> URL: https://issues.apache.org/jira/browse/AVRO-2211
> Project: Apache Avro
> Issue Type: Wish
> Components: csharp
> Reporter: Dan Stelljes
> Priority: Major
> Labels: pull-request-available
> Time Spent: 1h 50m
> Remaining Estimate: 0h
>
> Currently, the only way to create a schema is via the Schema.Parse method.
> We'd like to be able to build a schema programmatically—would it be possible
> to (1) introduce an analogue to the SchemaBuilder from the Java library or
> (2) expose constructors on Schema and its descendants?
> Would be more than happy to contribute work on this given some direction.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)