Skip to content

Commit d85d4ba

Browse files
committed
Addressed all comments
1 parent 8c7c617 commit d85d4ba

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

sql/core/src/main/java/org/apache/spark/sql/execution/datasources/orc/OrcColumnStatistics.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
* tree pre-ordering. This is used for aggregate push down in ORC.
3232
*
3333
* For nested data types (array, map and struct), the sub-field statistics are stored recursively
34-
* inside parent column's `children` field. Here is an example of `OrcColumnStatistics`:
34+
* inside parent column's children field. Here is an example of {@link OrcColumnStatistics}:
3535
*
3636
* Data schema:
3737
* c1: int

sql/core/src/main/java/org/apache/spark/sql/execution/datasources/orc/OrcFooterReader.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
import java.util.Queue;
2828

2929
/**
30-
* `OrcFooterReader` is a util class which encapsulates the helper
30+
* {@link OrcFooterReader} is a util class which encapsulates the helper
3131
* methods of reading ORC file footer.
3232
*/
3333
public class OrcFooterReader {

sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/orc/OrcUtils.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -402,7 +402,7 @@ object OrcUtils extends Logging {
402402
var columnsStatistics: OrcColumnStatistics = null
403403
try {
404404
columnsStatistics = OrcFooterReader.readStatistics(reader)
405-
} catch { case e: RuntimeException =>
405+
} catch { case e: Exception =>
406406
throw new SparkException(
407407
s"Cannot read columns statistics in file: $filePath. Please consider disabling " +
408408
s"ORC aggregate push down by setting 'spark.sql.orc.aggregatePushdown' to false.", e)

0 commit comments

Comments
 (0)