Uploaded image for project: 'Pig'
  1. Pig
  2. PIG-4059 Pig on Spark
  3. PIG-4540

Remove repetitive org.apache.pig.test.Util#isSparkExecType

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • spark-branch
    • spark
    • None

    Description

      git log|head -n 10
      d0cd773 - (HEAD, origin/spark, spark) PIG-4421: implement visitSkewedJoin in SparkCompiler (Liyun via Xuefu) (6 hours ago) <Xuefu Zhang>

      • c139d87 - PIG-4276: Fix ordering related failures in TestEvalPipeline for Spark (Mohit via Xuefu) (6 hours ago) <Xuefu Zhang>

      In these two patch, Mohit and I all added following function in org.apache.pig.test.Util

        public static boolean isSparkExecType(ExecType execType) {
              if (execType.name().toLowerCase().startsWith("spark")) {
                  return true;
              }
      
              return false;
          }
      

      We need remove one of isSparkExecType(ExecType execType).

      Attachments

        1. PIG-4540.patch
          0.5 kB
          liyunzhang

        Activity

          People

            kellyzly liyunzhang
            kellyzly liyunzhang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: