| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> comp.databases.theory -> Re: GROUP BY
Marshall wrote:
> On May 19, 7:38 am, "Brian Selzer" <b..._at_selzer-software.com> wrote:
>
>>"Marshall" <marshall.spi..._at_gmail.com> wrote in message >> >> >>>So: what *about* that extended extend? >> >>>Extend is a particular form of join, yes? So perhaps we >>>ought to apply generators with join? >> >>>I note that there is an issue with regards to the uniqueness >>>of values produced by a generator. It's not clear to me if >>>that ought to be required or not. If it's required, it's not clear >>>to me if it's enforceable, since I don't see how to prove uniqueness. >> >>>If the outputs of the generator aren't unique, then we have >>>a function from a tuple to a bag, which also matches the >>>fact that aggregate functions are functions from a bag to >>>a tuple. >> >>I don't agree with this. An aggregate function iterates over a relation, >>taking a projection of each tuple to find the values required to calculate >>the result.
How about "Correct" ?
Project a tuple? I suppose one can project a point in an n-space into another space. But is that really how one finds the values required to calculate anything? After one projects, most of the values required for the calculation are gone.
> Yours is maybe a bit narrow, though, because by being so specific
> about the algorithm to implement aggregation, you've eliminated
> the possibility for parallelization.
You are making more sense out of what he wrote than is even there. I suggest you stop trying so hard to make sense out of nonsense.
>>While it is convenient to visualize the collection of values >>for an attribute in a relation as a bag, it should not be ignored that any >>particular combination of values in that bag depends solely on the existence >>of a particular *set* of tuples.
Whether order is significant depends on the base operation. Addition is associative and commutative, but not all operations are.
I reiterate: You are trying too hard to make sense out of nonsense.
[snip] Received on Sat May 19 2007 - 14:21:03 CDT
![]() |
![]() |