[
https://issues.apache.org/jira/browse/SPARK-51284?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Wenchen Fan reassigned SPARK-51284:
-----------------------------------
Assignee: David Milicevic
> 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
> Assignee: 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: [email protected]
For additional commands, e-mail: [email protected]