You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: spark-3.3/clickhouse-spark-it/src/test/scala/org/apache/spark/sql/clickhouse/cluster/TPCDSClusterSuite.scala
+3Lines changed: 3 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -38,6 +38,8 @@ class TPCDSClusterSuite extends SparkClickHouseClusterTest {
38
38
spark.sql("CREATE DATABASE tpcds_sf1_cluster WITH DBPROPERTIES (cluster = 'single_replica')")
39
39
40
40
TPCDSTestUtils.tablePrimaryKeys.foreach { case (table, primaryKeys) =>
41
+
println(s"before table ${table}${primaryKeys}")
42
+
valstart:Long=System.currentTimeMillis()
41
43
spark.sql(
42
44
s"""
43
45
|CREATE TABLE tpcds_sf1_cluster.$table
@@ -51,6 +53,7 @@ class TPCDSClusterSuite extends SparkClickHouseClusterTest {
51
53
|SELECT * FROM tpcds.sf1.$table;
52
54
|""".stripMargin
53
55
)
56
+
println(s"time took table ${table}${System.currentTimeMillis() - start}")
Copy file name to clipboardExpand all lines: spark-3.4/clickhouse-spark-it/src/test/scala/org/apache/spark/sql/clickhouse/cluster/TPCDSClusterSuite.scala
+3Lines changed: 3 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -38,6 +38,8 @@ class TPCDSClusterSuite extends SparkClickHouseClusterTest {
38
38
spark.sql("CREATE DATABASE tpcds_sf1_cluster WITH DBPROPERTIES (cluster = 'single_replica')")
39
39
40
40
TPCDSTestUtils.tablePrimaryKeys.foreach { case (table, primaryKeys) =>
41
+
println(s"before table ${table}${primaryKeys}")
42
+
valstart:Long=System.currentTimeMillis()
41
43
spark.sql(
42
44
s"""
43
45
|CREATE TABLE tpcds_sf1_cluster.$table
@@ -51,6 +53,7 @@ class TPCDSClusterSuite extends SparkClickHouseClusterTest {
51
53
|SELECT * FROM tpcds.sf1.$table;
52
54
|""".stripMargin
53
55
)
56
+
println(s"time took table ${table}${System.currentTimeMillis() - start}")
Copy file name to clipboardExpand all lines: spark-3.5/clickhouse-spark-it/src/test/scala/org/apache/spark/sql/clickhouse/cluster/TPCDSClusterSuite.scala
+4Lines changed: 4 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -38,6 +38,8 @@ class TPCDSClusterSuite extends SparkClickHouseClusterTest {
38
38
spark.sql("CREATE DATABASE tpcds_sf1_cluster WITH DBPROPERTIES (cluster = 'single_replica')")
39
39
40
40
TPCDSTestUtils.tablePrimaryKeys.foreach { case (table, primaryKeys) =>
41
+
println(s"before table ${table}${primaryKeys}")
42
+
valstart:Long=System.currentTimeMillis()
41
43
spark.sql(
42
44
s"""
43
45
|CREATE TABLE tpcds_sf1_cluster.$table
@@ -51,9 +53,11 @@ class TPCDSClusterSuite extends SparkClickHouseClusterTest {
51
53
|SELECT * FROM tpcds.sf1.$table;
52
54
|""".stripMargin
53
55
)
56
+
println(s"time took table ${table}${System.currentTimeMillis() - start}")
0 commit comments