Skip to content

Commit

Permalink
Minor: Fix Athena location path (#18750)
Browse files Browse the repository at this point in the history
  • Loading branch information
SumanMaharana authored and harshach committed Nov 24, 2024
1 parent f220606 commit 4cd3cb1
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,14 @@ def get_table_partition_details(
return True, partition_details
return False, None

def get_location_path(self, table_name: str, schema_name: str) -> Optional[str]:
"""
Method to fetch the location path of the table
"""
return self.external_location_map.get(
(self.context.get().database, schema_name, table_name)
)

def yield_tag(
self, schema_name: str
) -> Iterable[Either[OMetaTagAndClassification]]:
Expand Down

0 comments on commit 4cd3cb1

Please sign in to comment.