![]() | |
![]() |
| | Thread Tools | Display Modes |
#71
| |||
| |||
|
|
On 28 sep, 17:20, Erwin <e.sm... (AT) myonline (DOT) be> wrote: On 28 sep, 16:05, Brian <br... (AT) selzer-software (DOT) com> wrote: No. *It isn't. *Only transition constraints can prevent a user from rewriting history. *All a user needs to do to subvert any state constraint that involves temporal attributes is to replace the history of the object under consideration. - Tekst uit oorspronkelijk bericht weergeven - All a user needs to do to subvert your stupid UPDATE transition constraints is not issue an UPDATE, but a DELETE+INSERT multiple assignment instead. Quite frankly I am surprised that Brian is still sensitive to the amount of unnecessary complexity his insight implies. |
#72
| |||
| |||
|
|
On 28/09/2010 11:55 AM, Vadim Tropashko wrote: First user?-) Yup. Downloaded jar yesterday, got some kind of cpu loop, maybe because I was on my third cup of wine. Don't think I've tried java since about 1998 so I probably have command line options mangled. |
#73
| |||
| |||
|
|
I'm not sure I follow their idea that SUMMARIZE is expressed via AND, OR, NOT, REMOVE, RENAME. Emailed to Hugh once, but didn't get a responce - Tekst uit oorspronkelijk bericht weergeven - |
#74
| |||
| |||
|
|
On 28 sep, 18:52, Vadim Tropashko <vadim... (AT) gmail (DOT) com> wrote: I'm not sure I follow their idea that SUMMARIZE is expressed via AND, OR, NOT, REMOVE, RENAME. Emailed to Hugh once, but didn't get a responce - Tekst uit oorspronkelijk bericht weergeven - Why not ? It has not been sufficiently demonstrated that SUMMARIZE can be expressed in terms of the 'classical' primitives JOIN,PROJECT,EXTEND ? |
|
It has not been sufficiently demonstrated that those 'classical' primitives can be expressed using the A operators ? |
#75
| |||
| |||
|
|
"We are able to dispense with restrict (WHERE), EXTEND, and SUMMARIZE, since these operators all become further special cases of<AND> . Note: EXTEND and SUMMARIZE were not included in Codd's original algebra but were added subsequently [132]." This argument is not convincing. Later on there is more detailed treatment: "Dispensing with restrict (WHERE), EXTEND, and SUMMARIZE Restrict (WHERE), EXTEND, and SUMMARIZE all require certain operators to be invoked as part of their execution. In the case of restrict, the operators in question return values (truth values, to be precise) that are used to disqualify certain tuples from appearing in the result relation; ... It occurred to us that it made sense, and could possibly be useful, to treat such operators as relations. |
#76
| |||
| |||
|
|
A bulk of discussion is devoted to introduction of PLUS predicate, but then, I fail to see how given the two relations EMP and PLUS one can express the query "give employee departement numbers wit salary totals" in relational algebra, and, therefore in A-algebra. |
#77
| |||
| |||
|
|
On 29 sep, 16:40, Vadim Tropashko <vadim... (AT) gmail (DOT) com> wrote: A bulk of discussion is devoted to introduction of PLUS predicate, but then, I fail to see how given the two relations EMP and PLUS one can express the query "give employee departement numbers wit salary totals" in relational algebra, and, therefore in A-algebra. I think PLUS is of no use to you in this situation. The function/relation you need to come to the aggregate results is a function that maps a relation {1 2 3} (deliberately using sloppy shorthand here) onto, e.g. if the aggregation operation is addition, the number 6. *The relation that represents the invoked aggregate operator (SUM, COUNT, ...) in question, that is. Or is that not the problem ? |
![]() |
| Thread Tools | |
| Display Modes | |
| |