Skip to main content
2 votes
1 answer
55 views

I am using Scala 3.3.7. When I do val str1 = raw"\\\" // compile error: unclosed string literal It is considering the \" as a single character. But when I do val str1 = raw"\\\\&...
Mradul Singhal's user avatar
0 votes
1 answer
61 views

I'm currently getting the error below when trying to compile my SBT project. The artifact does exists here (https://repo1.maven.org/maven2/com/github/sbt/sbt-native-packager_2.12_1.0/1.11.4/), but the ...
xPTM1219's user avatar
Tooling
0 votes
1 replies
36 views

Hello I'm trying to create a integrated database test using testcontainer, my testcotainer is running with liquibase, my problem is about create quill connection, follow my code: container config: ...
Jose Luiz Junior's user avatar
1 vote
0 answers
67 views

I have a bigquery table with array column named as "column_list " ALTER TABLE `test-project.TEST_DATASET.TEST_TABLE` ADD COLUMN column_list ARRAY<STRING>; update `test-project....
Vikrant Singh Rana's user avatar
0 votes
1 answer
88 views

I am attempting to programmatically remove specific columns/fields from a dataframe (anything that starts with _), whether the field is in the root or in a struct, using the dropFields method. For ...
Andrew's user avatar
  • 8,893
1 vote
0 answers
84 views

Using Lucene, certain queries parse and execute in a completely unexpected way. Here's the code for testing it (written in Scala, but can be easily translated to Java too): import org.apache.lucene....
Markus Appel's user avatar
  • 3,268
0 votes
1 answer
71 views

I’m working on a data ingestion pipeline using Apache Spark (triggered via a Cloud Function on Dataproc). The input CSV contains column names that include special characters such as parentheses and a ...
Suhani Bhatia's user avatar
1 vote
0 answers
73 views

I wanted to use riscv-torture project to create tests in a server that has no access to the internet. I firstly run it in my ubuntu 22.04 then copy .sbt .ivy2 .cache/coursier .cache/JPN folders to the ...
Ömer GÜZEL's user avatar
2 votes
1 answer
105 views

I can get the formal type parameters (type variables) of any Java class/interface, including those defined in Scala, through java.lang.reflect API. In addition, Scala allows to define type parameters ...
Turin's user avatar
  • 2,311
-1 votes
2 answers
136 views

I have two possibilities to implement a simple list drop method. A: def drop[A](l: List[A], n: Int): List[A] = (n, l) match case (n, l) if n <= 0 => l case (_, Cons(_, t)) => drop(t, n - ...
Igor Flakiewicz's user avatar
1 vote
0 answers
84 views

mixed compilation project of Scala and Java, and now upgrade jdk8->jdk21, use Java15+ feature text block before: String sql = "update hinsight.homeco_user_task set \n" + "...
maple's user avatar
  • 47
0 votes
0 answers
81 views

I have a small specification that uses json matcher import org.specs2.matcher.JsonMatchers import org.specs2.mutable.Specification class Test extends Specification with JsonMatchers { "test&...
nigredo's user avatar
  • 41
1 vote
0 answers
45 views

I'm new to Scala and I'm having trouble wrapping my head around the following scenario - I want to have a centralized spot in build.sbt where we log the current profile and set certain values based on ...
Dzeri96's user avatar
  • 462
1 vote
3 answers
115 views

I was just reading some Scala code that, due to the structure of the program (and its use of for comprehensions), conditionally transformed a Right into a Left using flatMap: // someMethod() returns ...
M. Justin's user avatar
  • 23.2k
4 votes
1 answer
214 views

In gradle, both Kotlin and Scala compiler plugins have limitations: they can both compile Java code in mixed-order, but they cannot compile each other. The only option is to: compile Scala code first ...
tribbloid's user avatar
  • 3,822

15 30 50 per page
1
2 3 4 5
7523