orc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From omalley <...@git.apache.org>
Subject [GitHub] orc pull request #40: ORC-54: Evolve schemas based on field name rather than...
Date Wed, 06 Jul 2016 17:56:13 GMT
Github user omalley commented on a diff in the pull request:

    https://github.com/apache/orc/pull/40#discussion_r69779322
  
    --- Diff: java/core/src/java/org/apache/orc/OrcConf.java ---
    @@ -82,6 +82,12 @@
           "If ORC reader encounters corrupt data, this value will be used to\n" +
               "determine whether to skip the corrupt data or throw exception.\n" +
               "The default behavior is to throw exception."),
    +  TOLERATE_MISSING_SCHEMA("orc.tolerate.missing.schema",
    +      "hive.exec.orc.tolerate.missing.schema",
    +      true,
    +      "Writers earlier than HIVE-4243 may have inaccurate schema metadata.\n"
    +          + "This setting will enable best effort schema evolution rather\n"
    --- End diff --
    
    I'd suggest that the comment include something about using position in the top level structure
as the fallback and that it support adding new columns to the end and changing types, but
not deleting or reordering the top level columns.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message