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

Yuliya Feldman edited comment on ARROW-2843 at 7/13/18 12:55 AM:
-----------------------------------------------------------------

Thank you [~wesmckinn] for very quick reply and thoughts.

I do understand about "no guarantees" part, but why not do our best to maintain 
backwards compatibility, especially when it is possible.

 

 


was (Author: yufeldman):
Thank you @Wes for very quick reply and thoughts.

I do understand about "no guarantees" part, but why not do our best to maintain 
backwards compatibility, especially when it is possible.

 

 

> [Format/C++/Java] Removing field layout from Schema.fbs breaks backward 
> compatibility
> -------------------------------------------------------------------------------------
>
>                 Key: ARROW-2843
>                 URL: https://issues.apache.org/jira/browse/ARROW-2843
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: Format
>    Affects Versions: 0.8.0, 0.9.0
>            Reporter: Yuliya Feldman
>            Assignee: Yuliya Feldman
>            Priority: Major
>
> Change in [ARROW-1785|https://issues.apache.org/jira/browse/ARROW-1785]
> Breaks backward compatibility with schema generated in prior versions of 
> Arrow, as VectorLayout field was removed from Field table.
> This is definitely not supported behavior in FlatBuffers.
> I suggest to put back following field
> {code:java}
> layout: [ VectorLayout ] (deprecated);
> {code}
>  into 
> {code:java}
> table Field 
> {code}
> and mark it "deprecated" - as shown above
> It will also require putting back 
> {code:java}
> table VectorLayout
> {code}
> which can have all the deprecated fields as well.
> code generation footprint will be minimal in this case, as FlatBuffers won't 
> generate getters for deprecated fields, but it will really solve backward 
> compatibility issues.
> Also may be a good idea to introduce "version" into Schema.
>  
>  
>  



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

Reply via email to