cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sylvain Lebresne (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-8488) Filter by UDF
Date Fri, 08 Apr 2016 08:08:26 GMT

    [ https://issues.apache.org/jira/browse/CASSANDRA-8488?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15231833#comment-15231833
] 

Sylvain Lebresne commented on CASSANDRA-8488:
---------------------------------------------

bq. the UDF could be wrapped by a subclass of CustomExpression (or the new UserExpression)

If we'll want to support this, we'll want to use a new direct subclass of {{RowFilter.Expression}}.
{{CustomExpression}} is strictly for custom indexes and {{UserExpression}} is for, well, users,
so there is no reason to subclass any of them. That said, same thing in principle.

But the big problem with this issue is that filtering replica side is actually not safe due
to reasons explained in CASSANDRA-8273 (the problems there applies directly in this ticket
too) so we'll need to figure that out (assuming we can) before thinking about this ticket.

> Filter by UDF
> -------------
>
>                 Key: CASSANDRA-8488
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-8488
>             Project: Cassandra
>          Issue Type: New Feature
>          Components: CQL, Local Write-Read Paths
>            Reporter: Jonathan Ellis
>              Labels: client-impacting, cql, udf
>             Fix For: 3.x
>
>
> Allow user-defined functions in WHERE clause with ALLOW FILTERING.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message