apache / apache/shardingsphere

Consider refactoring SQLParserTestCases to avoid excessive line counts

Open
#19,562 3 comments 0 reactions 1 assignee Claimed by @LeeGuoPing View on GitHub
in: SQL parse type: refactor
Dominant language
Java
Stars
20.8k
Forks
6.9k
Avg merge
11h 35m
Merged PRs (30d)
326

Description

## Feature Request

### Is your feature request related to a problem?

No.

### Describe the feature you would like.

Currently, the SQLParserTestCases class adds a row for each additional SQL parsing, which results in the class having too many rows. Therefore, we need to refactor SQLParserTestCases to reduce unnecessary logic to improve the maintainability of the SQLParserTestCases class.

https://github.com/apache/shardingsphere/blob/master/shardingsphere-test/shardingsphere-parser-test/src/main/java/org/apache/shardingsphere/test/sql/parser/parameterized/jaxb/cases/domain/SQLParserTestCases.java

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.