From 74021c2d5a53e20eb290bd586a6a328ec8b5f505 Mon Sep 17 00:00:00 2001 From: kitsuyui Date: Mon, 11 Jul 2016 16:46:17 +0900 Subject: [PATCH] Fix: #1178 Left Pane is not shown when database contains table that name has unicode characters (MSSQL) - Update table_name to be unicode (not str). --- redash/query_runner/mssql.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/redash/query_runner/mssql.py b/redash/query_runner/mssql.py index 40f52a7794..71375b71ad 100644 --- a/redash/query_runner/mssql.py +++ b/redash/query_runner/mssql.py @@ -92,7 +92,7 @@ def _get_tables(self, schema): for row in results['rows']: if row['table_schema'] != self.configuration['db']: - table_name = '{}.{}'.format(row['table_schema'], row['table_name']) + table_name = u'{}.{}'.format(row['table_schema'], row['table_name']) else: table_name = row['table_name']