mirror of
https://github.com/tencentmusic/supersonic.git
synced 2026-04-28 20:04:27 +08:00
(improvement)(semantic) Add is_tag label to the dimension and Specify entity alias on datasource primary-key (#411)
Co-authored-by: jolunoluo
This commit is contained in:
@@ -226,6 +226,7 @@ CREATE TABLE IF NOT EXISTS `s2_dimension` (
|
||||
`alias` varchar(500) DEFAULT NULL,
|
||||
`default_values` varchar(500) DEFAULT NULL,
|
||||
`dim_value_maps` varchar(500) DEFAULT NULL,
|
||||
`is_tag` INT DEFAULT NULL,
|
||||
PRIMARY KEY (`id`)
|
||||
);
|
||||
COMMENT ON TABLE s2_dimension IS 'dimension information table';
|
||||
|
||||
@@ -219,6 +219,7 @@ CREATE TABLE `s2_dimension` (
|
||||
`alias` varchar(500) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT NULL,
|
||||
`default_values` varchar(500) DEFAULT NULL,
|
||||
`dim_value_maps` varchar(5000) DEFAULT NULL,
|
||||
`is_tag` int(10) DEFAULT NULL,
|
||||
PRIMARY KEY (`id`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='维度表';
|
||||
|
||||
|
||||
@@ -93,4 +93,7 @@ CREATE TABLE s2_sys_parameter
|
||||
alter table s2_chat_config add column `llm_examples` text COMMENT 'llm examples';
|
||||
|
||||
--20231116
|
||||
alter table s2_datasource add column `filter_sql` varchar(1000) COMMENT 'filter_sql' after depends;
|
||||
alter table s2_datasource add column `filter_sql` varchar(1000) COMMENT 'filter_sql' after depends;
|
||||
|
||||
--20231120
|
||||
alter table s2_dimension add column `is_tag` int(10) DEFAULT NULL;
|
||||
Reference in New Issue
Block a user