Skip to content

Commit

Permalink
Fix profile activation for Spark 3.2, spotless apply
Browse files Browse the repository at this point in the history
  • Loading branch information
Kontinuation committed Aug 22, 2024
1 parent 34b5f24 commit 90ac25d
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 5 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -709,7 +709,7 @@
<activation>
<property>
<name>spark</name>
<value>3.2.3</value>
<value>3.2</value>
</property>
</activation>
<properties>
Expand Down
2 changes: 1 addition & 1 deletion python/tests/sql/test_shapefile.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,4 +82,4 @@ def test_read_multiple_shapefiles(self):
assert row['aUnicode'] == ''
assert row['aDecimal'] is None
assert row['aDecimal2'] is None
assert row['aDate'] is None
assert row['aDate'] is None
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,8 @@ object ShapefileUtils {
}
} else { (bytes: Array[Byte]) =>
try {
Decimal.fromDecimal(new java.math.BigDecimal(new String(bytes, StandardCharsets.ISO_8859_1).trim))
Decimal.fromDecimal(
new java.math.BigDecimal(new String(bytes, StandardCharsets.ISO_8859_1).trim))
} catch {
case _: Exception => null
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,8 @@ object ShapefileUtils {
}
} else { (bytes: Array[Byte]) =>
try {
Decimal.fromDecimal(new java.math.BigDecimal(new String(bytes, StandardCharsets.ISO_8859_1).trim))
Decimal.fromDecimal(
new java.math.BigDecimal(new String(bytes, StandardCharsets.ISO_8859_1).trim))
} catch {
case _: Exception => null
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,8 @@ object ShapefileUtils {
}
} else { (bytes: Array[Byte]) =>
try {
Decimal.fromDecimal(new java.math.BigDecimal(new String(bytes, StandardCharsets.ISO_8859_1).trim))
Decimal.fromDecimal(
new java.math.BigDecimal(new String(bytes, StandardCharsets.ISO_8859_1).trim))
} catch {
case _: Exception => null
}
Expand Down

0 comments on commit 90ac25d

Please sign in to comment.