You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@calcite.apache.org by Julian Hyde <jh...@apache.org> on 2021/11/05 18:36:09 UTC

Fwd: [jira] [Commented] (CALCITE-2040) Create adapter for Apache Arrow

Karshit has a Gradle question. Is there someone on this list who knows
Gradle and can help him out?

Julian


---------- Forwarded message ---------
From: Karshit Shah (Jira) <ji...@apache.org>
Date: Thu, Nov 4, 2021 at 11:26 AM
Subject: [jira] [Commented] (CALCITE-2040) Create adapter for Apache Arrow
To: <jh...@apache.org>


Karshit Shah
<https://issues.apache.org/jira/secure/ViewProfile.jspa?name=Karshit+Shah>
*commented* on [image: Bug] CALCITE-2040
<https://issues.apache.org/jira/browse/CALCITE-2040>

Re: Create adapter for Apache Arrow
<https://issues.apache.org/jira/browse/CALCITE-2040>

I've been working on this issue with Michael Mior
<https://issues.apache.org/jira/secure/ViewProfile.jspa?name=mmior>. I've a
Java class that generates an arrow data file. Currently, I've the following
gradle task to generate the data file.

task("runWithJavaExec", JavaExec::class) {

  main = "org.apache.calcite.adapter.arrow.ArrowData"

  classpath = sourceSets["test"].runtimeClasspath

}


I need to run "./gradlew arrow:runWithJavaExec" which generates the data
file. However, I would like to add this task as a dependency to "./gradle
arrow:test" so that that the file is generated before running the tests.
But with limited knowledge of gradle, I'm not able to get that to work. It
would be great if anyone can help me out with this.


[image: Add Comment]
<https://issues.apache.org/jira/browse/CALCITE-2040#add-comment> Add Comment
<https://issues.apache.org/jira/browse/CALCITE-2040#add-comment>

This message was sent by Atlassian Jira (v8.3.4#803005-sha1:1f96e09)
[image: Atlassian logo]