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: [email protected]
For additional commands, e-mail: [email protected]