Github user yuruiz commented on a diff in the pull request:

    https://github.com/apache/orc/pull/273#discussion_r191995946
  
    --- Diff: c++/src/Writer.cc ---
    @@ -122,9 +127,17 @@ namespace orc {
       }
     
       WriterOptions& WriterOptions::setFileVersion(const FileVersion& version) 
{
    -    // Only Hive_0_11 version is supported currently
    -    if (version.getMajor() == 0 && version.getMinor() == 11) {
    +    // Only Hive_0_11 and Hive_0_12 version are supported currently
    +    if (version.getMajor() == 0 && (version.getMinor() == 11 || 
version.getMinor() == 12)) {
    --- End diff --
    
    Done


---

Reply via email to