Izek Greenfield created SPARK-47085:
---------------------------------------

             Summary: Preformance issue on thrift API
                 Key: SPARK-47085
                 URL: https://issues.apache.org/jira/browse/SPARK-47085
             Project: Spark
          Issue Type: Improvement
          Components: SQL
    Affects Versions: 3.5.0, 3.4.1
            Reporter: Izek Greenfield


in class `RowSetUtils` there is a loop that has O(n^2) complexity:


{code:scala}
...
 while (i < rowSize) {
          val row = rows(I)
          ...
{code}

It can be easily converted into O( n ) complexity. 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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

Reply via email to