Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-26932

Add a warning for Hive 2.1.1 ORC reader issue

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Documentation
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.3.0, 2.3.1, 2.3.2, 2.3.3, 2.4.0
    • 2.4.1, 3.0.0
    • Documentation
    • None

    Description

      As of Spark 2.3 and Hive 2.3, both supports using apache/orc as orc writer and reader. In older version of Hive, orc reader(isn't forward-compitaient) implemented by its own.

      So Hive 2.2 and older can not read orc table created by spark 2.3 and newer which using apache/orc instead of Hive orc.

      I think we should add these information into Spark2.4 orc configuration file : https://spark.apache.org/docs/2.4.0/sql-data-sources-orc.html

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            haiboself Bo Hai
            haiboself Bo Hai
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment