Skip to content

clickhouse GetTables() table_type改变 #199

@silentrc

Description

@silentrc

不清楚具体哪个版本变的,我用的clickhouse/clickhouse-server:24.12.2.29

migrator.go:193 GetTables() table type 为 "BASE TABLE"

err = m.DB.Raw("SELECT TABLE_NAME FROM information_schema.tables where table_schema=? and table_type =1", m.CurrentDatabase()).Scan(&tableList).Error
err = m.DB.Raw("SELECT TABLE_NAME FROM information_schema.tables where table_schema=? and table_type = ?", m.CurrentDatabase(), "BASE TABLE").Scan(&tableList).Error

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions