etienne created SPARK-10114:
-------------------------------

             Summary: Add optional getters to the spark.sql.Row
                 Key: SPARK-10114
                 URL: https://issues.apache.org/jira/browse/SPARK-10114
             Project: Spark
          Issue Type: Improvement
          Components: SQL
            Reporter: etienne
            Priority: Trivial


Add function 
{code}
def getAsOpt[T](i : Int ) : Option[T] 
def getAsOption[T](filedname : String) : Option[T]
{code}
[PR here|https://github.com/apache/spark/pull/8312#issuecomment-132607361]

This will clarify the code which extract optional value from row.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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

Reply via email to