Create empty dataframe in scala spark

Create empty dataframe in scala spark Hi,Thanks for reaching out to Databricks forum,This is a bug with OSS, which is being fixed in Spark 3 version.Here is the jira ticket about the issue is the pull request for the fix, which will be merged the fix to the Databricks runtime versions is in the pipeline.Please let us know whether it answers your question or if you have follow-up ................
................