human
Here a good word for this is!) given the following:
Complete the below
def denorm(queries, iterable_of_things, default=None):

    ''''\'repeat\', or \'stutter\' to \'tableize\' for downstream.
    (I have no idea what a good word for this is!)
    Think ``kronecker`` products, or:
    ``SELECT single,multiple FROM table;``
    single   multiple
    id1      val1
    id1      val2
    Args:
    queries:  iterable of ``Q`` queries.
    iterable_of_things:  to be queried.
    Returns:
    list of \'stuttered\' output, where if a query returns
    a \'single\', it gets repeated appropriately.'
    '''
assistant
#Here a good word for this is!)
.
    def _denorm(queries, thing):
        fields = []
        results = []
        for q in queries:
            r = Ql(q, thing)
            if (not r):
                r = [default]
            if isinstance(r[0], type({})):
                fields.append(sorted(r[0].keys()))
            else:
                fields.append([q])
            results.append(r)
        flist = list(flatten(*map(iter, fields)))
        prod = itertools.product(*results)
        for p in prod:
            U = dict()
            for (ii, thing) in enumerate(p):
                if isinstance(thing, type({})):
                    U.update(thing)
                else:
                    U[fields[ii][0]] = thing
            (yield U)
    return list(flatten(*[_denorm(queries, thing) for thing in iterable_of_things]))