-Re: sqlline access to Drill
Julian Hyde 2013-06-05, 17:26
On Jun 5, 2013, at 7:44 AM, Jacques Nadeau <[EMAIL PROTECTED]> wrote:
> Not yet. Fitting a statically-typed language together with a dynamic
> schema is painful. (Julian can attest.) We saw this as the first
> step towards implicit transformation.
Yes. SQL (and Optiq's implementation of it) is strongly typed. Where we're at now is that values from a map have type ANY. Operators are still strongly typed, so you need to cast to avoid ambiguity.
Also to add syntactic sugar such as "_map.field" as shorthand for "_map['field']".