Skip to content

Conversation

@Yicong-Huang
Copy link
Contributor

This PR lets jooq use TEXERA_HOME to find configurations.

@Copilot Copilot AI review requested due to automatic review settings October 13, 2025 04:40
@Yicong-Huang Yicong-Huang self-assigned this Oct 13, 2025
@github-actions github-actions bot added engine ddl-change Changes to the TexeraDB DDL fix frontend Changes related to the frontend GUI ci changes related to CI build common labels Oct 13, 2025
@github-actions github-actions bot removed engine ddl-change Changes to the TexeraDB DDL frontend Changes related to the frontend GUI ci changes related to CI build labels Oct 13, 2025
Copy link
Contributor

Copilot AI left a 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_HOME for locating configuration files
  • Replaced bin/sql/ path references with sql/ 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.

Yicong-Huang and others added 2 commits October 12, 2025 21:41
…tor.scala

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Yicong Huang <17627829+Yicong-Huang@users.noreply.github.com>
@Yicong-Huang Yicong-Huang changed the title fix: use TEXERA_HOME for jooq fix: use TEXERA_HOME for jooq Oct 13, 2025
@Yicong-Huang Yicong-Huang merged commit dd40246 into main Oct 13, 2025
12 checks passed
@Yicong-Huang Yicong-Huang deleted the fix/use-texera-home-for-jooq branch October 13, 2025 05:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants