Class DynamoDBTableResolver


  • public class DynamoDBTableResolver
    extends Object
    This class helps with resolving the differences in casing between DynamoDB and Presto. Presto expects all databases, tables, and columns to be lower case. This class allows us to resolve DynamoDB tables which may have captial letters in them without issue. It does so by fetching all table names and doing a case insensitive search over them. It will first try to do a targeted get to reduce the penalty for tables which don't have capitalization. TODO add caching