Yicong-Huang opened a new pull request, #4094:
URL: https://github.com/apache/texera/pull/4094
### What changes were proposed in this PR?
This PR refactors the package structure by moving all Amber engine code from
`org.apache.amber` to `org.apache.texera.amber`. This aligns the package naming
with the Texera project organization and ensures all components are properly
namespaced under the Apache Texera organization.
**Key Changes:**
1. **Directory Structure Migration** - Moved all source directories:
- Scala/Java sources: 8 modules moved
- Protobuf definitions: 14 files moved
- Python proto generated code: moved under new namespace
- Frontend TypeScript proto: moved under new namespace
2. **Code Updates** - Updated across 707 files:
- Package declarations in 576 Scala/Java files
- Import statements across all Scala/Java files
- 57 Python files updated for new proto imports
- 14 Protobuf files updated with new Java package
- 2 TypeScript files updated with new import paths
- Configuration files (cluster.conf)
- String literals containing class names for reflection/dynamic loading
3. **Package Namespace Changes:**
```diff
- org.apache.amber.engine.common
- org.apache.amber.operator.*
- org.apache.amber.core.*
- org.apache.amber.compiler.*
+ org.apache.texera.amber.engine.common
+ org.apache.texera.amber.operator.*
+ org.apache.texera.amber.core.*
+ org.apache.texera.amber.compiler.*
```
### Any related issues, documentation, discussions?
Closes #4003
### How was this PR tested?
CI
### Was this PR authored or co-authored using generative AI tooling?
Generated-by: Claude Sonnet 4.5 (Cursor IDE)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]