Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Failed to build mlsql-mllib with mlsql_plugin_tool #15

Closed
chncaesar opened this issue Jun 30, 2022 · 0 comments
Closed

Failed to build mlsql-mllib with mlsql_plugin_tool #15

chncaesar opened this issue Jun 30, 2022 · 0 comments

Comments

@chncaesar
Copy link
Contributor

chncaesar commented Jun 30, 2022

mlsql_plugin_tool build --module_name mlsql-mllib --spark spark311 failed with error:

[ERROR] /var/lib/jenkins/workspace/build_byzer_extension_jar/mlsql-mllib/src/test/java/tech/mlsql/plugins/mllib/ets/fe/SQLDataSummaryTest.scala:8: error: object test is not a member of package tech.mlsql
[INFO] import tech.mlsql.test.BasicMLSQLConfig

However, mlsql-extension-test-3.0_2.12-0.1.0-SNAPSHOT.jar is installed in local maven repo.
mlsql-extension-test jar is imported during test phase.

<dependency>
    <groupId>tech.mlsql</groupId>
    <artifactId>byzer-extension-tests-3.0_2.12</artifactId>
    <version>${project.version}</version>
    <scope>test</scope>
</dependency>

and maven command mvn -DskipTests clean package -Pshade -Pspark-3.0 -Pscala-2.12 -pl mlsql-mllib compiles testing code

We could remove <scope>test</scope> to fix this issue.

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

2 participants