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]

    Details

    • Type: Sub-task Sub-task
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: spark-branch
    • Fix Version/s: 1.1.0
    • Component/s: Spark
    • Labels:

      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.*.

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

        Issue Links

          Activity

          No work has yet been logged on this issue.

            People

            • Assignee:
              Chao Sun
              Reporter:
              Brock Noland
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development