You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Jacek Laskowski (JIRA)" <ji...@apache.org> on 2017/03/29 09:14:41 UTC

[jira] [Created] (SPARK-20138) Add imports to snippets in Spark SQL, DataFrames and Datasets Guide doc

Jacek Laskowski created SPARK-20138:
---------------------------------------

             Summary: Add imports to snippets in Spark SQL, DataFrames and Datasets Guide doc
                 Key: SPARK-20138
                 URL: https://issues.apache.org/jira/browse/SPARK-20138
             Project: Spark
          Issue Type: Improvement
          Components: Documentation, SQL
    Affects Versions: 2.2.0
            Reporter: Jacek Laskowski
            Priority: Trivial


Given [the question on StackOverflow|http://stackoverflow.com/q/43089100/1305344] it seems it'd be helpful to add imports to the snippets to make _some_ people's lives easier.

{quote}
When I try to load data using the second method in the link, I get the following error.

scala> val connectionProperties = new Properties()
<console>:44: error: not found: type Properties
       val connectionProperties = new Properties()
{quote}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org