unitycatalog / unitycatalog/unitycatalog

[Spark-Connector] Columns metadata not created when creating a table using Spark Connector

Open
#810 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

  1. Following the steps to initialize the UC locally;
  2. Following the steps to use the Apache Spark and create a table.
Screenshot 2024-12-19 at 11 43 55 Screenshot 2024-12-19 at 11 44 40 3. Get the unfortunate results Screenshot 2024-12-19 at 11 45 00 Screenshot 2024-12-19 at 11 46 27

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.