File tree Expand file tree Collapse file tree 2 files changed +8
-9
lines changed
src/test/scala/org/apache/spark/sql/hbase Expand file tree Collapse file tree 2 files changed +8
-9
lines changed Original file line number Diff line number Diff line change @@ -847,13 +847,4 @@ class HBaseTpcStringFormatMiniTestSuite extends TestBase {
847
847
assert(rows(2 ).get(22 ) == null )
848
848
assert(rows(2 ).get(23 ) == - 4398.98f )
849
849
}
850
-
851
-
852
- private def printRows (rows : Array [Row ]) = {
853
- println(" ======= QUERY RESULTS ======" )
854
- for (i <- 0 until rows.size) {
855
- println(rows(i).mkString(" | " ))
856
- }
857
- println(" ============================" )
858
- }
859
850
}
Original file line number Diff line number Diff line change @@ -173,4 +173,12 @@ abstract class TestBase
173
173
val loadSql = s " LOAD PARALL DATA LOCAL INPATH ' $loadFile' INTO TABLE $tableName"
174
174
runSql(loadSql)
175
175
}
176
+
177
+ def printRows (rows : Array [Row ]) = {
178
+ println(" ======= QUERY RESULTS ======" )
179
+ for (i <- rows.indices) {
180
+ println(rows(i).mkString(" | " ))
181
+ }
182
+ println(" ============================" )
183
+ }
176
184
}
You can’t perform that action at this time.
0 commit comments