[ 
https://issues.apache.org/jira/browse/AVRO-1702?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16431023#comment-16431023
 ] 

ASF GitHub Bot commented on AVRO-1702:
--------------------------------------

aprgoog commented on a change in pull request #302: AVRO-1702: Added support 
for logical types in the C++ client.
URL: https://github.com/apache/avro/pull/302#discussion_r180186396
 
 

 ##########
 File path: lang/c++/api/GenericDatum.hh
 ##########
 @@ -54,12 +55,15 @@ namespace avro {
  */
 class AVRO_DECL GenericDatum {
     Type type_;
+    LogicalType logicalType_;
     boost::any value_;
 
-    GenericDatum(Type t) : type_(t) { }
+    GenericDatum(Type t, LogicalType logicalType)
 
 Review comment:
   I added the old constructor back. Note however that this is a private 
constructor, so the effect should be limited to the code that is part of the 
class.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


> Add LogicalType support to c++ library
> --------------------------------------
>
>                 Key: AVRO-1702
>                 URL: https://issues.apache.org/jira/browse/AVRO-1702
>             Project: Avro
>          Issue Type: New Feature
>          Components: c++
>            Reporter: peter liu
>            Assignee: peter liu
>            Priority: Major
>
> I'd like to port the logicaltype support to c++ library



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to