Search found 4 matches

by blambeau
Tue Mar 01, 2016 6:33 pm
Forum: Report a Bug
Topic: SUM on user-defined type
Replies: 3
Views: 9577

Re: SUM on user-defined type

Lol, sure. But what if it makes sense to consider that WEIGHT + WEIGHT -> WEIGHT and I want to have SUM working out of the box?
by blambeau
Mon Feb 29, 2016 8:03 am
Forum: Report a Bug
Topic: SUM on user-defined type
Replies: 3
Views: 9577

SUM on user-defined type

Hi! I'm just trying to get SUM(PARTS, WEIGHT) working with WEIGHT being "TYPE WEIGHT POSSREP {WEIGHT RATIONAL};" I end up with ERROR: RS0055: Could not find operator SUM(RELATION {PID P#, NAME NAME, COLOR COLOR, WEIGHT WEIGHT, CITY CHARACTER, %attributeName5 WEIGHT}, INTEGER) I've tried de...
by blambeau
Sat Feb 01, 2014 9:14 am
Forum: Report a Bug
Topic: Shouldn't JOIN { } return DEE ?
Replies: 5
Views: 10146

Re: Shouldn't JOIN { } return DEE ?

Interresting. Thanks for the explanation. For the record, I was actually reading Hugh's book because I use it, and Rel, with the students at the University of Louvain. The example, and expectation, comes from what's written in the book. In that context, I would certainly say that it's a violation of...
by blambeau
Thu Jan 30, 2014 5:03 pm
Forum: Report a Bug
Topic: Shouldn't JOIN { } return DEE ?
Replies: 5
Views: 10146

Shouldn't JOIN { } return DEE ?

It seems that it returns a single TUPLE{} for now.

Also JOIN{} = DEE returns the following error: ERROR: Operator 'OP_EQUALS(TUPLE {}, RELATION {}) RETURNS BOOLEAN' has not been defined.

Am I misunderstanding something here?