fix:post-build multivalue index report table not exists bug

This commit is contained in:
obdev
2024-10-15 09:14:53 +00:00
committed by ob-robot
parent 6132de1626
commit 157a3c006b
2 changed files with 3 additions and 2 deletions

View File

@ -36,7 +36,7 @@ int ObJsonParser::get_tree(ObIAllocator *allocator, const ObString &text, ObJson
if (OB_FAIL(parse_json_text(allocator, text.ptr(), text.length(),
syntaxerr, &offset, j_tree, parse_flag, max_depth_config))) {
LOG_WARN("fail to parse json text", K(ret), K(text), KCSTRING(syntaxerr));
LOG_WARN("fail to parse json text", K(ret), K(text), K(offset), KCSTRING(syntaxerr));
}
return ret;

View File

@ -112,7 +112,7 @@ int ObFtsIndexBuildTask::init(
tenant_id_ = tenant_id;
task_id_ = task_id;
schema_version_ = schema_version;
parallelism_ = parallelism;
parallelism_ = std::max(parallelism, 1L);
consumer_group_id_ = consumer_group_id;
parent_task_id_ = parent_task_id;
if (snapshot_version > 0) {
@ -122,6 +122,7 @@ int ObFtsIndexBuildTask::init(
target_object_id_ = index_schema->get_table_id();
index_table_id_ = index_schema->get_table_id();
create_index_arg_.exec_tenant_id_ = tenant_id;
create_index_arg_.parallelism_ = parallelism_;
if (index_schema->is_rowkey_doc_id()) {
rowkey_doc_aux_table_id_ = index_table_id_;
} else if (index_schema->is_fts_index_aux()) {