mirror of https://github.com/apache/superset.git
[hotfix] fix iframe viz
This commit is contained in:
parent
bae1067015
commit
8bceda8134
|
@ -401,6 +401,18 @@ class PrestoEngineSpec(BaseEngineSpec):
|
||||||
row['table_schema'], row['table_name']))
|
row['table_schema'], row['table_name']))
|
||||||
return result_sets
|
return result_sets
|
||||||
|
|
||||||
|
@classmethod
|
||||||
|
def extract_error_message(cls, e):
|
||||||
|
"""Extract error message for queries"""
|
||||||
|
logging.error(e)
|
||||||
|
print("-="*100)
|
||||||
|
print("-="*100)
|
||||||
|
print("-="*100)
|
||||||
|
print("-="*100)
|
||||||
|
print(type(e))
|
||||||
|
print(dir(e))
|
||||||
|
return error_msg_from_exception(e)
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def extra_table_metadata(cls, database, table_name, schema_name):
|
def extra_table_metadata(cls, database, table_name, schema_name):
|
||||||
indexes = database.get_indexes(table_name, schema_name)
|
indexes = database.get_indexes(table_name, schema_name)
|
||||||
|
|
|
@ -1320,6 +1320,9 @@ class IFrameViz(BaseViz):
|
||||||
credits = 'a <a href="https://github.com/airbnb/superset">Superset</a> original'
|
credits = 'a <a href="https://github.com/airbnb/superset">Superset</a> original'
|
||||||
is_timeseries = False
|
is_timeseries = False
|
||||||
|
|
||||||
|
def get_df(self):
|
||||||
|
return None
|
||||||
|
|
||||||
|
|
||||||
class ParallelCoordinatesViz(BaseViz):
|
class ParallelCoordinatesViz(BaseViz):
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue