Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-4450

Add seek support to TCompactInputProtocol in Rust

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.11.0
    • 0.12.0
    • Ruby - Library
    • None

    Description

      Per vchekan:

      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.

      Attachments

        Issue Links

          Activity

            People

              jking3 James E. King III
              jking3 James E. King III
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: