Optimize queryAppInfo SQL and upgrade ozhera-app to 2.2.7-incubating
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 76/100
- Issue type
- Refactor
- Clarity
- Mostly clear
- Activity status
- Active
- Domain
- backend, build-system, database
Research direction
Locate HeraAppBaseInfoMapper.xml and inspect queryAppInfo and queryLatestAppInfo, then find the ozhera-app module version declaration. Check the existing module build and tests before making the query and version changes; done means the joins are simplified without changing results and the module reports version 2.2.7-incubating.
Written by the indexing model from the issue text.
Description
- Remove unnecessary LEFT JOIN in queryAppInfo and queryLatestAppInfo
- The HeraAppBaseInfoMapper.xml queries used LEFT JOIN on hera_app_excess_info, but since the WHERE clause already filters on columns from that table, the LEFT JOIN
effectively behaves as an INNER JOIN. Removing it simplifies the query and improves performance.
- The HeraAppBaseInfoMapper.xml queries used LEFT JOIN on hera_app_excess_info, but since the WHERE clause already filters on columns from that table, the LEFT JOIN
- Upgrade ozhera-app module version to 2.2.7-incubating
- Dominant language
- Java
- Stars
- 122
- Forks
- 46
- Avg merge
- 13h 8m
- Merged PRs (30d)
- 8
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from apache/ozhera
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
-
Difficulty 5/5 Over a week Newbie friendliness 20/100
-
Difficulty 3/5 1-2 days Newbie friendliness 20/100
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
infinispan/infinispan#18150 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
-
untriaged
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
opensearch-project/k-NN#3597 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 82/100