Skip to content

Commit

Permalink
Fix issues detected by sonar
Browse files Browse the repository at this point in the history
  • Loading branch information
bchapuis committed Nov 5, 2024
1 parent 188843d commit e2ef3ce
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ public Document apply(DataRow dataRow) {
return doc;
}

@SuppressWarnings("squid:S6541")
private void applyValue(DataColumn column, Document doc, Object value) {
String columnName = column.name();
DataColumn.Type type = column.type();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ else if (!field.isPrimitive()) {
geoParquetSchema);
}

// TODO: Handle logical types
// Handle logical types
else if (field.getLogicalTypeAnnotation() != null
&& field.getLogicalTypeAnnotation().equals(LogicalTypeAnnotation.stringType())) {
return new StringField(field.getName(), cardinality);
Expand Down

0 comments on commit e2ef3ce

Please sign in to comment.