-
Notifications
You must be signed in to change notification settings - Fork 2
feat(feature-store): add AI/ML Feature Store use case #60
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
Merged
Merged
Changes from 1 commit
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,97 @@ | ||
| name: Feature Store CI | ||
|
|
||
| on: | ||
| push: | ||
| paths: | ||
| - feature-store/** | ||
| - .github/workflows/feature-store.yml | ||
| pull_request: | ||
| paths: | ||
| - feature-store/** | ||
| - .github/workflows/feature-store.yml | ||
|
|
||
| jobs: | ||
| test: | ||
| runs-on: ubuntu-latest | ||
| timeout-minutes: 15 | ||
| permissions: | ||
| contents: read | ||
| strategy: | ||
| fail-fast: false | ||
| matrix: | ||
| runner: [curl, java, js] | ||
|
|
||
| env: | ||
| ARCADEDB_URL: http://localhost:2480 | ||
| ARCADEDB_USER: root | ||
| ARCADEDB_PASS: arcadedb | ||
|
|
||
| steps: | ||
| - name: Checkout | ||
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | ||
| with: | ||
| fetch-depth: 1 | ||
|
|
||
| - name: Set up Java | ||
| if: matrix.runner == 'java' | ||
| uses: actions/setup-java@be666c2fcd27ec809703dec50e508c2fdc7f6654 # v5.2.0 | ||
| with: | ||
| java-version: '21' | ||
| distribution: 'temurin' | ||
|
|
||
| - name: Cache Maven repository | ||
| if: matrix.runner == 'java' | ||
| uses: actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.4 | ||
| with: | ||
| path: ~/.m2 | ||
| key: ${{ runner.os }}-m2-feature-store-${{ hashFiles('feature-store/java/pom.xml') }} | ||
| restore-keys: ${{ runner.os }}-m2-feature-store- | ||
|
|
||
| - name: Set up Node.js | ||
| if: matrix.runner == 'js' | ||
| uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0 | ||
| with: | ||
| node-version: '22' | ||
|
|
||
| - name: Cache npm | ||
| if: matrix.runner == 'js' | ||
| uses: actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.4 | ||
| with: | ||
| path: ~/.npm | ||
| key: ${{ runner.os }}-npm-feature-store-${{ hashFiles('feature-store/js/package.json') }} | ||
| restore-keys: ${{ runner.os }}-npm-feature-store- | ||
|
|
||
| - name: Install JS dependencies | ||
| if: matrix.runner == 'js' | ||
| working-directory: feature-store/js | ||
| run: npm install | ||
|
|
||
| - name: Start ArcadeDB | ||
| working-directory: feature-store | ||
| run: docker compose up -d | ||
|
|
||
| - name: Setup database | ||
| working-directory: feature-store | ||
| run: ./setup.sh | ||
|
|
||
| - name: Run curl queries | ||
| if: matrix.runner == 'curl' | ||
| working-directory: feature-store | ||
| run: ./queries/queries.sh | ||
|
|
||
| - name: Build and run Java | ||
| if: matrix.runner == 'java' | ||
| working-directory: feature-store/java | ||
| run: | | ||
| mvn package --no-transfer-progress | ||
| java -jar target/feature-store.jar | ||
|
|
||
| - name: Run JavaScript queries | ||
| if: matrix.runner == 'js' | ||
| working-directory: feature-store/js | ||
| run: node feature-store.js | ||
|
|
||
| - name: Teardown | ||
| if: always() | ||
| working-directory: feature-store | ||
| run: docker compose down |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
The
open-pull-requests-limitfor Maven is set to 20, which is higher than the limit of 10 for other package ecosystems in this file. While this is not necessarily an issue, it's worth ensuring this is intentional. A higher limit can sometimes lead to a large number of open PRs from dependabot, which might be overwhelming to manage. If the number of Maven dependencies is large and they are updated frequently, this might be justified.