def METHOD_NAME(self) -> Iterator[TableQuery]:
    """
    Method to handle the usage from query logs
    """
    try:
        with open(
            self.config.sourceConfig.config.queryLogFilePath, "r", encoding="utf-8"
        ) as file:
            for row in csv.DictReader(file):
                query_dict = dict(row)
                yield TableQuery(
                    query=query_dict["query_text"],
                    databaseName=self.get_database_name(query_dict),
                    serviceName=self.config.serviceName,
                    databaseSchema=self.get_schema_name(query_dict),
                )
    except Exception as err:
        logger.debug(traceback.format_exc())
        logger.warning(f"Failed to read queries form log file due to: {err}")