mirror of
https://github.com/valitydev/redash.git
synced 2024-11-08 09:53:59 +00:00
fixed private method
This commit is contained in:
parent
ae6564e912
commit
6522325060
@ -117,7 +117,7 @@ class Athena(BaseQueryRunner):
|
||||
def __init__(self, configuration):
|
||||
super(Athena, self).__init__(configuration)
|
||||
|
||||
def get_schema_from_glue(self):
|
||||
def __get_schema_from_glue(self):
|
||||
client = boto3.client(
|
||||
'glue',
|
||||
aws_access_key_id=self.configuration.get('aws_access_key', None),
|
||||
@ -139,7 +139,7 @@ class Athena(BaseQueryRunner):
|
||||
|
||||
def get_schema(self, get_stats=False):
|
||||
if self.configuration.get('glue', False):
|
||||
return self.get_schema_from_glue()
|
||||
return self.__get_schema_from_glue()
|
||||
|
||||
schema = {}
|
||||
query = """
|
||||
|
Loading…
Reference in New Issue
Block a user