mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-05-22 07:50:38 +00:00
fix: quote ident on rendered SQL (#2248)
* fix: quote ident on rendered SQL Signed-off-by: Ruihang Xia <waynestxia@gmail.com> * read quote style from query context Signed-off-by: Ruihang Xia <waynestxia@gmail.com> * update sqlness result Signed-off-by: Ruihang Xia <waynestxia@gmail.com> --------- Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
This commit is contained in:
@@ -141,7 +141,8 @@ impl Instance {
|
||||
let table_ref = TableReference::full(&catalog, &schema, &table);
|
||||
let table = self.sql_handler.get_table(&table_ref).await?;
|
||||
|
||||
query::sql::show_create_table(table, None).context(ExecuteStatementSnafu)
|
||||
query::sql::show_create_table(table, None, query_ctx.clone())
|
||||
.context(ExecuteStatementSnafu)
|
||||
}
|
||||
Statement::TruncateTable(truncate_table) => {
|
||||
let (catalog_name, schema_name, table_name) =
|
||||
|
||||
Reference in New Issue
Block a user