-
Notifications
You must be signed in to change notification settings - Fork 29k
[WIP][SPARK-29108][SQL] Add new module sql/thriftserver and add v11 thrift protocol #26221
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
Changes from 1 commit
8b56400
e30f686
4a50bc9
7ffdc3b
b74d5e0
fc2648f
5365dcf
95d8137
4dc5c7e
24ce6d4
5efe8cb
6f7d48a
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
- Loading branch information
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -240,6 +240,11 @@ | |
| <spark.test.home>${session.executionRootDirectory}</spark.test.home> | ||
|
|
||
| <CodeCacheSize>1g</CodeCacheSize> | ||
|
|
||
| <!-- Thrift properties --> | ||
| <thrift.home>you-must-set-this-to-run-thrift</thrift.home> | ||
| <thrift.gen.dir>${basedir}/src/gen/thrift</thrift.gen.dir> | ||
| <thrift.args>-I ${thrift.home} --gen java:beans,hashcode,generated_annotations=undated</thrift.args> | ||
|
||
| </properties> | ||
| <repositories> | ||
| <repository> | ||
|
|
@@ -3100,7 +3105,7 @@ | |
| <target> | ||
| <taskdef name="for" classname="net.sf.antcontrib.logic.ForTask" | ||
| classpathref="maven.plugin.classpath" /> | ||
| <property name="thrift.args" value="-I ${thrift.home} --gen java:beans,hashcode,generated_annotations=undated --gen cpp --gen php --gen py --gen rb"/> | ||
| <property name="thrift.args" value="-I ${thrift.home} --gen java:beans,hashcode,generated_annotations=undated"/> | ||
| <property name="thrift.gen.dir" value="${basedir}/src/gen/thrift"/> | ||
| <delete dir="${thrift.gen.dir}"/> | ||
| <mkdir dir="${thrift.gen.dir}"/> | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,6 +1,3 @@ | ||
| Thrift commands to generate files from TCLIService.thrift: | ||
| -------------------- | ||
| thrift --gen java:beans,hashcode -o src/gen/thrift if/TCLIService.thrift | ||
| thrift --gen cpp -o src/gen/thrift if/TCLIService.thrift | ||
| thrift --gen py -o src/gen/thrift if/TCLIService.thrift | ||
| thrift --gen rb -o src/gen/thrift if/TCLIService.thrift |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does it need to be set, or can Maven find thrift from PATH? Or even better, do the generation via libthrift from maven central itself?