-
Notifications
You must be signed in to change notification settings - Fork 104
fix: use TEXERA_HOME for jooq
#3886
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
Conversation
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.
Pull Request Overview
This PR updates file references to use TEXERA_HOME environment variable for jooq configuration and normalizes SQL file paths throughout the codebase.
- Updated jooq code generator to use
TEXERA_HOMEfor locating configuration files - Replaced
bin/sql/path references withsql/across documentation and code comments - Modified CI workflow to use updated SQL file paths
Reviewed Changes
Copilot reviewed 1 out of 1 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| common/dao/src/main/scala/org/apache/texera/dao/JooqCodeGenerator.scala | Modified to use TEXERA_HOME environment variable for finding jooq and storage configurations |
| common/dao/src/test/scala/org/apache/texera/dao/MockTexeraDB.scala | Updated SQL DDL path reference from bin/sql/ to sql/ |
| .github/workflows/github-action-build.yml | Updated CI workflow to use sql/ path instead of bin/sql/ for database setup |
| frontend/src/app/dashboard/type/dashboard-file.interface.ts | Updated comment reference to SQL file path |
| amber/src/main/scala/org/apache/texera/web/resource/dashboard/user/workflow/WorkflowVersionResource.scala | Updated comment reference to SQL file path |
| amber/src/main/scala/org/apache/texera/web/resource/dashboard/user/workflow/WorkflowResource.scala | Updated comment reference to SQL file path |
| amber/src/main/scala/org/apache/texera/web/resource/dashboard/user/project/ProjectResource.scala | Updated comment reference to SQL file path |
| amber/src/main/scala/org/apache/texera/web/resource/dashboard/UnifiedResourceSchema.scala | Updated comment reference to SQL file path |
| amber/src/main/scala/org/apache/texera/web/resource/UserConfigResource.scala | Updated comment reference to SQL file path |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
common/dao/src/main/scala/org/apache/texera/dao/JooqCodeGenerator.scala
Outdated
Show resolved
Hide resolved
…tor.scala Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Signed-off-by: Yicong Huang <17627829+Yicong-Huang@users.noreply.github.com>
TEXERA_HOME for jooq
This PR lets jooq use
TEXERA_HOMEto find configurations.