Skip to content

Commit

Permalink
Simplify the testing directory
Browse files Browse the repository at this point in the history
  • Loading branch information
baibaichen committed Feb 3, 2025
1 parent e35d260 commit 70a39fd
Showing 1 changed file with 2 additions and 19 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,29 +34,12 @@ object UTSystemParameters {
UTSystemParameters.TEST_DATA_DISK_OUTPUT_KEY,
UTSystemParameters.TEST_DATA_DISK_OUTPUT_DEFAULT_VALUE)
}

private val TPCDS_DATA_PATH_KEY = "tpcds.data.path"
private val TPCDS_DATA_DECIMAL_PATH_KEY = "tpcds.data.decimal.path"
private val TPCDS_RELATIVE_DATA_PATH = "tpcds-data-sf1"
private val TPCDS_DECIMAL_RELATIVE_DATA_PATH = "tpcds-data-sf1-decimal"

def tpcdsDataPath: String = {
val result = System.getProperty(UTSystemParameters.TPCDS_DATA_PATH_KEY, null)
if (result == null) {
s"$testDataPath/$TPCDS_RELATIVE_DATA_PATH"
} else {
result
}
}
def tpcdsDataPath: String = s"$testDataPath/$TPCDS_RELATIVE_DATA_PATH"

def tpcdsDecimalDataPath: String = {
val result = System.getProperty(UTSystemParameters.TPCDS_DATA_DECIMAL_PATH_KEY, null)
if (result == null) {
s"$testDataPath/$TPCDS_DECIMAL_RELATIVE_DATA_PATH"
} else {
result
}
}
def tpcdsDecimalDataPath: String = s"$testDataPath/$TPCDS_DECIMAL_RELATIVE_DATA_PATH"

private val TEST_MERGETREE_ON_OBJECT_STORAGE = "gluten.ch.test.mergetree.object.storage"
private val TEST_MERGETREE_ON_OBJECT_STORAGE_DEFAULT_VALUE = "true"
Expand Down

0 comments on commit 70a39fd

Please sign in to comment.