code: def _get_athena_table_name_after_data_replication(
      feature_store_session,
      feature_group: FeatureGroup,
      offline_store_s3_uri,
  ):
      feature_group_metadata = feature_group.describe()
      resolved_output_s3_uri = (
          feature_group_metadata.get("OfflineStoreConfig", None)
          .get("S3StorageConfig", None)
          .get("ResolvedOutputS3Uri", None)
      )
      s3_prefix = resolved_output_s3_uri.replace(
          f"{offline_store_s3_uri}/", ""
      )
      region_name = feature_store_session.boto_session.region_name
      s3_client = feature_store_session.boto_session.client(
          service_name="s3", region_name=region_name
      )
      while True:
          objects_in_bucket = s3_client.list_objects(
              Bucket=offline_store_s3_uri.replace("s3://", ""),
              Prefix=s3_prefix,
          )
          if (
              "Contents" in objects_in_bucket
              and len(objects_in_bucket["Contents"]) > 1
          ):
              break
          else:
              print(
                  f"Waiting for {feature_group.name} data in offline store..."
              )
              time.sleep(60)
      print(f"{feature_group.name} data available.")
      return (
          feature_group_metadata.get("OfflineStoreConfig", None)
          .get("DataCatalogConfig", None)
          .get("TableName", None)
      )
  
imports: from __future__ import absolute_import
  import datetime
  import json
  import time
  import dateutil.parser
  from contextlib import contextmanager
  import boto3
  import numpy
  import pandas
  import pytest
  from pandas import DataFrame
  from sagemaker.feature_store.feature_utils import get_feature_group_as_dataframe
  from sagemaker.feature_store.feature_definition import FractionalFeatureDefinition, StringFeatureDefinition, ListCollectionType
  from sagemaker.feature_store.feature_group import FeatureGroup
  from sagemaker.feature_store.feature_store import FeatureStore
  from sagemaker.feature_store.inputs import FeatureValue, FeatureParameter, TableFormatEnum, Filter, ResourceEnum, Identifier, DeletionModeEnum, TtlDuration, OnlineStoreConfigUpdate, OnlineStoreStorageTypeEnum
  from sagemaker.feature_store.dataset_builder import JoinTypeEnum
  from sagemaker.session import get_execution_role, Session
  from tests.integ.timeout import timeout
  from urllib.parse import urlparse
label_desc: Use image node_id 36 for calling a global function with example usage: _get_athena_table_name_after_data_replication(feature_store_session, feature_group, offline_store_s3_uri) and returns: feature_group_metadata