Junyewu opened a new issue #774:
URL: https://github.com/apache/submarine/issues/774
add the pom file of spark-security project:
<profile>
<id>spark-3.1</id>
<properties>
<spark.version>3.1.1</spark.version>
<scala.version>2.12.10</scala.version>
<scala.binary.version>2.12</scala.binary.version>
<!--<scalatest.version>3.2.0</scalatest.version>-->
<spark.compatible.version>3</spark.compatible.version>
<commons-lang3.version>3.10</commons-lang3.version>
<jackson-databind.version>2.10.5</jackson-databind.version>
<jackson-annotations.version>2.10.5</jackson-annotations.version>
</properties>
</profile>
build command:
mvn clean package -Pspark-3.1 -Pranger-2.1 -DskipTests
error message:
[ERROR]
/spark-security/spark-3/src/main/scala/org/apache/submarine/spark/security/parser/SubmarineSqlParser.scala:113:
value parseRawDataType is not a member of
org.apache.spark.sql.catalyst.parser.ParserInterface
[ERROR] delegate.parseRawDataType(sqlText)
[ERROR] ^
[ERROR]
/spark-security/src/main/scala/org/apache/spark/sql/catalyst/optimizer/SubmarineSparkRangerAuthorizationExtension.scala:60:
pattern type is incompatible with expected type;
found : org.apache.spark.sql.execution.command.ResetCommand.type
required: org.apache.spark.sql.catalyst.plans.logical.LogicalPlan
Note: if you intended to match against the class, try `case ResetCommand(_)`
[ERROR] case ResetCommand => SubmarineResetCommand
[ERROR] ^
[ERROR] two errors found
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]