File tree Expand file tree Collapse file tree 2 files changed +4
-8
lines changed
src/main/scala/edu/berkeley/cs/rise/opaque/benchmark Expand file tree Collapse file tree 2 files changed +4
-8
lines changed Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ object Benchmark {
4646 var numPartitions = 2 * spark.sparkContext
4747 .getConf
4848 .getInt(" spark.executor.instances" , 2 )
49- var size = " sf_small "
49+ var size = " sf_none "
5050
5151 def dataDir : String = {
5252 if (System .getenv(" SPARKSGX_DATA_DIR" ) == null ) {
@@ -97,7 +97,7 @@ object Benchmark {
9797 this .numPartitions = numPartitions.toInt
9898 }
9999 case Array (" --size" , size : String ) => {
100- val supportedSizes = Set (" sf_small" )
100+ val supportedSizes = Set (" sf_small" , " sf_none " )
101101 if (supportedSizes.contains(size)) {
102102 this .size = size
103103 } else {
Original file line number Diff line number Diff line change @@ -31,19 +31,15 @@ object TPCHBenchmark {
3131 " query" -> s " TPC-H $queryNumber" ,
3232 " system" -> Insecure .name) {
3333
34- val df = tpch.performQuery(sqlStr, Insecure )
35- Utils .force(df)
36- df
34+ tpch.performQuery(sqlStr, Insecure ).collect
3735 }
3836
3937 Utils .timeBenchmark(
4038 " distributed" -> (numPartitions > 1 ),
4139 " query" -> s " TPC-H $queryNumber" ,
4240 " system" -> Encrypted .name) {
4341
44- val df = tpch.performQuery(sqlStr, Encrypted )
45- Utils .force(df)
46- df
42+ tpch.performQuery(sqlStr, Encrypted ).collect
4743 }
4844 }
4945
You can’t perform that action at this time.
0 commit comments