Expand on functionality described in #137 to support something like the following as well:
SELECT toTimestamp(now()) FROM system.local
Even with the changes in #137 I'm seeing the following error for this query:
Exception in thread "main" com.datastax.oss.driver.api.core.servererrors.InvalidQueryException: unexpected argument type for function call 'toTimestamp(...)' in select statement
toTimestamp() is something of a canary here. Broadly speaking there's probably room to talk about most of the parser selectors as a general "function" with a lookup table for specific outputs (or something similar). For now I'm just trying to get the idea of this usage as an entry point for thinking about this type of nesting.
Expand on functionality described in #137 to support something like the following as well:
SELECT toTimestamp(now()) FROM system.localEven with the changes in #137 I'm seeing the following error for this query:
Exception in thread "main" com.datastax.oss.driver.api.core.servererrors.InvalidQueryException: unexpected argument type for function call 'toTimestamp(...)' in select statementtoTimestamp() is something of a canary here. Broadly speaking there's probably room to talk about most of the parser selectors as a general "function" with a lookup table for specific outputs (or something similar). For now I'm just trying to get the idea of this usage as an entry point for thinking about this type of nesting.