Skip to content

Comments

HIVE-13748: Support hyphen(-) in struct field names in TypeInfoUtils#6329

Open
saitharun15 wants to merge 1 commit intoapache:masterfrom
saitharun15:HIVE-13748
Open

HIVE-13748: Support hyphen(-) in struct field names in TypeInfoUtils#6329
saitharun15 wants to merge 1 commit intoapache:masterfrom
saitharun15:HIVE-13748

Conversation

@saitharun15
Copy link

What changes were proposed in this pull request?

Currently, TypeInfoUtils rejects struct field names containing hyphens (for example, aws-region) during type parsing and throws an exception.

Related JIRA issues: HIVE-13748 HIVE-24181 HIVE-20272

Why are the changes needed?

Tables backed by Hadoop catalogs can be created with struct field names containing hyphens. However, the same schemas fail during type parsing when using Hive-backed catalogs.

Does this PR introduce any user-facing change?

No

How was this patch tested?

Added Unit Test

@sonarqubecloud
Copy link

@okumin
Copy link
Contributor

okumin commented Feb 22, 2026

I believe my pull request is a little more generic and can cover a hyphen.
#5767

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.

3 participants