Github user andreweduffy commented on a diff in the pull request:
https://github.com/apache/spark/pull/14671#discussion_r75008463
--- Diff:
sql/core/src/test/scala/org/apache/spark/sql/execution/datasources/parquet/ParquetFilterSuite.scala
---
@@ -40,20 +40,20 @@ import org.apache.spark.util.{AccumulatorContext,
LongAccumulator}
* NOTE:
*
* 1. `!(a cmp b)` is always transformed to its negated form `a cmp' b` by
the
- * `BooleanSimplification` optimization rule whenever possible. As a
result, predicate `!(a < 1)`
- * results in a `GtEq` filter predicate rather than a `Not`.
+ * `BooleanSimplification` optimization rule whenever possible. As a
result, predicate
+ * `!(a < 1)` results in a `GtEq` filter predicate rather than a `Not`.
*
* 2. `Tuple1(Option(x))` is used together with `AnyVal` types like `Int`
to ensure the inferred
* data type is nullable.
*/
class ParquetFilterSuite extends QueryTest with ParquetTest with
SharedSQLContext {
private def checkFilterPredicate(
- df: DataFrame,
- predicate: Predicate,
- filterClass: Class[_ <: FilterPredicate],
- checker: (DataFrame, Seq[Row]) => Unit,
- expected: Seq[Row]): Unit = {
+ df: DataFrame,
--- End diff --
Sorry about the indentation fixes, I can revert all of these.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]