Wayne Zhang created SPARK-19682:
-----------------------------------

             Summary: Issue warning (or error) when subset method "[[" takes 
vector index
                 Key: SPARK-19682
                 URL: https://issues.apache.org/jira/browse/SPARK-19682
             Project: Spark
          Issue Type: Improvement
          Components: SparkR
    Affects Versions: 2.1.0
            Reporter: Wayne Zhang
            Priority: Minor


The `[[` method is supposed to take a single index and return a column. This is 
different from base R which takes a vector index.  We should check for this and 
issue warning or error when vector index is supplied (which is very likely 
given the behavior in base R). 



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

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

Reply via email to