You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This package can be used to create dataset in Salesforce Wave from [Spark DataFrames](https://spark.apache.org/docs/1.3.0/sql-programming-guide.html) to [Salesforce Wave](http://www.salesforce.com/in/analytics-cloud/overview/).
31
-
This library requires following options:
32
-
*`username`: Salesforce Wave Username. This user should have privilege to upload datasets
34
+
***Dataset Creation** - Create dataset in Salesforce Wave from [Spark DataFrames](http://spark.apache.org/docs/latest/sql-programming-guide.html) to [Salesforce Wave](http://www.salesforce.com/in/analytics-cloud/overview/)
35
+
***Read Salesforce Wave Dataset** User has to provide SAQL to read data from Salesforce Wave. The query will be constructed as dataframe
36
+
***Read Salesforce Object** User has to provide SOQL to read data from Salesforce object. The query result will be constructed as dataframe
37
+
38
+
### Options
39
+
*`username`: Salesforce Wave Username. This user should have privilege to upload datasets or execute SAQL or execute SOQL
33
40
*`password`: Salesforce Wave Password. Please append security token along with password.For example, if a user’s password is mypassword, and the security token is XXXXXXXXXX, the user must provide mypasswordXXXXXXXXXX
34
-
*`datasetName`: Name of the dataset to be created in Salesforce Wave
35
-
*`metadataConfig`: (Optional) Metadata configuration which will be used to construct [Salesforce Wave Dataset Metadata] (https://resources.docs.salesforce.com/sfdc/pdf/bi_dev_guide_ext_data_format.pdf). Metadata configuration has to be provided in JSON format.
41
+
*`login`: (Optional) Salesforce Login URL. Default value https://login.salesforce.com
42
+
*`datasetName`: (Optional) Name of the dataset to be created in Salesforce Wave. Required for Dataset Creation
43
+
*`metadataConfig`: (Optional) Metadata configuration which will be used to construct [Salesforce Wave Dataset Metadata] (https://resources.docs.salesforce.com/sfdc/pdf/bi_dev_guide_ext_data_format.pdf). Metadata configuration has to be provided in JSON format
44
+
*`saql`: (Optional) SAQL query to used to query Salesforce Wave. Mandatory for reading Salesforce Wave dataset
45
+
*`soql`: (Optional) SOQL query to used to query Salesforce Object. Mandatory for reading Salesforce Object like Opportunity
46
+
*`version`: (Optional) Salesforce API Version. Default 35.0
47
+
*`inferSchema`: (Optional) Inferschema from the query results. Sample rows will be taken to find the datatype
48
+
*`resultVariable`: (Optional) result variable used in SAQL query. To paginate SAQL queries this package will add the required offset and limit. For example, in this SAQL query `q = load \"<dataset_id>/<dataset_version_id>\"; q = foreach q generate 'Name' as 'Name', 'Email' as 'Email';`**q** is the result variable
49
+
*`pageSize`: (Optional) Page size for each query to be executed against Salesforce Wave. Default value is 2000. This option can only be used if `resultVariable` is set
0 commit comments