I agree with the idea to have a DSL executed inside the Erlang VM. A simple, but powerful DDL, not SQL, a strongly typed language just to _define_ views, not to query them (that's a different matter). And it should have regex support. Actually, to write fast views you need Erlang itself and I think having a DDL it's a big plus.
+1