apache / apache/hudi

Improve HiveSchemaUtil#generateCreateDDL With StringBuilder.

Open
#15,906 2 comments 0 reactions 1 assignee Claimed by @nsivabalan View on GitHub
engine:hive from-jira priority:high status:pr-available type:improvement
Dominant language
Java
Stars
6.2k
Forks
2.5k
Avg merge
2d 8h
Merged PRs (30d)
111

Description

The code of HiveSchemaUtil#generateCreateDDL uses a lot of append, which makes the code very difficult to read. Usually, in this case, we should use antlr's ST to generate SQL. This jira will use ST to improve this part of the code

## JIRA info

- Link: https://issues.apache.org/jira/browse/HUDI-6086
- Type: Improvement

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.