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/02/21 09:51:00 UTC

[jira] [Updated] (SPARK-51284) Fix empty result return from SQL Scripts

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

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

> Fix empty result return from SQL Scripts
> ----------------------------------------
>
>                 Key: SPARK-51284
>                 URL: https://issues.apache.org/jira/browse/SPARK-51284
>             Project: Spark
>          Issue Type: Sub-task
>          Components: Spark Core
>    Affects Versions: 4.0.0, 4.1.0
>            Reporter: David Milicevic
>            Priority: Major
>              Labels: pull-request-available
>
> If the result statement in the SQL Script exists, but returns nothing, there are a few problems:
>  * Tests are missing.
>  * Execution is failing.
>  * Schema would be missing if we fix just the execution failing part.
> Fix is quite simple, don't rely on reading schema from the output Rows, rather read the schema from the resulting DataFrame.



--
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