-
Notifications
You must be signed in to change notification settings - Fork 117
Open
Description
Hi, I built glow and after lunching sbt and calling for "compile" I get the error below.
What should I do? Here are some information about my build:
SPARK_VERSION=3.3.4
SCALA_VERSION=2.12.15
I cloned Glow 2.0.3
OpenJDK 64-Bit Server VM (Zulu 8.33.0.1-linux64) (build 25.192-b01, mixed mode)
Scala code runner version 2.12.12 -- Copyright 2002-2020, LAMP/EPFL and Lightbend, Inc.
sbt version in this project: 1.10.4
sbt script version: 1.10.7
I installed sbt using sdkman though.
sbt:root> compile
[info] compiling 96 Scala sources and 1 Java source to /pl/active/CCPM/software/glow/glow/core/target/scala-2.12/classes ...
[error] /pl/active/CCPM/software/glow/glow/core/src/main/scala/io/projectglow/sql/SqlExtensionProvider.scala:29:23: object SparkShim is not a member of package io.projectglow
[error] import io.projectglow.SparkShim._
[error] ^
[error] /pl/active/CCPM/software/glow/glow/core/src/main/scala/io/projectglow/bgen/BgenFileFormat.scala:91:32: value toPath is not a member of String
[error] val path = file.filePath.toPath
[error] ^
[error] /pl/active/CCPM/software/glow/glow/core/src/main/scala/io/projectglow/sql/expressions/LinearRegressionExpr.scala:28:23: object SparkShim is not a member of package io.projectglow
[error] import io.projectglow.SparkShim.TernaryExpression
[error] ^
[error] /pl/active/CCPM/software/glow/glow/core/src/main/scala/io/projectglow/sql/expressions/LinearRegressionExpr.scala:54:13: not found: type TernaryExpression
[error] extends TernaryExpression
[error] ^
[error] /pl/active/CCPM/software/glow/glow/core/src/main/scala/io/projectglow/plink/PlinkFileFormat.scala:94:32: value toPath is not a member of String
[error] val path = file.filePath.toPath
[error] ^
[error] /pl/active/CCPM/software/glow/glow/core/src/main/scala/io/projectglow/sql/SqlExtensionProvider.scala:141:18: not found: value createExpressionInfo
[error] val info = createExpressionInfo(
[error] ^
[error] /pl/active/CCPM/software/glow/glow/core/src/main/scala/io/projectglow/sql/expressions/FirthTest.scala:21:8: object LAPACK is not a member of package dev.ludovic.netlib.lapack
[error] import dev.ludovic.netlib.lapack.LAPACK
[error] ^
[error] /pl/active/CCPM/software/glow/glow/core/src/main/scala/io/projectglow/sql/expressions/FirthTest.scala:135:7: not found: value LAPACK
[error] LAPACK
[error] ^
[error] /pl/active/CCPM/software/glow/glow/core/src/main/scala/io/projectglow/sql/expressions/LinearRegressionExpr.scala:78:5: not found: value nullSafeCodeGen
[error] nullSafeCodeGen(
[error] ^
[error] /pl/active/CCPM/software/glow/glow/core/src/main/scala/io/projectglow/sql/expressions/glueExpressions.scala:28:23: object SparkShim is not a member of package io.projectglow
[error] import io.projectglow.SparkShim.newUnresolvedException
[error] ^
[error] /pl/active/CCPM/software/glow/glow/core/src/main/scala/io/projectglow/sql/expressions/glueExpressions.scala:36:43: not found: value newUnresolvedException
[error] override def dataType: DataType = throw newUnresolvedException(this, "dataType")
[error] ^
[error] /pl/active/CCPM/software/glow/glow/core/src/main/scala/io/projectglow/sql/expressions/glueExpressions.scala:37:42: not found: value newUnresolvedException
[error] override def nullable: Boolean = throw newUnresolvedException(this, "nullable")
[error] ^
[error] /pl/active/CCPM/software/glow/glow/core/src/main/scala/io/projectglow/sql/util/ExpectsGenotypeFields.scala:23:23: object SparkShim is not a member of package io.projectglow
[error] import io.projectglow.SparkShim.newUnresolvedException
[error] ^
[error] /pl/active/CCPM/software/glow/glow/core/src/main/scala/io/projectglow/sql/util/ExpectsGenotypeFields.scala:130:43: not found: value newUnresolvedException
[error] override def dataType: DataType = throw newUnresolvedException(this, "datatype")
[error] ^
[error] /pl/active/CCPM/software/glow/glow/core/src/main/scala/io/projectglow/sql/util/ExpectsGenotypeFields.scala:131:42: not found: value newUnresolvedException
[error] override def nullable: Boolean = throw newUnresolvedException(this, "nullable")
[error] ^
[error] /pl/active/CCPM/software/glow/glow/core/src/main/scala/io/projectglow/sql/util/ExpectsGenotypeFields.scala:140:43: not found: value newUnresolvedException
[error] override def dataType: DataType = throw newUnresolvedException(this, "datatype")
[error] ^
[error] /pl/active/CCPM/software/glow/glow/core/src/main/scala/io/projectglow/sql/util/ExpectsGenotypeFields.scala:141:42: not found: value newUnresolvedException
[error] override def nullable: Boolean = throw newUnresolvedException(this, "nullable")
[error] ^
[error] /pl/active/CCPM/software/glow/glow/core/src/main/scala/io/projectglow/vcf/TabixIndexHelper.scala:463:30: value toPath is not a member of String
[error] val path = file.filePath.toPath
[error] ^
[error] /pl/active/CCPM/software/glow/glow/core/src/main/scala/io/projectglow/vcf/VCFFileFormat.scala:176:43: value toPath is not a member of String
[error] val path = partitionedFile.filePath.toPath
[error] ^
[error] /pl/active/CCPM/software/glow/glow/core/src/main/scala/io/projectglow/vcf/VCFFileFormat.scala:307:31: value toPath is not a member of String
[error] val path = split.filePath.toPath
[error] ^
[error] 20 errors found
[error] (core / Compile / compileIncremental) Compilation Metadata
Metadata
Assignees
Labels
No labels