athena-tpcds/src/main/java/com/amazonaws/athena/connectors/tpcds/TPCDSRecordHandler.java [134:145]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    private Table validateTable(TableName tableName)
    {
        Optional<Table> table = Table.getBaseTables().stream()
                .filter(next -> next.getName().equals(tableName.getTableName()))
                .findFirst();

        if (!table.isPresent()) {
            throw new RuntimeException("Unknown table " + tableName);
        }

        return table.get();
    }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



athena-tpcds/src/main/java/com/amazonaws/athena/connectors/tpcds/TPCDSUtils.java [94:105]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    public static Table validateTable(TableName tableName)
    {
        Optional<Table> table = Table.getBaseTables().stream()
                .filter(next -> next.getName().equals(tableName.getTableName()))
                .findFirst();

        if (!table.isPresent()) {
            throw new RuntimeException("Unknown table " + tableName);
        }

        return table.get();
    }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



