Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-7292 Hive on Spark
  3. HIVE-7561

StarterProject: Move from assert to Guava Preconditions.* in Hive on Spark [Spark Branch]

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • spark-branch
    • 1.1.0
    • Spark

    Description

      Hive uses the "assert" keyword all over the place. The problem is that assertions are rarely enabled since they have to be specifically enabled. In the Spark code, e.g. GenSparkUtils, let's use Preconditions.*.

      Attachments

        1. HIVE-7561.2-spark.patch
          12 kB
          Chao Sun
        2. HIVE-7561.3-spark.patch
          12 kB
          Chao Sun
        3. HIVE-7561-spark.patch
          10 kB
          Chao Sun

        Issue Links

          Activity

            People

              csun Chao Sun
              brocknoland Brock Noland
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: