calcite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From James Taylor <jamestay...@apache.org>
Subject Re: Implicit Columns: Only there when you ask for them...
Date Tue, 18 Apr 2017 02:27:40 GMT
Hey Jacques,
The EXTENDS (col1 type, col2 type)  keyword can be used for this (and the
EXTENDS keyword is optional). Something like this in Phoenix:

SELECT foo FROM bar (my_col VARCHAR) WHERE my_col = 'bas'

Phoenix uses this for dynamic column support.

Thanks,
James

On Mon, Apr 17, 2017 at 7:17 PM, Jacques Nadeau <jacques@apache.org> wrote:

> Hey All,
>
> I remember there being a syntax in Calcite that allowed one to define an
> _EXTRA column or columns that could be referenced in Calcite but wouldn't
> be included in a select *. If I recall, the Splunk adapter used this at one
> point. Does this actually exist or have I lost my mind. I can't seem to
> find a reference to this anywhere.
>
> thanks!
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message