How golosegor/pyspark-nested-fields-functions works
Connection and Flow Representation
The flow should generally be:
Public API → Processors → Function Implementations → Utilities
Special Elements
a) Input/Output Representation:
• PySpark DataFrame input on the left
• Transformed DataFrame output on the right
b) Integration Points:
• Integration with PySpark's native functions
• Where custom transformations are applied
• Use interface symbols to show these connection points
Key Design Patterns to Highlight
• Processor Pattern: Show how the different processors handle nested field operations
• Strategy Pattern: Illustrate how different functions implement various transformation strategies
• Chain of Responsibility: Demonstrate how nested field operations are processed through the layers
Technical Details to Emphasize
• How the library handles nested JSON structures
• Schema flattening process
• Demonstrate predicate-based operation handling
• Error handling flow