From issues-return-205483-archive-asf-public=cust-asf.ponee.io@spark.apache.org Mon Oct 22 15:44:04 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 8279918064A for ; Mon, 22 Oct 2018 15:44:03 +0200 (CEST) Received: (qmail 87496 invoked by uid 500); 22 Oct 2018 13:44:02 -0000 Mailing-List: contact issues-help@spark.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@spark.apache.org Received: (qmail 87487 invoked by uid 99); 22 Oct 2018 13:44:02 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 Oct 2018 13:44:02 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 31F971A20FA for ; Mon, 22 Oct 2018 13:44:02 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -110.301 X-Spam-Level: X-Spam-Status: No, score=-110.301 tagged_above=-999 required=6.31 tests=[ENV_AND_HDR_SPF_MATCH=-0.5, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, USER_IN_DEF_SPF_WL=-7.5, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id 3PzEf-Bf4SB3 for ; Mon, 22 Oct 2018 13:44:01 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 434805F36F for ; Mon, 22 Oct 2018 13:44:01 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id BE9A3E0E1D for ; Mon, 22 Oct 2018 13:44:00 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 6B458252A6 for ; Mon, 22 Oct 2018 13:44:00 +0000 (UTC) Date: Mon, 22 Oct 2018 13:44:00 +0000 (UTC) From: "Apache Spark (JIRA)" To: issues@spark.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (SPARK-25795) Fix CSV SparkR SQL Example 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/SPARK-25795?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16659000#comment-16659000 ] Apache Spark commented on SPARK-25795: -------------------------------------- User 'dongjoon-hyun' has created a pull request for this issue: https://github.com/apache/spark/pull/22791 > Fix CSV SparkR SQL Example > -------------------------- > > Key: SPARK-25795 > URL: https://issues.apache.org/jira/browse/SPARK-25795 > Project: Spark > Issue Type: Bug > Components: Examples, R > Affects Versions: 2.3.0, 2.3.1, 2.3.2, 2.4.0 > Reporter: Dongjoon Hyun > Assignee: Dongjoon Hyun > Priority: Minor > Attachments: 0001-SPARK-25795-R-EXAMPLE-Fix-CSV-SparkR-SQL-Example.patch > > > This issue aims to fix the following SparkR example in Spark 2.3.0 ~ 2.4.0. > {code} > > df <- read.df("examples/src/main/resources/people.csv", "csv") > > namesAndAges <- select(df, "name", "age") > ... > Caused by: org.apache.spark.sql.AnalysisException: cannot resolve '`name`' given input columns: [_c0];; > 'Project ['name, 'age] > +- AnalysisBarrier > +- Relation[_c0#97] csv > {code} > > - https://github.com/apache/spark/blob/master/examples/src/main/r/RSparkSQLExample.R > - https://dist.apache.org/repos/dist/dev/spark/v2.4.0-rc3-docs/_site/sql-programming-guide.html#manually-specifying-options > - http://spark.apache.org/docs/2.3.2/sql-programming-guide.html#manually-specifying-options > - http://spark.apache.org/docs/2.3.1/sql-programming-guide.html#manually-specifying-options > - http://spark.apache.org/docs/2.3.0/sql-programming-guide.html#manually-specifying-options -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org For additional commands, e-mail: issues-help@spark.apache.org