unitycatalog / unitycatalog/unitycatalog
[Spark-Connector] Columns metadata not created when creating a table using Spark Connector
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 3.5k
- Forks
- 672
- Avg merge
- 6d 16h
- Merged PRs (30d)
- 30
Description
Describe the bug
Creating a delta table while using the Apache Spark integration does not add columns metadata. Because of this the schema description does not appear in the UI.
I tested this locally running the commands from the Quickstart
It does create the table and saves the information with no issue but the columns metadata is not present.
To Reproduce
Steps to reproduce the behavior:
- Following the steps to initialize the UC locally;
- Following the steps to use the Apache Spark and create a table.
Expected behavior
I expected to have the correct parsing of the columns metadata.
System [please complete the following information]:
- OS: Ubuntu:20.04
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Follow the Quickstart to reproduce table creation through the Apache Spark integration, then inspect the created table in the UI and compare its schema with the source table. Trace the Spark Connector path responsible for table metadata and verify that column metadata is persisted and displayed after the fix.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, spark
- Domain
- data-engineering, databases
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100