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 7784B200B32 for ; Thu, 23 Jun 2016 11:13:48 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 7624B160A59; Thu, 23 Jun 2016 09:13:48 +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 BC55E160A58 for ; Thu, 23 Jun 2016 11:13:47 +0200 (CEST) Received: (qmail 64446 invoked by uid 500); 23 Jun 2016 09:13:41 -0000 Mailing-List: contact dev-help@flink.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@flink.apache.org Delivered-To: mailing list dev@flink.apache.org Received: (qmail 64429 invoked by uid 99); 23 Jun 2016 09:13:41 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Jun 2016 09:13:41 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 2F878C80F9 for ; Thu, 23 Jun 2016 09:13:41 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.179 X-Spam-Level: * X-Spam-Status: No, score=1.179 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx2-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id ffh9hFVb7Mtv for ; Thu, 23 Jun 2016 09:13:37 +0000 (UTC) Received: from mail-wm0-f44.google.com (mail-wm0-f44.google.com [74.125.82.44]) by mx2-lw-eu.apache.org (ASF Mail Server at mx2-lw-eu.apache.org) with ESMTPS id 4C3AD5FAEB for ; Thu, 23 Jun 2016 09:13:37 +0000 (UTC) Received: by mail-wm0-f44.google.com with SMTP id v199so117896005wmv.0 for ; Thu, 23 Jun 2016 02:13:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=d11AGaEATPSMxyHiN5PPa7zsFoHija+kq47PcQrZZqs=; b=yIbXjgemiOmLG+psdrdFPiUejArNLRXf31GOilghKJNMInw11pE9Xh2qeJIAUKsdjT +MEuE0Rz5KLVXNFPRVOYGQ26sqgoHGWxA+Br8/VqMjntJT+M1jsR5/lJ8eQh1qFlMZ7v 1FRhVoudMNG4vBkuJYGnYz9VhNbqr3GkDM8vpuUwdqJo3Q2JZL+JPlH0zgaCiTj7gbGs tdtRIG99u4njYnly5UQqiTOAgDC/QDTeanduJvd3F2hzmzD8xyomDjbRdN8IZ2c+Mcl9 GD3wsdqT/LZE1zQSzmXDIZZ3yf1kEFWC+o8ja0FySRkSBt19bKU7t+Taz1qfjHhQmlBi Ocbg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=d11AGaEATPSMxyHiN5PPa7zsFoHija+kq47PcQrZZqs=; b=eiqmN/0WKxf5nZpZysU2EhArCW1ZIPNsRmX6HYgh5AtRq9cecDLACCrHpHG2IcRW5J f9n3HjLxciJVVzh5rqT1x+SLARJEWyA8zoxITKLKj5xb3qePopJ2oy7qBQNPTyEvVkX0 6+rE9uiVsFSUM7C616Zz66m+wbo1pHPOM7fEv+xWkEx5QAnbyGcY6bbJXHUG2ku87fwv UAksbsYm4HjY+wc1sBE2l3tB2b3htB4S+waWtYGf1JpMSoU8NuEOuOwSTLaQhj9HLY0v FRxX6yVJacTFHADmA/xmUVoSFLELH+rklNPC8/aYb9Z0M4Lcm1v/klNceguRqrYyZGCH aNmg== X-Gm-Message-State: ALyK8tJbe5DNT9TQQN4Co8rlgN6JyAVVJz5YS5V00GurEQMw4Sg3Zbci9lNxx7At+cRVfqtBwtFu+GyLvm0aoQ== X-Received: by 10.28.125.81 with SMTP id y78mr12836276wmc.5.1466673216849; Thu, 23 Jun 2016 02:13:36 -0700 (PDT) MIME-Version: 1.0 Received: by 10.28.70.195 with HTTP; Thu, 23 Jun 2016 02:13:07 -0700 (PDT) In-Reply-To: <97879173-02C5-46C0-96F8-C4A44EAA6E09@alibaba-inc.com> References: <97879173-02C5-46C0-96F8-C4A44EAA6E09@alibaba-inc.com> From: Fabian Hueske Date: Thu, 23 Jun 2016 11:13:07 +0200 Message-ID: Subject: Re: Flink Table & SQL doesn't work in very simple example To: "dev@flink.apache.org" Content-Type: multipart/alternative; boundary=001a114246a81793ad0535ee785c archived-at: Thu, 23 Jun 2016 09:13:48 -0000 --001a114246a81793ad0535ee785c Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi Jark Wu, yes, that looks like a dependency issue. Can you open a JIRA for it set "Fix Version" to 1.1.0. This issue should be resolved for the 1.1 release. Thanks, Fabian 2016-06-22 3:52 GMT+02:00 Jark Wu : > Hi, > > > I=E2=80=99m trying to use Flink Table 1.1-SNAPSHOT where I want to use Ta= ble API > and SQL in my project. But when I run the very simple example > WordCountTable, I encountered the following exception : > > Exception in thread "main" java.lang.NoSuchMethodError: > org.apache.calcite.rel.logical.LogicalAggregate.getGroupSets()Lorg/apache= /flink/shaded/com/google/common/collect/ImmutableList; > at > org.apache.flink.api.table.plan.rules.dataSet.DataSetAggregateRule.matche= s(DataSetAggregateRule.scala:47) > at > org.apache.calcite.plan.volcano.VolcanoRuleCall.matchRecurse(VolcanoRuleC= all.java:269) > at > org.apache.calcite.plan.volcano.VolcanoRuleCall.match(VolcanoRuleCall.jav= a:253) > at > org.apache.calcite.plan.volcano.VolcanoPlanner.fireRules(VolcanoPlanner.j= ava:1542) > at > org.apache.calcite.plan.volcano.VolcanoPlanner.registerImpl(VolcanoPlanne= r.java:1817) > at > org.apache.calcite.plan.volcano.VolcanoPlanner.register(VolcanoPlanner.ja= va:1038) > at > org.apache.calcite.plan.volcano.VolcanoPlanner.ensureRegistered(VolcanoPl= anner.java:1058) > at > org.apache.calcite.plan.volcano.VolcanoPlanner.changeTraits(VolcanoPlanne= r.java:723) > at > org.apache.calcite.tools.Programs$RuleSetProgram.run(Programs.java:331) > at > org.apache.flink.api.table.BatchTableEnvironment.translate(BatchTableEnvi= ronment.scala:250) > at > org.apache.flink.api.scala.table.BatchTableEnvironment.toDataSet(BatchTab= leEnvironment.scala:139) > at > org.apache.flink.api.scala.table.TableConversions.toDataSet(TableConversi= ons.scala:41) > at > com.alibaba.flink.examples.WordCountTable$.main(WordCountTable.scala:43) > at com.alibaba.flink.examples.WordCountTable.main(WordCountTable.scala) > > > It seems that something wrong with our guava shade. Do you have any idea= s? > > My pom file and WordCountTable.scala are here: > https://gist.github.com/wuchong/9c1c0df3cb7453502abc4605f5347289 < > https://gist.github.com/wuchong/9c1c0df3cb7453502abc4605f5347289> > > And I found someone have the same problem on stack overflow: > http://stackoverflow.com/questions/37835408/org-apache-flink-api-table-ta= bleexception-alias-on-field-reference-expression-e#comment63160086_37838816 > < > http://stackoverflow.com/questions/37835408/org-apache-flink-api-table-ta= bleexception-alias-on-field-reference-expression-e#comment63160086_37838816 > > > - Jark Wu > > --001a114246a81793ad0535ee785c--