File tree Expand file tree Collapse file tree 4 files changed +3
-4
lines changed
main/scala/org/apache/spark/rdd
sql/hive/src/main/scala/org/apache/spark/sql/hive/execution Expand file tree Collapse file tree 4 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ private[spark] class PipedRDD[T: ClassTag](
63
63
64
64
/**
65
65
* A FilenameFilter that accepts anything that isn't equal to the name passed in.
66
- * @param name of file or directory to leave out
66
+ * @param filterName of file or directory to leave out
67
67
*/
68
68
class NotEqualsFileNameFilter (filterName : String ) extends FilenameFilter {
69
69
def accept (dir : File , name : String ): Boolean = {
Original file line number Diff line number Diff line change @@ -1381,7 +1381,7 @@ public void collectUnderlyingScalaRDD() {
1381
1381
data .add (new SomeCustomClass ());
1382
1382
}
1383
1383
JavaRDD <SomeCustomClass > rdd = sc .parallelize (data );
1384
- SomeCustomClass [] collected = ( SomeCustomClass []) rdd .rdd ().retag (SomeCustomClass .class ).collect ();
1384
+ SomeCustomClass [] collected = rdd .rdd ().retag (SomeCustomClass .class ).collect ();
1385
1385
Assert .assertEquals (data .size (), collected .length );
1386
1386
}
1387
1387
Original file line number Diff line number Diff line change @@ -270,7 +270,6 @@ object ShuffleSuite {
270
270
271
271
def mergeCombineException (x : Int , y : Int ): Int = {
272
272
throw new SparkException (" Exception for map-side combine." )
273
- x + y
274
273
}
275
274
276
275
class NonJavaSerializableClass (val value : Int ) extends Comparable [NonJavaSerializableClass ] {
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ import org.apache.spark.sql.hive._
38
38
* :: DeveloperApi ::
39
39
* The Hive table scan operator. Column and partition pruning are both handled.
40
40
*
41
- * @param attributes Attributes to be fetched from the Hive table.
41
+ * @param requestedAttributes Attributes to be fetched from the Hive table.
42
42
* @param relation The Hive table be be scanned.
43
43
* @param partitionPruningPred An optional partition pruning predicate for partitioned table.
44
44
*/
You can’t perform that action at this time.
0 commit comments