Skip to content

Commit e55bda3

Browse files
committed
Fixed typos in comments
1 parent 4f919c3 commit e55bda3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

data/semantickernel-data-oracle/src/main/java/com/microsoft/semantickernel/data/jdbc/oracle/OracleVectorStoreQueryProvider.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -494,7 +494,7 @@ public <Record> VectorSearchResults<Record> search(String collectionName, List<F
494494
int columnIndex = 1;
495495
// define distance column as double
496496
defineDataColumnType(columnIndex++, oracleStatement, Double.class);
497-
// define columns for returned fiels
497+
// define columns for returned fields
498498
for (VectorStoreRecordField field : fields) {
499499
if (!(field instanceof VectorStoreRecordVectorField))
500500
defineDataColumnType(columnIndex++, oracleStatement, field.getFieldType());
@@ -609,7 +609,7 @@ private void setSearchParameter(PreparedStatement statement, int index, Class<?>
609609
* @throws SQLException if an error occurs while defining the column type
610610
*/
611611
private void defineDataColumnType(int columnIndex, OracleStatement statement, Class<?> fieldType) throws SQLException {
612-
// swich between supported classes and define the column type on the statement
612+
// switch between supported classes and define the column type on the statement
613613
switch (supportedDataTypes.get(fieldType)) {
614614
case OracleDataTypesMapping.STRING_CLOB:
615615
statement.defineColumnType(columnIndex, OracleTypes.CLOB, Integer.MAX_VALUE);

0 commit comments

Comments
 (0)