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

ASF GitHub Bot logged work on AVRO-2211:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 02/Apr/22 21:24
            Start Date: 02/Apr/22 21:24
    Worklog Time Spent: 10m 
      Work Description: yanivru commented on a change in pull request #1597:
URL: https://github.com/apache/avro/pull/1597#discussion_r841120927



##########
File path: lang/csharp/src/apache/main/Schema/RecordSchema.cs
##########
@@ -162,13 +281,30 @@ private static Field createField(JToken jfield, int pos, 
SchemaNames names, stri
             return new Field(schema, name, aliases, pos, doc, defaultValue, 
sortorder, props);
         }
 
-        private static void addToFieldMap(Dictionary<string, Field> map, 
string name, Field field)
+        private static void addParsedFieldToFieldMap(Dictionary<string, Field> 
map, string name, Field field)
         {
             if (map.ContainsKey(name))
                 throw new SchemaParseException("field or alias " + name + " is 
a duplicate name");
             map.Add(name, field);
         }
 
+        private static void addToFieldMap(Dictionary<string, Field> map, 
string name, Field field)

Review comment:
       Done




-- 
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: 751994)
    Time Spent: 4h 20m  (was: 4h 10m)

> 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: 4h 20m
>  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)

Reply via email to