You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by actuaryzhang <gi...@git.apache.org> on 2017/02/21 19:11:38 UTC

[GitHub] spark issue #17017: [SPARK-19682][SparkR] Issue warning (or error) when subs...

Github user actuaryzhang commented on the issue:

    https://github.com/apache/spark/pull/17017
  
    @felixcheung 
    Simple example to illustrate this
    ```
    df <- suppressWarnings(createDataFrame(iris))
    df[[1:2]]
    ```
    Instead of issuing warning and taking the first element, we can throw a more meaningful error message. Minor issue, but many R users may be accustomed to use vector index with `[[`. 


---
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.
---

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