Skip to content

Commit 0283406

Browse files
committed
Simplify the testing directory
1 parent 8f3fc4c commit 0283406

File tree

1 file changed

+2
-19
lines changed

1 file changed

+2
-19
lines changed

backends-clickhouse/src/test/scala/org/apache/gluten/utils/UTSystemParameters.scala

+2-19
Original file line numberDiff line numberDiff line change
@@ -34,29 +34,12 @@ object UTSystemParameters {
3434
UTSystemParameters.TEST_DATA_DISK_OUTPUT_KEY,
3535
UTSystemParameters.TEST_DATA_DISK_OUTPUT_DEFAULT_VALUE)
3636
}
37-
38-
private val TPCDS_DATA_PATH_KEY = "tpcds.data.path"
39-
private val TPCDS_DATA_DECIMAL_PATH_KEY = "tpcds.data.decimal.path"
4037
private val TPCDS_RELATIVE_DATA_PATH = "tpcds-data-sf1"
4138
private val TPCDS_DECIMAL_RELATIVE_DATA_PATH = "tpcds-data-sf1-decimal"
4239

43-
def tpcdsDataPath: String = {
44-
val result = System.getProperty(UTSystemParameters.TPCDS_DATA_PATH_KEY, null)
45-
if (result == null) {
46-
s"$testDataPath/$TPCDS_RELATIVE_DATA_PATH"
47-
} else {
48-
result
49-
}
50-
}
40+
def tpcdsDataPath: String = s"$testDataPath/$TPCDS_RELATIVE_DATA_PATH"
5141

52-
def tpcdsDecimalDataPath: String = {
53-
val result = System.getProperty(UTSystemParameters.TPCDS_DATA_DECIMAL_PATH_KEY, null)
54-
if (result == null) {
55-
s"$testDataPath/$TPCDS_DECIMAL_RELATIVE_DATA_PATH"
56-
} else {
57-
result
58-
}
59-
}
42+
def tpcdsDecimalDataPath: String = s"$testDataPath/$TPCDS_DECIMAL_RELATIVE_DATA_PATH"
6043

6144
private val TEST_MERGETREE_ON_OBJECT_STORAGE = "gluten.ch.test.mergetree.object.storage"
6245
private val TEST_MERGETREE_ON_OBJECT_STORAGE_DEFAULT_VALUE = "true"

0 commit comments

Comments
 (0)