Skip to content

Commit

Permalink
Format
Browse files Browse the repository at this point in the history
  • Loading branch information
milderhc committed Sep 10, 2024
1 parent 0650bd2 commit 99e67c8
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
1 change: 1 addition & 0 deletions .github/_typos.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ ans = "ans" # Short for answers
arange = "arange" # Method in Python numpy package
prompty = "prompty" # prompty is a format name.
ist = "ist" # German language
Prelease = "Prelease" # Prelease is a format name.

[default.extend-identifiers]
ags = "ags" # Azure Graph Service
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/java-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:
run: ./mvnw -B -Pbug-check -Pcompile-jdk${{ matrix.java-versions }} test --file pom.xml

# Uploads test artifacts for each JDK version
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
if: always()
with:
name: test_output_sk_jdk${{ matrix.java-versions }}u
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -195,13 +195,13 @@ public void createCollection(String collectionName,
Statement createTableAndIndexes = connection.createStatement()) {

String createStorageTable = "CREATE TABLE IF NOT EXISTS "
+ getCollectionTableName(collectionName) + " ("
+ getKeyColumnName(recordDefinition.getKeyField()) + " VARCHAR(255) PRIMARY KEY, "
+ getColumnNamesAndTypes(new ArrayList<>(recordDefinition.getDataFields()),
+ getCollectionTableName(collectionName) + " ("
+ getKeyColumnName(recordDefinition.getKeyField()) + " VARCHAR(255) PRIMARY KEY, "
+ getColumnNamesAndTypes(new ArrayList<>(recordDefinition.getDataFields()),
supportedDataTypes)
+ ", "
+ getColumnNamesAndTypesForVectorFields(recordDefinition.getVectorFields())
+ ");";
+ ", "
+ getColumnNamesAndTypesForVectorFields(recordDefinition.getVectorFields())
+ ");";

createTableAndIndexes.addBatch(createStorageTable);
for (VectorStoreRecordVectorField vectorField : vectorFields) {
Expand Down

0 comments on commit 99e67c8

Please sign in to comment.