Skip to content

Snowflake, Databricks, Spark, DuckDB: Add VARIANT data type - #3095

Open
sdf-jkl wants to merge 2 commits into
apache:mainfrom
sdf-jkl:variant-data-type
Open

sdf-jkl wants to merge 2 commits into
apache:mainfrom
sdf-jkl:variant-data-type

Conversation

@sdf-jkl

@sdf-jkl sdf-jkl commented Dec 3, 2026

Copy link
Copy Markdown
Member

Dialects: Snowflake, Databricks, Spark, DuckDB, Generic

Snowflake, Databricks, Spark and DuckDB document a semi-structured VARIANT type, as do Trino, Flink, Doris, Databend, StarRocks and Dremio. sqlparser parses it as DataType::Custom. This adds DataType::Variant.

Docs: Snowflake, Databricks, Spark, DuckDB, Trino, Doris, Databend, StarRocks, Dremio

Drafted with AI assistance (Claude Code).

🤖 Generated with Claude Code

sdf-jkl and others added 2 commits December 3, 2026 13:23
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@sdf-jkl
sdf-jkl marked this pull request as ready for review December 3, 2026 18:25
@sdf-jkl

sdf-jkl commented Dec 3, 2026

Copy link
Copy Markdown
Member Author

@LucaCappelletti94 another one 🙏

cc @alamb

@codecov-commenter

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 83.71%. Comparing base (140ff04) to head (948ab01).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #3095   +/-   ##
=======================================
  Coverage   83.71%   83.71%           
=======================================
  Files          42       42           
  Lines       35908    35909    +1     
  Branches    35908    35909    +1     
=======================================
+ Hits        30059    30060    +1     
  Misses       2412     2412           
  Partials     3437     3437           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@alamb alamb left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants