Return-Path: X-Original-To: apmail-spark-issues-archive@minotaur.apache.org Delivered-To: apmail-spark-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 070A91726C for ; Thu, 29 Jan 2015 08:05:35 +0000 (UTC) Received: (qmail 86621 invoked by uid 500); 29 Jan 2015 08:05:34 -0000 Delivered-To: apmail-spark-issues-archive@spark.apache.org Received: (qmail 86584 invoked by uid 500); 29 Jan 2015 08:05:34 -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 86574 invoked by uid 99); 29 Jan 2015 08:05:34 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Jan 2015 08:05:34 +0000 Date: Thu, 29 Jan 2015 08:05:34 +0000 (UTC) From: "Apache Spark (JIRA)" To: issues@spark.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (SPARK-5476) SQLContext.createDataFrame shouldn't be an implicit function 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-5476?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14296553#comment-14296553 ] Apache Spark commented on SPARK-5476: ------------------------------------- User 'rxin' has created a pull request for this issue: https://github.com/apache/spark/pull/4265 > SQLContext.createDataFrame shouldn't be an implicit function > ------------------------------------------------------------ > > Key: SPARK-5476 > URL: https://issues.apache.org/jira/browse/SPARK-5476 > Project: Spark > Issue Type: Sub-task > Components: SQL > Reporter: Reynold Xin > Assignee: Reynold Xin > > It is sort of strange to ask users to import sqlContext._ or sqlContext.createDataFrame. > The proposal here is to ask users to define an implicit val for SQLContext, and then dsl package object should include an implicit function that converts an RDD[Product] to a DataFrame. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org For additional commands, e-mail: issues-help@spark.apache.org