Return-Path: Delivered-To: apmail-incubator-jena-dev-archive@minotaur.apache.org Received: (qmail 75367 invoked from network); 30 Dec 2010 22:20:44 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 30 Dec 2010 22:20:44 -0000 Received: (qmail 24043 invoked by uid 500); 30 Dec 2010 22:20:44 -0000 Delivered-To: apmail-incubator-jena-dev-archive@incubator.apache.org Received: (qmail 24023 invoked by uid 500); 30 Dec 2010 22:20:44 -0000 Mailing-List: contact jena-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jena-dev@incubator.apache.org Delivered-To: mailing list jena-dev@incubator.apache.org Delivered-To: moderator for jena-dev@incubator.apache.org Received: (qmail 90058 invoked by uid 99); 30 Dec 2010 21:28:06 -0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Message-ID: <26443366.74571293744465248.JavaMail.jira@thor> Date: Thu, 30 Dec 2010 16:27:45 -0500 (EST) From: "Damian Steer (JIRA)" To: jena-dev@incubator.apache.org Subject: [jira] Updated: (JENA-22) OpAsQuery doesn't support OpGroup In-Reply-To: <32787086.74491293743985242.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/JENA-22?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Damian Steer updated JENA-22: ----------------------------- Attachment: OpAsQuery_group.patch This patch implements support for OpGroup in OpAsQuery. It's a little convoluted for two reasons: 1. Projecting expressions has to be handled right at the end. Project is typical visited before grouping, and setting project twice for a variable causes an error. 2. Simple counts involve an internal variable assignment. I've tried to catch this, but it's not elegant or general. Tests are included. > OpAsQuery doesn't support OpGroup > --------------------------------- > > Key: JENA-22 > URL: https://issues.apache.org/jira/browse/JENA-22 > Project: Jena > Issue Type: Bug > Components: ARQ > Reporter: Damian Steer > Attachments: OpAsQuery_group.patch > > > OpAsQuery can't create some fairly straightforward queries, for example select (count(*) as ?cs) { ?s ?p ?o }. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.