@ -988,7 +988,7 @@ DEFINE_Bool(enable_index_apply_preds_except_leafnode_of_andnode, "true");
|
||||
|
||||
DEFINE_mBool(variant_enable_flatten_nested, "false");
|
||||
DEFINE_mDouble(variant_ratio_of_defaults_as_sparse_column, "1");
|
||||
DEFINE_mInt64(variant_threshold_rows_to_estimate_sparse_column, "1000");
|
||||
DEFINE_mInt64(variant_threshold_rows_to_estimate_sparse_column, "2048");
|
||||
DEFINE_mBool(variant_throw_exeception_on_invalid_json, "false");
|
||||
|
||||
// block file cache
|
||||
|
||||
@ -18,7 +18,7 @@
|
||||
import org.codehaus.groovy.runtime.IOGroovyMethods
|
||||
|
||||
|
||||
suite("test_compaction_uniq_keys_row_store", "nonConcurrent") {
|
||||
suite("test_compaction_uniq_keys_row_store", "p0") {
|
||||
def realDb = "regression_test_serving_p0"
|
||||
def tableName = realDb + ".compaction_uniq_keys_row_store_regression_test"
|
||||
sql "CREATE DATABASE IF NOT EXISTS ${realDb}"
|
||||
|
||||
@ -15,8 +15,7 @@
|
||||
// specific language governing permissions and limitations
|
||||
// under the License.
|
||||
|
||||
suite("test_variant_index_format_v1", "p0") {
|
||||
|
||||
suite("test_variant_index_format_v1", "p2") {
|
||||
def calc_file_crc_on_tablet = { ip, port, tablet ->
|
||||
return curl("GET", String.format("http://%s:%s/api/calc_crc?tablet_id=%s", ip, port, tablet))
|
||||
}
|
||||
@ -67,8 +67,7 @@ suite("regression_test_variant_with_index", "nonConcurrent"){
|
||||
qt_sql_inv_3 """select * from var_with_index where inv match 'hello' and cast(v["a"] as int) > 0 order by k"""
|
||||
sql "truncate table var_with_index"
|
||||
// set back configs
|
||||
set_be_config.call("variant_ratio_of_defaults_as_sparse_column", "0.95")
|
||||
set_be_config.call("variant_threshold_rows_to_estimate_sparse_column", "1000")
|
||||
set_be_config.call("variant_threshold_rows_to_estimate_sparse_column", "2048")
|
||||
// sql "truncate table ${table_name}"
|
||||
sql """insert into var_with_index values(1, '{"a1" : 0, "b1": 3}', 'hello world'), (2, '{"a2" : 123}', 'world'),(3, '{"a3" : 123}', 'hello world')"""
|
||||
sql """insert into var_with_index values(4, '{"b1" : 0, "b2": 3}', 'hello world'), (5, '{"b2" : 123}', 'world'),(6, '{"b3" : 123}', 'hello world')"""
|
||||
|
||||
@ -17,7 +17,7 @@
|
||||
|
||||
import org.codehaus.groovy.runtime.IOGroovyMethods
|
||||
|
||||
suite("test_compaction_sparse_column", "nonConcurrent") {
|
||||
suite("test_compaction_sparse_column", "p1,nonConcurrent") {
|
||||
def tableName = "test_compaction"
|
||||
|
||||
try {
|
||||
@ -17,7 +17,7 @@
|
||||
|
||||
import org.codehaus.groovy.runtime.IOGroovyMethods
|
||||
|
||||
suite("test_compaction_extract_root", "nonConcurrent") {
|
||||
suite("test_compaction_extract_root", "p1,nonConcurrent") {
|
||||
def tableName = "test_t"
|
||||
|
||||
def backendId_to_backendIP = [:]
|
||||
Reference in New Issue
Block a user