ApfelPresse commented on issue #16541:
URL: https://github.com/apache/superset/issues/16541#issuecomment-910214825


   I found a workaround, but that's not how it meant to be
   
   add some lines
   
   ```
   superset/connectors/sqla/models.py:667
   
   def external_metadata(self) -> List[Dict[str, str]]:
     table_name = str(self.table_name)
     schema = str(self.schema)
     self.sql = f"SELECT * FROM {schema}.{table_name}"
     print(self.sql)
     if self.sql:
        return get_virtual_table_metadata(dataset=self)
     return get_physical_table_metadata(database=self.database, 
table_name=self.table_name, schema_name=self.schema,)
   ```
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to