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

Orc bloom filter options are not propagated during file write in spark

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

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 2.0.0
    • SQL
    • None

    Description

      ORC bloom filter is supported by the version of hive used in Spark 1.5.2. However, when trying to create orc file with bloom filter option, it does not make use of it.

      E.g, following orc output does not create the bloom filter even though the options are specified.

          Map<String, String> orcOption = new HashMap<String, String>();
          orcOption.put("orc.bloom.filter.columns", "*");
          hiveContext.sql("select * from accounts where effective_date='2015-12-30'").write().
              format("orc").options(orcOption).save("/tmp/accounts");
      

      Attachments

        Issue Links

        Activity

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

          People

            apachespark Apache Spark
            rajesh.balamohan Rajesh Balamohan
            Votes:
            1 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment