Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
596 commits
Select commit Hold shift + click to select a range
023573f
add ut test
cpegeric Sep 29, 2025
e6e094e
license
cpegeric Sep 29, 2025
d5896cb
comment unused code
cpegeric Sep 29, 2025
4ca3541
fix sca
cpegeric Sep 29, 2025
5c9c0c6
remove stderr
cpegeric Sep 29, 2025
ef9e30e
update
cpegeric Sep 29, 2025
0ab3101
comment
cpegeric Sep 29, 2025
172552a
rename file
cpegeric Sep 29, 2025
b95eaff
register job at the end
cpegeric Sep 29, 2025
966d692
set size when init VectorIndexCdc
cpegeric Sep 29, 2025
0b65dc6
sql process
cpegeric Sep 30, 2025
747cd34
update hnsw sync
cpegeric Sep 30, 2025
c376e90
update func_hnsw
cpegeric Sep 30, 2025
6c03a20
update index consumer
cpegeric Sep 30, 2025
506c56c
bug fix
cpegeric Sep 30, 2025
902ee1f
bug fix
cpegeric Sep 30, 2025
72db13b
bug fix sync
cpegeric Oct 1, 2025
b2ac564
update
cpegeric Oct 1, 2025
1b80709
update
cpegeric Oct 1, 2025
40baec7
update
cpegeric Oct 1, 2025
4f84f73
update
cpegeric Oct 1, 2025
450b740
bug fix
cpegeric Oct 1, 2025
29d537f
clear cache after save
cpegeric Oct 1, 2025
3e9491a
remove hnsw_cdc_update function
cpegeric Oct 1, 2025
93d39a2
sca
cpegeric Oct 1, 2025
726ad81
remove context cancel. child should have own context with cancel
cpegeric Oct 1, 2025
fb7e170
bug fix
cpegeric Oct 1, 2025
538d9b6
context need timeout
cpegeric Oct 1, 2025
dc72aec
update
cpegeric Oct 2, 2025
50e76ab
update
cpegeric Oct 2, 2025
a162928
download all model files when start sync
cpegeric Oct 2, 2025
821a228
start from zero ts
cpegeric Oct 2, 2025
55b4b02
add startFromNow
cpegeric Oct 2, 2025
6fecc24
update bvt
cpegeric Oct 2, 2025
6036318
update comment
cpegeric Oct 2, 2025
ee19641
runTxnWithSqlContext
cpegeric Oct 2, 2025
8bacdea
update bvt
cpegeric Oct 2, 2025
c37deac
update bvt
cpegeric Oct 2, 2025
7a7d720
update alter copy
cpegeric Oct 3, 2025
996bcbc
remove commented code
cpegeric Oct 3, 2025
d2594aa
txnEventCallback
cpegeric Oct 6, 2025
f06d229
add pre-comment and post-commit event
cpegeric Oct 6, 2025
993fc80
pre/post-commit
cpegeric Oct 6, 2025
a151fb9
with context
cpegeric Oct 6, 2025
8d7be5b
share same commitSeq
cpegeric Oct 6, 2025
027e8e0
check running SQL after pre-commit
cpegeric Oct 6, 2025
ef38ea9
update
cpegeric Oct 6, 2025
416d08d
callback return error
cpegeric Oct 6, 2025
6aa6998
remove PostCommit event
cpegeric Oct 6, 2025
15802fe
Merge branch 'txnevent' into iscp_evt
cpegeric Oct 7, 2025
1ed28ca
fix sca
cpegeric Oct 7, 2025
62e4467
Merge branch 'txnevent' into iscp_evt
cpegeric Oct 7, 2025
e0e20d2
append closed event
cpegeric Oct 7, 2025
f952671
update
cpegeric Oct 7, 2025
f1396fa
remove pre-commit
cpegeric Oct 7, 2025
5a7c93d
Merge branch 'txnevent' into iscp_evt
cpegeric Oct 7, 2025
21ba961
resolveVariableFunc in sqlctx
cpegeric Oct 7, 2025
1a5ae63
callback with data
cpegeric Oct 7, 2025
c01a2b5
ivfflat fully async
cpegeric Oct 7, 2025
99d9e2c
track triggerEvent in defer
cpegeric Oct 8, 2025
1a29936
join error
cpegeric Oct 8, 2025
5e68a8a
Merge branch 'txnevent' into iscp_final
cpegeric Oct 8, 2025
0dce82b
skip async index when clone
cpegeric Oct 9, 2025
1cf898d
update
cpegeric Oct 9, 2025
070a99f
avoid truncate table
cpegeric Oct 9, 2025
7a219eb
Merge branch 'main' into iscp_final
cpegeric Oct 9, 2025
ace3334
Merge branch 'main' into iscp_final
mergify[bot] Oct 9, 2025
4f32d1a
avoid truncate table
cpegeric Oct 9, 2025
c4c9f05
clone and check duplicate
cpegeric Oct 10, 2025
580078e
update iteration
jiangxinmeng1 Oct 10, 2025
b2ac42a
merge fix
cpegeric Oct 10, 2025
5929210
update retry
jiangxinmeng1 Oct 10, 2025
895a951
update
jiangxinmeng1 Oct 10, 2025
f30172f
Revert "clone and check duplicate"
cpegeric Oct 10, 2025
1726534
add ut
jiangxinmeng1 Oct 11, 2025
7d8e3c4
encode base64
jiangxinmeng1 Oct 11, 2025
162811b
fix
jiangxinmeng1 Oct 11, 2025
2674479
update ut
jiangxinmeng1 Oct 11, 2025
0aa8096
sca problems
jiangxinmeng1 Oct 11, 2025
1a10392
fix ut
jiangxinmeng1 Oct 11, 2025
57787b3
fix
jiangxinmeng1 Oct 11, 2025
b1af684
bug fix
cpegeric Oct 11, 2025
103c3de
Merge pull request #3 from jiangxinmeng1/iscp_final
cpegeric Oct 13, 2025
968d469
initSql
cpegeric Oct 13, 2025
75cd709
Merge branch 'iscp_final' into iscp_fast
cpegeric Oct 13, 2025
db9c33c
unload when model is full at the end of update
cpegeric Oct 13, 2025
f372d9a
bug fix ut
cpegeric Oct 13, 2025
774a770
fix sca and remove unused code
cpegeric Oct 13, 2025
1379282
merge
cpegeric Oct 13, 2025
20bcb56
Merge branch 'main' into iscp_final
cpegeric Oct 13, 2025
aa6916d
update
jiangxinmeng1 Oct 14, 2025
2c0146c
fix
jiangxinmeng1 Oct 14, 2025
5c320b8
Merge pull request #4 from jiangxinmeng1/iscp_final
cpegeric Oct 14, 2025
b97274a
gofmt
cpegeric Oct 14, 2025
aee397a
update
jiangxinmeng1 Oct 14, 2025
cf78c86
Merge pull request #5 from jiangxinmeng1/iscp_final
cpegeric Oct 14, 2025
97bdffa
update
cpegeric Oct 14, 2025
5df1ecf
debug iscp start
jiangxinmeng1 Oct 16, 2025
1777d7d
Merge pull request #6 from jiangxinmeng1/iscp_final
cpegeric Oct 16, 2025
94604d2
update
jiangxinmeng1 Oct 16, 2025
ea6a29f
Merge pull request #7 from jiangxinmeng1/iscp_final
cpegeric Oct 16, 2025
7d06872
sca
cpegeric Oct 16, 2025
7c2acdb
bug fix return err
cpegeric Oct 16, 2025
aaef285
iscp check lease
jiangxinmeng1 Oct 20, 2025
354e6d6
Merge pull request #8 from jiangxinmeng1/iscp_final
cpegeric Oct 20, 2025
ece36e5
merge fix
cpegeric Oct 20, 2025
38451c2
sca
cpegeric Oct 20, 2025
a02a3a8
update iscp init
jiangxinmeng1 Oct 21, 2025
1fe2b73
update iscp init
jiangxinmeng1 Oct 21, 2025
9c73048
sca
jiangxinmeng1 Oct 21, 2025
6ac760d
update
jiangxinmeng1 Oct 21, 2025
577a493
update
jiangxinmeng1 Oct 21, 2025
0c0156a
Merge pull request #9 from jiangxinmeng1/iscp_final
cpegeric Oct 21, 2025
2b3246b
fix ut
jiangxinmeng1 Oct 21, 2025
3c69c42
Merge pull request #10 from jiangxinmeng1/iscp_final
cpegeric Oct 21, 2025
b4e3ffd
check UPSERT is update or insert
cpegeric Oct 22, 2025
77ba36a
Merge branch 'iscp_final' of github.com:cpegeric/matrixone into iscp_…
cpegeric Oct 22, 2025
672262c
check executor is already running
cpegeric Oct 22, 2025
9369031
replace mutex with atomic bool
cpegeric Oct 22, 2025
5763649
bug fix
cpegeric Oct 22, 2025
169fdda
fix
jiangxinmeng1 Oct 23, 2025
4f12b43
update data retriever
jiangxinmeng1 Oct 23, 2025
14bfbee
bug fix check get index catalog with indexname
cpegeric Oct 23, 2025
996ceaa
remove random search result
cpegeric Oct 23, 2025
37cb38e
f64 bvt
cpegeric Oct 23, 2025
8a45d7b
Merge pull request #11 from jiangxinmeng1/iscp_final
cpegeric Oct 23, 2025
ece2970
hnswsync with indexdef as input parameter
cpegeric Oct 23, 2025
e238aa2
bvt test
cpegeric Oct 23, 2025
42f77d8
remove unused code
cpegeric Oct 23, 2025
fc62e86
fix iteration.from
jiangxinmeng1 Oct 24, 2025
fddbfb6
merge fix
cpegeric Oct 24, 2025
b0cb582
update
jiangxinmeng1 Oct 24, 2025
786546f
reduce sleep time
cpegeric Oct 24, 2025
3618247
update
cpegeric Oct 24, 2025
d373576
update
cpegeric Oct 24, 2025
8aa8fbb
Merge branch 'main' into iscp_final
cpegeric Oct 24, 2025
f151609
revert
cpegeric Oct 24, 2025
0460c63
update
jiangxinmeng1 Oct 27, 2025
275fa17
Merge branch 'iscp_final' into iscp_final_job_config
jiangxinmeng1 Oct 27, 2025
edb70aa
update
jiangxinmeng1 Oct 27, 2025
f4947cd
Merge pull request #12 from jiangxinmeng1/iscp_final
cpegeric Oct 27, 2025
f1df392
fix IVF with NULL vector
cpegeric Oct 27, 2025
77ac896
fix sca
cpegeric Oct 27, 2025
a24acbd
update
jiangxinmeng1 Oct 30, 2025
7846379
crontask
cpegeric Oct 30, 2025
5a71124
create table mo_index_update
cpegeric Oct 30, 2025
5b7f424
check executor running
cpegeric Oct 30, 2025
1123d10
Merge pull request #13 from jiangxinmeng1/iscp_final
cpegeric Oct 31, 2025
9305d97
update
cpegeric Oct 31, 2025
9a47d51
Merge branch 'main' into iscp_final
cpegeric Oct 31, 2025
50b852c
fix: sqlProcess
cpegeric Oct 31, 2025
e1b5e1a
remove unknown result bvt test
cpegeric Oct 31, 2025
ddca3ba
Merge branch 'main' into iscp_final
cpegeric Nov 3, 2025
731fe64
merge fix
cpegeric Nov 3, 2025
6d1fd3f
Merge branch 'iscp_final' into iscp_cronjob
cpegeric Nov 3, 2025
1f8af17
mo_index_update table
cpegeric Nov 3, 2025
068202b
merge fix
cpegeric Nov 4, 2025
31c5f1c
Merge branch 'iscp_final' into iscp_cronjob
cpegeric Nov 4, 2025
2a8b126
alter reindex
cpegeric Nov 4, 2025
1ee3f31
report error
cpegeric Nov 4, 2025
49e7cd2
cleanup
cpegeric Nov 4, 2025
b99ada6
cmd
cpegeric Nov 4, 2025
c8afbe6
update sql
cpegeric Nov 4, 2025
c9a7c73
json parser
cpegeric Nov 4, 2025
1c925c4
type constant
cpegeric Nov 4, 2025
447db4e
update type
cpegeric Nov 5, 2025
7b17b57
update
cpegeric Nov 5, 2025
e94da1e
update
cpegeric Nov 5, 2025
c6aa8dd
update
cpegeric Nov 5, 2025
1ccc24f
cleanup
cpegeric Nov 5, 2025
9756515
check metadata is nil
cpegeric Nov 5, 2025
e00bf16
check metadata nil
cpegeric Nov 5, 2025
39eb099
update
cpegeric Nov 5, 2025
7f7163f
cleanup
cpegeric Nov 5, 2025
1b8a5e0
merge fix
cpegeric Nov 5, 2025
f42afe6
relocate metadata
cpegeric Nov 5, 2025
329ac19
relocate metadata
cpegeric Nov 5, 2025
f227597
comment
cpegeric Nov 5, 2025
3982250
update
cpegeric Nov 5, 2025
955fad1
Metadata from JSON string
cpegeric Nov 5, 2025
1687207
license
cpegeric Nov 5, 2025
5bea2c8
comment
cpegeric Nov 6, 2025
c2644f0
Merge branch 'main' into iscp_cronjob
cpegeric Nov 8, 2025
0f26292
check index updatable
cpegeric Nov 10, 2025
eee071d
Fix: typo and more tests
cpegeric Nov 10, 2025
af50e75
update
cpegeric Nov 10, 2025
c93569c
modify set
cpegeric Nov 11, 2025
fa4a2f6
update
cpegeric Nov 11, 2025
b9487ad
update
cpegeric Nov 11, 2025
5163025
add update last_update_at sql
cpegeric Nov 11, 2025
f26f3c9
gostub
cpegeric Nov 11, 2025
30fddf3
gostub
cpegeric Nov 11, 2025
528bdb9
add tests
cpegeric Nov 11, 2025
4cecc37
update
cpegeric Nov 11, 2025
e47aa57
check createdAt
cpegeric Nov 12, 2025
0f6bb87
unregister by table id
cpegeric Nov 12, 2025
449993a
integration
cpegeric Nov 12, 2025
60a554d
Create Table
cpegeric Nov 12, 2025
c4e9b6b
rename table and alter table drop column
cpegeric Nov 12, 2025
ccb0ac2
support int8 in config
cpegeric Nov 12, 2025
6ad65ce
change experimental to int8 bool
cpegeric Nov 12, 2025
d723652
add more variables required
cpegeric Nov 12, 2025
ecdb7c5
check reindex caller is from frontend or background
cpegeric Nov 12, 2025
a0574c8
add UT tests
cpegeric Nov 13, 2025
1630c74
more tests
cpegeric Nov 13, 2025
5bd7287
fix bytejson invalid memory by CloneBytesAt
cpegeric Nov 13, 2025
91901e7
Merge branch 'main' into iscp_cronjob
cpegeric Nov 19, 2025
ba3aa9a
Merge branch 'main' into iscp_cronjob
cpegeric Nov 24, 2025
5e8bf99
Merge branch 'main' into iscp_cronjob
cpegeric Nov 24, 2025
651893f
bug fix createAllIndexUpdateTasks
cpegeric Nov 24, 2025
5a14904
Fix clone by setting default variable when val is nil
cpegeric Nov 24, 2025
b382e13
update iteration
cpegeric Nov 24, 2025
efe03d0
update status
cpegeric Nov 24, 2025
82a0aaa
update bvt test to add mo_index_update table
cpegeric Nov 24, 2025
577ec6e
update bvt tests for mo_index_update
cpegeric Nov 24, 2025
212dd0c
check context cancelled
cpegeric Nov 24, 2025
c387984
Merge branch 'main' into iscp_cronjob
cpegeric Nov 24, 2025
616dda9
add time to status
cpegeric Nov 24, 2025
793e5bf
add tests
cpegeric Nov 24, 2025
7a0b96f
save status
cpegeric Nov 24, 2025
dcd078c
more tests
cpegeric Nov 24, 2025
67c941a
more tests
cpegeric Nov 24, 2025
4cd8314
check no define account
cpegeric Nov 24, 2025
49da329
runCmdSql error
cpegeric Nov 24, 2025
5db3df1
only drop require index when drop table
cpegeric Nov 25, 2025
498c4f4
fix sca
cpegeric Nov 25, 2025
5f96226
fix sca
cpegeric Nov 25, 2025
cf04e2e
alter table only drop index update when required
cpegeric Nov 25, 2025
4d5d5b9
remove unused code
cpegeric Nov 25, 2025
234ffa3
autoupdate option
cpegeric Nov 25, 2025
b56304f
update crontab
cpegeric Nov 25, 2025
20f3660
update primary key
cpegeric Nov 25, 2025
c198289
fix bvt
cpegeric Nov 26, 2025
6e1a46d
Merge branch 'main' into iscp_cronjob
cpegeric Nov 26, 2025
617d79c
add reason for skipped index update
cpegeric Nov 26, 2025
2fbba5d
skipped state
cpegeric Nov 26, 2025
123852a
remove stderr
cpegeric Nov 26, 2025
846e30c
bug fix skipped index not update lastUpdateAt
cpegeric Nov 26, 2025
4aa7631
wait 2 week if sample exceed upper limit and better time format
cpegeric Nov 26, 2025
3c875dd
Merge branch 'main' into iscp_cronjob
cpegeric Nov 27, 2025
18cc95e
fix merge
cpegeric Nov 28, 2025
bf5fec5
force synchronous mode for reindex
cpegeric Nov 28, 2025
7138597
force sync for reindex async ivfflat index
cpegeric Nov 28, 2025
2a525e8
reindex don't need to set LISTS
cpegeric Nov 28, 2025
e9259d4
lists can be equal to 0 and keep using original config
cpegeric Nov 28, 2025
a2b3b69
add bvt test
cpegeric Nov 28, 2025
719c8fa
check compatibility
cpegeric Nov 28, 2025
ddad591
update check table sql
cpegeric Nov 28, 2025
dabeefa
fix merge
cpegeric Nov 28, 2025
b6bf38a
merge fix
cpegeric Dec 4, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions pkg/bootstrap/versions/v4_0_0/cluster_upgrade_list.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ import (
var clusterUpgEntries = []versions.UpgradeEntry{
upg_mo_iscp_log_new,
upg_mo_iscp_task,
upg_mo_index_update_new,
upg_create_mo_branch_metadata,
upg_rename_system_stmt_info_4000,
upg_create_system_stmt_info_4000,
Expand Down Expand Up @@ -53,6 +54,16 @@ var upg_mo_iscp_task = versions.UpgradeEntry{
},
}

var upg_mo_index_update_new = versions.UpgradeEntry{
Schema: catalog.MO_CATALOG,
TableName: catalog.MO_INDEX_UPDATE,
UpgType: versions.CREATE_NEW_TABLE,
UpgSql: frontend.MoCatalogMoIndexUpdateDDL,
CheckFunc: func(txn executor.TxnExecutor, accountId uint32) (bool, error) {
return versions.CheckTableDefinition(txn, accountId, catalog.MO_CATALOG, catalog.MO_INDEX_UPDATE)
},
}

var upg_create_mo_branch_metadata = versions.UpgradeEntry{
Schema: catalog.MO_CATALOG,
TableName: catalog.MO_BRANCH_METADATA,
Expand Down
2 changes: 2 additions & 0 deletions pkg/catalog/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,8 @@ const (
MO_ISCP_LOG = "mo_iscp_log"
MO_STORED_PROCEDURE = "mo_stored_procedure"

MO_INDEX_UPDATE = "mo_index_update"

MO_BRANCH_METADATA = "mo_branch_metadata"
)

Expand Down
10 changes: 10 additions & 0 deletions pkg/cnservice/server_task.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ import (
db_holder "github.com/matrixorigin/matrixone/pkg/util/export/etl/db"
ie "github.com/matrixorigin/matrixone/pkg/util/internalExecutor"
"github.com/matrixorigin/matrixone/pkg/util/metric/mometric"
"github.com/matrixorigin/matrixone/pkg/vectorindex/idxcron"
"github.com/matrixorigin/matrixone/pkg/vm/engine/disttae"
"github.com/matrixorigin/matrixone/pkg/vm/engine/tae/common"
"go.uber.org/zap"
Expand Down Expand Up @@ -338,4 +339,13 @@ func (s *service) registerExecutorsLocked() {
common.ISCPAllocator,
),
)

s.task.runner.RegisterExecutor(task.TaskCode_IndexUpdateTaskExecutor,
idxcron.IndexUpdateTaskExecutorFactory(
s.cfg.UUID,
s.storeEngine,
s._txnClient,
common.ISCPAllocator,
),
)
}
9 changes: 8 additions & 1 deletion pkg/container/bytejson/bytejson.go
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,14 @@ func (bj ByteJson) GetUint64() uint64 {
}

func (bj ByteJson) GetFloat64() float64 {
return math.Float64frombits(bj.GetUint64())
switch bj.Type {
case TpCodeInt64:
return float64(bj.GetInt64())
case TpCodeUint64:
return float64(bj.GetUint64())
default:
return math.Float64frombits(bj.GetUint64())
}
}

func (bj ByteJson) GetString() []byte {
Expand Down
7 changes: 6 additions & 1 deletion pkg/frontend/authenticate.go
Original file line number Diff line number Diff line change
Expand Up @@ -933,6 +933,7 @@ var (
catalog.MO_TABLE_STATS: 0,
catalog.MO_MERGE_SETTINGS: 0,
catalog.MO_ISCP_LOG: 0,
catalog.MO_INDEX_UPDATE: 0,
catalog.MO_BRANCH_METADATA: 0,
}
sysAccountTables = map[string]struct{}{
Expand Down Expand Up @@ -979,6 +980,7 @@ var (
catalog.MO_ACCOUNT_LOCK: 0,
catalog.MO_MERGE_SETTINGS: 0,
catalog.MO_ISCP_LOG: 0,
catalog.MO_INDEX_UPDATE: 0,
catalog.MO_BRANCH_METADATA: 0,
}
createDbInformationSchemaSql = "create database information_schema;"
Expand Down Expand Up @@ -1021,6 +1023,7 @@ var (
MoCatalogMergeSettingsDDL,
MoCatalogMergeSettingsInitData,
MoCatalogMoISCPLogDDL,
MoCatalogMoIndexUpdateDDL,
MoCatalogBranchMetadataDDL,
}

Expand Down Expand Up @@ -7829,7 +7832,9 @@ func createTablesInMoCatalogOfGeneralTenant2(bh BackgroundExec, ca *createAccoun
if strings.HasPrefix(sql, fmt.Sprintf("CREATE TABLE mo_catalog.%s", catalog.MO_ISCP_LOG)) {
return true
}

if strings.HasPrefix(sql, fmt.Sprintf("CREATE TABLE mo_catalog.%s", catalog.MO_INDEX_UPDATE)) {
return true
}
if strings.HasPrefix(sql, fmt.Sprintf("create table mo_catalog.%s", catalog.MO_BRANCH_METADATA)) {
return true
}
Expand Down
14 changes: 14 additions & 0 deletions pkg/frontend/predefined.go
Original file line number Diff line number Diff line change
Expand Up @@ -282,6 +282,20 @@ var (
primary key(account_id, table_id, job_name, job_id)
)`

MoCatalogMoIndexUpdateDDL = `CREATE TABLE mo_catalog.mo_index_update (
account_id INT UNSIGNED NOT NULL,
table_id BIGINT UNSIGNED NOT NULL,
db_name VARCHAR NOT NULL,
table_name VARCHAR NOT NULL,
index_name VARCHAR NOT NULL,
action VARCHAR NOT NULL,
metadata JSON NOT NULL,
status JSON NOT NULL,
create_at TIMESTAMP NOT NULL,
last_update_at TIMESTAMP NULL,
primary key(account_id, table_id, index_name, action)
)`

MoCatalogMoSessionsDDL = `CREATE VIEW mo_catalog.mo_sessions AS SELECT node_id, conn_id, session_id, account, user, host, db, session_start, command, info, txn_id, statement_id, statement_type, query_type, sql_source_type, query_start, client_host, role, proxy_host FROM mo_sessions() AS mo_sessions_tmp`
MoCatalogMoConfigurationsDDL = `CREATE VIEW mo_catalog.mo_configurations AS SELECT node_type, node_id, name, current_value, default_value, internal FROM mo_configurations() AS mo_configurations_tmp`
MoCatalogMoLocksDDL = `CREATE VIEW mo_catalog.mo_locks AS SELECT cn_id, txn_id, table_id, lock_key, lock_content, lock_mode, lock_status, lock_wait FROM mo_locks() AS mo_locks_tmp`
Expand Down
10 changes: 5 additions & 5 deletions pkg/frontend/variables.go
Original file line number Diff line number Diff line change
Expand Up @@ -3552,7 +3552,7 @@ var gSysVarsDefs = map[string]SystemVariable{
Dynamic: true,
SetVarHintApplies: false,
Type: InitSystemVariableBoolType("experimental_ivf_index"),
Default: int64(0),
Default: int8(0),
},
"ivf_threads_build": {
Name: "ivf_threads_build",
Expand Down Expand Up @@ -3583,8 +3583,8 @@ var gSysVarsDefs = map[string]SystemVariable{
Scope: ScopeBoth,
Dynamic: true,
SetVarHintApplies: false,
Type: InitSystemVariableIntType("kmeans_train_percent", 1, 100, false),
Default: int64(10),
Type: InitSystemVariableDoubleType("kmeans_train_percent", 0, 100),
Default: float64(10),
},
"kmeans_max_iteration": {
Name: "kmeans_max_iteration",
Expand All @@ -3608,7 +3608,7 @@ var gSysVarsDefs = map[string]SystemVariable{
Dynamic: true,
SetVarHintApplies: false,
Type: InitSystemVariableBoolType("experimental_fulltext_index"),
Default: int64(0),
Default: int8(0),
},
"ft_relevancy_algorithm": {
Name: fulltext.FulltextRelevancyAlgo,
Expand All @@ -3624,7 +3624,7 @@ var gSysVarsDefs = map[string]SystemVariable{
Dynamic: true,
SetVarHintApplies: false,
Type: InitSystemVariableBoolType("experimental_hnsw_index"),
Default: int64(0),
Default: int8(0),
},
"hnsw_threads_build": {
Name: "hnsw_threads_build",
Expand Down
Loading
Loading