mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-05-16 13:00:40 +00:00
test: add basic cases for distributed TQL (#1437)
* test: add basic cases for distributed TQL Signed-off-by: Ruihang Xia <waynestxia@gmail.com> * drop table Signed-off-by: Ruihang Xia <waynestxia@gmail.com> --------- Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
This commit is contained in:
@@ -114,7 +114,8 @@ impl<'a> ParserContext<'a> {
|
||||
// TODO(dennis): supports multi TQL statements separated by ';'?
|
||||
}
|
||||
|
||||
Ok(query.trim().to_string())
|
||||
// remove the last ';' or tailing space if exists
|
||||
Ok(query.trim().trim_end_matches(';').to_string())
|
||||
} else {
|
||||
Err(ParserError::ParserError(format!("{delimiter} not found",)))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user