You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2025/04/09 00:05:00 UTC

[jira] [Updated] (SPARK-51748) UnsafeKVExternalSorter uses size() instead of length()

     [ https://issues.apache.org/jira/browse/SPARK-51748?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

ASF GitHub Bot updated SPARK-51748:
-----------------------------------
    Labels: pull-request-available  (was: )

> UnsafeKVExternalSorter uses size() instead of length()
> ------------------------------------------------------
>
>                 Key: SPARK-51748
>                 URL: https://issues.apache.org/jira/browse/SPARK-51748
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 3.5.0, 4.0.0
>            Reporter: Harsh Motwani
>            Priority: Minor
>              Labels: pull-request-available
>
> This line tries to access the number of fields in a `StructType` using `size()`. However, `StructType` does not have a `size` attribute. Probably, some unintended API is being used here. It might need to be replaced by `length()` instead.



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

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