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

[Isthmus] How to use Isthmus as a dependency #163

Open
DevonFulcher opened this issue Aug 7, 2023 · 3 comments
Open

[Isthmus] How to use Isthmus as a dependency #163

DevonFulcher opened this issue Aug 7, 2023 · 3 comments

Comments

@DevonFulcher
Copy link

Hello, I am trying to use Isthmus as a dependency in my project. I noticed that in the Readme that there are only instructions for CLI usage. Can someone provide instructions for usage as a package? I am using Gradle, and I don't think transitive dependencies are being installed correctly. I had to add io.substrait:core:0.14.1 manually to my build file to fix an error, but now I am getting this error:

com.fasterxml.jackson.core.io.ContentReference com.fasterxml.jackson.dataformat.yaml.YAMLFactory._createContentReference(java.lang.Object)

Am I doing something wrong? Would it be possible to fix this transitive dependency issue?

@vbarua
Copy link
Member

vbarua commented Aug 7, 2023

Just to double check, are you also including io.substrait:ithmus:?

Would you be able to provide an example of your build as well. For context, at work we're able to include and run Isthmus with no issues.

@DevonFulcher
Copy link
Author

Yes, I have implementation("io.substrait:isthmus:0.14.1") in my build.gradle.kts file. I think the issue may be a conflict with GraalVM and Corretto or Kotlin (based on this). Here is the error when I just have implementation("io.substrait:isthmus:0.14.1") and implementation("io.substrait:core:0.14.1") not included:

Cannot access class 'io.substrait.proto.Plan'. Check your module classpath for missing or conflicting dependencies

Is Isthmus compatible with Corretto & Kotlin?

@vbarua
Copy link
Member

vbarua commented Aug 7, 2023

To the best of my knowledge we haven't done anything that would make it not compatible, though I'm not an expert at Java build system stuff.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants