You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "James E. King, III (JIRA)" <ji...@apache.org> on 2018/01/11 02:11:00 UTC

[jira] [Resolved] (THRIFT-4450) Add seek support to TCompactInputProtocol in Rust

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

James E. King, III resolved THRIFT-4450.
----------------------------------------
    Resolution: Fixed

Committed - thanks!

> Add seek support to TCompactInputProtocol in Rust
> -------------------------------------------------
>
>                 Key: THRIFT-4450
>                 URL: https://issues.apache.org/jira/browse/THRIFT-4450
>             Project: Thrift
>          Issue Type: Improvement
>          Components: Ruby - Library
>    Affects Versions: 0.11.0
>            Reporter: James E. King, III
>            Assignee: James E. King, III
>            Priority: Minor
>             Fix For: 0.12.0
>
>
> Per [~vchekan]:
> {quote}
> When Thrift is used in encoding which combine manual and Thrift serialization, such as Apache Parquet then it is required to be able to position within a file manually.
> https://github.com/apache/parquet-format#file-format
> As TCompactInputProtocol owns value of transport, it is not possible to access it outside of TCompactInputProtocol and perform seek operation.
> This patch implements Seek trait for transports which support it.
> {quote}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)