[ 
https://issues.apache.org/jira/browse/SPARK-1983?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Kuldeep updated SPARK-1983:
---------------------------

    Description: 
https://github.com/apache/spark/blob/master/sql/core/src/main/scala/org/apache/spark/sql/SQLContext.scala#L338

The above method `inferSchema` can be useful to expose in Scala and Java API 
for making SparkSQL work without creating classes. It would let one to create 
tables from a simple RDD of Map without defining classes.

  was:
https://github.com/apache/spark/blob/master/sql/core/src/main/scala/org/apache/spark/sql/SQLContext.scala#L298

The above method can be useful to expose in Scala and Java API for making 
SparkSQL work without creating classes. It would let one to create tables from 
a simple RDD of Map without defining classes.


> Expose private `inferSchema` method in SQLContext for Scala and Java API
> ------------------------------------------------------------------------
>
>                 Key: SPARK-1983
>                 URL: https://issues.apache.org/jira/browse/SPARK-1983
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 1.0.0
>            Reporter: Kuldeep
>
> https://github.com/apache/spark/blob/master/sql/core/src/main/scala/org/apache/spark/sql/SQLContext.scala#L338
> The above method `inferSchema` can be useful to expose in Scala and Java API 
> for making SparkSQL work without creating classes. It would let one to create 
> tables from a simple RDD of Map without defining classes.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to