ClickHouse: support of create table query with primary key and parametrised table engine (#1289)

This commit is contained in:
Aleksei Piianin 2024-06-07 14:19:32 +02:00 committed by GitHub
parent 4b60866bc7
commit 3c33ac15bd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 168 additions and 25 deletions

View file

@ -773,7 +773,13 @@ fn parse_create_table_engine_default_charset() {
},],
columns
);
assert_eq!(engine, Some("InnoDB".to_string()));
assert_eq!(
engine,
Some(TableEngine {
name: "InnoDB".to_string(),
parameters: None
})
);
assert_eq!(default_charset, Some("utf8mb3".to_string()));
}
_ => unreachable!(),