Browse Source

[phoenix] Diplay Primary Keys information

Romain Rigaux 4 years ago
parent
commit
4e110b8f1c
1 changed files with 1 additions and 2 deletions
  1. 1 2
      desktop/libs/notebook/src/notebook/connectors/sql_alchemy.py

+ 1 - 2
desktop/libs/notebook/src/notebook/connectors/sql_alchemy.py

@@ -473,8 +473,7 @@ class SqlAlchemyApi(Api):
         for col in columns
       ]
 
-      if not self.options['url'].startswith('phoenix://'):
-        response.update(assist.get_keys(database, table))
+      response.update(assist.get_keys(database, table))
     else:
       columns = assist.get_columns(database, table)
       response['name'] = next((col['name'] for col in columns if column == col['name']), '')