cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aleksey Yeschenko (JIRA)" <>
Subject [jira] [Commented] (CASSANDRA-9367) Expose builtin-in CQL functions via schema data dictionary
Date Tue, 19 May 2015 16:55:01 GMT


Aleksey Yeschenko commented on CASSANDRA-9367:

This is no different from the way we store {{system}} tables metadata itself in {{system.schema_*}}.

It only seems to be different b/c for some reason UDFs and UDAs definitions aren't currently
part of {{KSMetaData}}. They should be.

I agree that virtual tables could help here, but there is nothing specific about functions
and virtual tables. When we have CASSANDRA-7622 we'll just serve all our schema via virtual
tables, no exception for functions.

> Expose builtin-in CQL functions via schema data dictionary
> ----------------------------------------------------------
>                 Key: CASSANDRA-9367
>                 URL:
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Michaël Figuière
>            Priority: Minor
>             Fix For: 3.x
> As CASSANDRA-6717 will not be part of Cassandra 2.2, my comment there got to be considered
for the current {{system.schema_functions}} table, to avoid creating a special case just for
> {quote}
> Builtin CQL functions are not described in the {{system}} keyspace in its current representation,
this new schema should include them next to the user defined ones as:
> * The {{system}} keyspace and its tables are described in the {{system}} keyspace, therefore
it would be consistent.
> * Having builtin CQL functions described there would allow external tools to manipulate
all the functions in a similar way.
> * This would document the available builtin function for users that don't remember the
ones available in their current version of Cassandra.
> {quote}

This message was sent by Atlassian JIRA

View raw message