-
Notifications
You must be signed in to change notification settings - Fork 332
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SAMZA-1998: Table API refactoring #807
Conversation
- Removed TableSpec - Consolidated configuration for tables to table descriptors - Refactored constructor so that only local table would require serde's - Removed table provider for RocksDB- and in-memory tables, and added LocalTableProvider - Various refactoring for unit tests
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice, looks much cleaner and simpler now. A few more suggestions for potential simplification.
samza-api/src/main/java/org/apache/samza/table/descriptors/BaseTableDescriptor.java
Outdated
Show resolved
Hide resolved
samza-api/src/main/java/org/apache/samza/table/descriptors/BaseTableDescriptor.java
Outdated
Show resolved
Hide resolved
samza-api/src/main/java/org/apache/samza/table/descriptors/CachingTableDescriptor.java
Outdated
Show resolved
Hide resolved
samza-api/src/main/java/org/apache/samza/table/descriptors/LocalTableDescriptor.java
Outdated
Show resolved
Hide resolved
samza-api/src/main/java/org/apache/samza/table/descriptors/LocalTableDescriptor.java
Outdated
Show resolved
Hide resolved
samza-core/src/main/java/org/apache/samza/execution/ExecutionPlanner.java
Outdated
Show resolved
Hide resolved
samza-core/src/main/java/org/apache/samza/table/TableConfigGenerator.java
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, with a few more suggestion. Feel free to address them and merge. Thanks for the cleanup!
Table API refactoring
- Removed TableSpec
- Consolidated configuration generation for tables to table descriptors
- Refactored constructor so that only local table would require serde's
- Removed table provider for RocksDB- and in-memory tables, and added LocalTableProvider
- Updates to unit tests
- Various refactoring