bahir-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From emlaver <...@git.apache.org>
Subject [GitHub] bahir pull request #:
Date Mon, 24 Jul 2017 19:02:14 GMT
Github user emlaver commented on the pull request:

    https://github.com/apache/bahir/commit/052abb4c64bb9da425ced6f1feeb0ab4fd52edfe#commitcomment-23271890
  
    In sql-cloudant/src/main/scala/org/apache/bahir/cloudant/common/JsonStoreConfigManager.scala:
    In sql-cloudant/src/main/scala/org/apache/bahir/cloudant/common/JsonStoreConfigManager.scala
on line 153:
    I've been testing in DSX notebooks and you can create a `SparkSession` with config options.
 Example:
    ```
    spark = SparkSession\
        .builder\
        .appName("Cloudant Spark SQL Example in Python using dataframes")\
        .config("cloudant.host", host)\
        .config("cloudant.username", username)\
        .config("cloudant.password", password)\
        .config("spark.cloudant.endpoint", "_changes")\
        .config("spark.streaming.unpersist", "false")\
        .getOrCreate()
    ```


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message