Skip to content

Conversation

@zhengruifeng
Copy link
Contributor

What changes were proposed in this pull request?

Mark UDT.DataType optional

Why are the changes needed?

this field is actually not required for Scala/Java UDT, e.g. the VectorUDT

Does this PR introduce any user-facing change?

No

How was this patch tested?

existing protobuf breaking change test

Was this patch authored or co-authored using generative AI tooling?

No

@HyukjinKwon
Copy link
Member

Merged to master and branch-4.0.

HyukjinKwon pushed a commit that referenced this pull request Jan 20, 2025
Mark UDT.DataType optional

this field is actually not required for Scala/Java UDT, e.g. the `VectorUDT`

No

existing protobuf breaking change test

No

Closes #49574 from zhengruifeng/connect_udt_sql_type.

Authored-by: Ruifeng Zheng <ruifengz@apache.org>
Signed-off-by: Hyukjin Kwon <gurwls223@apache.org>
(cherry picked from commit efeb1e0)
Signed-off-by: Hyukjin Kwon <gurwls223@apache.org>
@zhengruifeng zhengruifeng deleted the connect_udt_sql_type branch January 21, 2025 00:41
zifeif2 pushed a commit to zifeif2/spark that referenced this pull request Nov 14, 2025
Mark UDT.DataType optional

this field is actually not required for Scala/Java UDT, e.g. the `VectorUDT`

No

existing protobuf breaking change test

No

Closes apache#49574 from zhengruifeng/connect_udt_sql_type.

Authored-by: Ruifeng Zheng <ruifengz@apache.org>
Signed-off-by: Hyukjin Kwon <gurwls223@apache.org>
(cherry picked from commit 8a0aa40)
Signed-off-by: Hyukjin Kwon <gurwls223@apache.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants