Hi, everyone. My GitHub ID is kitalkuyo-gita
Organized some to-do lists
1. TODO/FIXME Cleanup and Implementation
I found a large number of uncompleted TODO comments, which are good improvement
opportunities:
PipelineUtil.java: Asynchronous mode check logic needs refactoring
OneDegreeGraphScanIterator.java: Graph proxy partition scan iterator needs to
be implementedPartitionType.java: DT partitioning and label DT partitioning
need to be supportedStaticGraphPaimonStoreBase.java: Tables need to be created
using graph mode instead of KV tablesAbstractUnAlignedWorker.java:
LoadGraphProcessEvent needs to be alignedUnAlignedComputeWorker.java:
Dynamic/streaming scenario handling needs to be improved
2. Hard-coded and magic numbersI found many hard-coded strings and
numbers:ClusterConstants.java: Various prefixes and constants can be extracted
as configurationNettyMessage.java: The magic number 0xBADC0FFE needs to be
constantizedStringLiteralUtil.java: The multiplier array {1000, 100, 10, 1}
needs to be constantized.LocalClient.java: The JSON template string needs to be
extracted.
3. Exception Handling Improvements
Identified several areas for exception handling improvements:
ErrorApiResponse.java: Exception classification logic can be more
refined.ComponentUncaughtExceptionHandler.java: Exception handling can be more
elegant.SliceOutputChannelHandler.java: Exception handling can be more specific.
4. Code DuplicationIdentified several duplicate code patterns:
ListUtil.java: Duplicate logic in collection operations.FunctionCallUtils.java:
Duplicate code in type mapping.QueryTester.java: Duplicate file reading logic.
In addition, I've noticed some issues with similarity calculations, such as
Jaccard similarity and node similarity. Overall, the community's future plans
fall into two main areas: 1. Increasing and maintaining basic capabilities; 2.
Expanding GNN sampling and AI+graph capabilities. Does anyone have any
additional comments? Feel free to discuss!