Bernard Lambeau

Results 25 comments of Bernard Lambeau
trafficstars

@snusnu FYI Tutorial D simply has aggregate operators that accept relations a first argument. For instance `COUNT(...)` will simply return the number of tuples of the input relation (that can,...

What do you mean by "the correct SQL" ? group/wrap have no SQL counterpart.

@dkubb isn't this occurring because compilation requests must be called higher in the API in the first place? I don't know Axiom's internals much. I thought that the compiler automatically...

@snusnu and the answer is thus "unfortunately no", unless you restrict the algebra features in the first place. Example: ``` restrict(wrap(R, ..., :x), ->(t){ ... any condition involving x ......

"i wonder if we could simply document that #wrap and #group must be called last if they are to be wrapped in a gateway." @snusnu sure, if there is a...

About RVAs, TVAs. Without having thought about it much, I would at first glance agree that only a few number of operations are useful on T/RVAs. Comparisons, essentially. Still, they...

Partly, yes. There are two main sources of inefficiencies to be tackled in relational algebra -> SQL compilation techniques IMO: 1) The need to flatten the SQL query to avoid...

About #7, see e.g. https://github.com/alf-tool/alf-sql/tree/v0.16.0/lib/alf/sql/processor, which contains typical SQL rewriting rules and heuristics for flattening queries in practice. About #2, see e.g. https://github.com/alf-tool/alf-sql/blob/v0.16.0/lib/alf/sql/compiler.rb#L94-L97, for compilation of project and casing on...

I suppose that you mean "handle_happy creating new Response"? Well, as of this commit (https://github.com/blambeau/rack-robustness/commit/7ecbe5be3240d19dbd0e325ee8f8d5a0c99bdcf0), all callbacks may use the `request` and `response` instances. The `ensure` callbacks in particular are...