Skip to content
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

Bump scala to 3.3.4, scala-cli to 1.5.1 and scalatest to 3.2.19 #37

Merged
merged 1 commit into from
Oct 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ jobs:
- name: Setup coursier cache
uses: coursier/[email protected]
- name: Setup scala-cli
uses: VirtusLab/scala-cli-setup@v1.4.0
uses: VirtusLab/scala-cli-setup@v1.5.1
- name: Run tests
run: scala-cli test . --jvm temurin:11
4 changes: 2 additions & 2 deletions project.scala
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//> using scala "3.3.3"
//> using scala "3.3.4"
//> using dep "org.apache.spark:spark-core_2.13:3.2.0"
//> using dep "org.apache.spark:spark-sql_2.13:3.2.0"
//> using test.dep "org.scalatest::scalatest::3.2.16"
//> using test.dep "org.scalatest::scalatest::3.2.19"
2 changes: 1 addition & 1 deletion src/main/types/Encoder.scala
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ object StructEncoder:
}
end fromMirrorImpl

inline given optFromMirror[A](using encoder: StructEncoder[A]): (Encoder[Option[A]] { type ColumnType = StructOptType[encoder.StructSchema] }) =
given optFromMirror[A](using encoder: StructEncoder[A]): (Encoder[Option[A]] { type ColumnType = StructOptType[encoder.StructSchema] }) =
new Encoder[Option[A]]:
override type ColumnType = StructOptType[encoder.StructSchema]
override def encode(value: Option[A]): Any = value.map(encoder.encode).orNull
Expand Down
Loading