Michael Chirico created SPARK-31578:
---------------------------------------

             Summary: Internal checkSchemaInArrow is inefficient
                 Key: SPARK-31578
                 URL: https://issues.apache.org/jira/browse/SPARK-31578
             Project: Spark
          Issue Type: Documentation
          Components: R
    Affects Versions: 2.4.5
            Reporter: Michael Chirico


Current implementation is doubly inefficient:

Repeatedly doing the same (95%) sapply loop
Doing scalar == on a vector (== should be done over the whole vector for 
efficiency)

See existing PR:

https://github.com/apache/spark/pull/28372



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

Reply via email to