[ 
https://issues.apache.org/jira/browse/AVRO-795?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Thiruvalluvan M. G. updated AVRO-795:
-------------------------------------

    Attachment: AVRO-795.patch

This patch addresses the problem by replacing inheritance with composition.

> C++ Datafile reader makes it hard to build adaptive clients
> -----------------------------------------------------------
>
>                 Key: AVRO-795
>                 URL: https://issues.apache.org/jira/browse/AVRO-795
>             Project: Avro
>          Issue Type: Improvement
>          Components: c++
>    Affects Versions: 1.5.1
>            Reporter: Thiruvalluvan M. G.
>            Assignee: Thiruvalluvan M. G.
>             Fix For: 1.5.1
>
>         Attachments: AVRO-795.patch
>
>
> The current design of data file requires the C++ type for the data to be read 
> is passed as a template argument to the DataFileReader class.
> This makes it hard for the client who want to examine the schema within the 
> data file before deciding the C++ data type. The forthcoming patch addresses 
> this problem.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to