git.net

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ViewTableMacro and empty parameteters


Hello dear Calcite team :)

I have one design question on ViewTableMacro:

Why does it not implement parameters?

I was thinking about dynamic parameters "?" here. For example, following
view with dynamic parameters
some_view: SELECT * FROM some_table WHERE id > ? AND LIMIT ?
could handle two parameters and then this view could be used as follows:
SELECT * FROM TABLE(some_view(2,100))

Regards!

-- 
Piotr Bojko
http://about.me/ptr.bojko