Uploaded image for project: 'ORC'
  1. ORC
  2. ORC-1376

[C++] Support schema evolution

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Reopened
    • Major
    • Resolution: Unresolved
    • None
    • None
    • C++
    • None

    Description

      The Java ORC reader supports schema evolution by comparing readSchema with fileSchema [1] and creates a set of ConvertTreeReaders [2] to do the conversion. The conversion happens when reading columnar data into vector and evaluating expressions for predicate push down. The C++ reader does not support it yet.

      The type conversion on the Java side originates from Apache Hive. We should define what conversions are supposed to implement on the C++ side.

      [1] https://github.com/apache/orc/blob/main/java/core/src/java/org/apache/orc/impl/SchemaEvolution.java
      [2] https://github.com/apache/orc/blob/main/java/core/src/java/org/apache/orc/impl/ConvertTreeReaderFactory.java#L60:14

      Attachments

        Issue Links

          Activity

            People

              ffacs Yuanping Wu
              wgtmac Gang Wu
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: