Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 262E4200AE1 for ; Mon, 6 Jun 2016 11:21:43 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 24C4B160A24; Mon, 6 Jun 2016 09:21:43 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 6C532160A0E for ; Mon, 6 Jun 2016 11:21:42 +0200 (CEST) Received: (qmail 81078 invoked by uid 500); 6 Jun 2016 09:21:41 -0000 Mailing-List: contact commits-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cassandra.apache.org Delivered-To: mailing list commits@cassandra.apache.org Received: (qmail 81059 invoked by uid 99); 6 Jun 2016 09:21:41 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Jun 2016 09:21:41 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 640DD2C1F76 for ; Mon, 6 Jun 2016 09:21:41 +0000 (UTC) Date: Mon, 6 Jun 2016 09:21:41 +0000 (UTC) From: "Benjamin Lerer (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CASSANDRA-7622) Implement virtual tables MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Mon, 06 Jun 2016 09:21:43 -0000 [ https://issues.apache.org/jira/browse/CASSANDRA-7622?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15316329#comment-15316329 ] Benjamin Lerer commented on CASSANDRA-7622: ------------------------------------------- Thanks for the proposal. I think It would be nice to have one with more details. For example, some description of how it would be implemented for metrics will help. For the moment, I do not see how the interface that you proposed can handle {{SELECT}} queries. What about: paging, restrictions, ordering, limit, ... We might not want to support everything but a minimum has to be supported. It might be worth to specify it. It will also be interesting to know what should be provided by Cassandra and what must be implemented by the virtual table provider. From the syntax point of view I think that we should use {{CREATE VIRTUAL TABLE ...}}. It is clearer and it will allow us to handle it separatly in the ANTLR file. > Implement virtual tables > ------------------------ > > Key: CASSANDRA-7622 > URL: https://issues.apache.org/jira/browse/CASSANDRA-7622 > Project: Cassandra > Issue Type: Improvement > Reporter: Tupshin Harper > Assignee: Jeff Jirsa > Fix For: 3.x > > > There are a variety of reasons to want virtual tables, which would be any table that would be backed by an API, rather than data explicitly managed and stored as sstables. > One possible use case would be to expose JMX data through CQL as a resurrection of CASSANDRA-3527. > Another is a more general framework to implement the ability to expose yaml configuration information. So it would be an alternate approach to CASSANDRA-7370. > A possible implementation would be in terms of CASSANDRA-7443, but I am not presupposing. -- This message was sent by Atlassian JIRA (v6.3.4#6332)