Github user cloud-fan commented on a diff in the pull request:

    https://github.com/apache/spark/pull/18704#discussion_r142428980
  
    --- Diff: 
sql/core/src/test/scala/org/apache/spark/sql/execution/columnar/compression/RunLengthEncodingSuite.scala
 ---
    @@ -21,19 +21,22 @@ import org.apache.spark.SparkFunSuite
     import org.apache.spark.sql.catalyst.expressions.GenericInternalRow
     import org.apache.spark.sql.execution.columnar._
     import org.apache.spark.sql.execution.columnar.ColumnarTestUtils._
    +import org.apache.spark.sql.execution.vectorized.OnHeapColumnVector
     import org.apache.spark.sql.types.AtomicType
     
     class RunLengthEncodingSuite extends SparkFunSuite {
    +  val nullValue = -1
       testRunLengthEncoding(new NoopColumnStats, BOOLEAN)
       testRunLengthEncoding(new ByteColumnStats, BYTE)
       testRunLengthEncoding(new ShortColumnStats, SHORT)
       testRunLengthEncoding(new IntColumnStats, INT)
       testRunLengthEncoding(new LongColumnStats, LONG)
    -  testRunLengthEncoding(new StringColumnStats, STRING)
    +  testRunLengthEncoding(new StringColumnStats, STRING, false)
     
       def testRunLengthEncoding[T <: AtomicType](
    -      columnStats: ColumnStats,
    -      columnType: NativeColumnType[T]) {
    +                                              columnStats: ColumnStats,
    +                                              columnType: 
NativeColumnType[T],
    +                                              testDecompress: Boolean = 
true) {
    --- End diff --
    
    ditto


---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to