You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues-all@impala.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2019/01/09 07:01:00 UTC

[jira] [Commented] (IMPALA-7924) Generate Thrift 11 Python Code

    [ https://issues.apache.org/jira/browse/IMPALA-7924?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16737903#comment-16737903 ] 

ASF subversion and git services commented on IMPALA-7924:
---------------------------------------------------------

Commit fa78c594de39878902f3887a209f29f7976583d0 in impala's branch refs/heads/master from Sahil Takiar
[ https://git-wip-us.apache.org/repos/asf?p=impala.git;h=fa78c59 ]

IMPALA-7924: Generate Thrift 11 Python Code

Upgrades the version of the toolchain in order to pull in Thrift 0.11.0.
Updates the CMake build to write generated Python code using Thrift 0.11
to shell/build/thrift-11-gen/gen-py/.

The Thrift 0.11 Python deserialization code has some big performance
improvements that allow faster parsing of runtime profiles. By adding
the ability to generate the Thrift Python code using Thrift 0.11 we can
take advantage of the Python performance improvements without going
through a full Thrift upgrade from 0.9 to 0.11.

Set USE_THRIFT11_GEN_PY=true and then run bin/set-pythonpath.sh to add
the Thrift 0.11 Python generated code to the PYTHONPATH rather than the
0.9 generated code.

Testing:
- Ran core tests

Change-Id: I3432c3e29d28ec3ef6a0a22156a18910f511fed0
Reviewed-on: http://gerrit.cloudera.org:8080/12036
Reviewed-by: Tim Armstrong <ta...@cloudera.com>
Tested-by: Impala Public Jenkins <im...@cloudera.com>


> Generate Thrift 11 Python Code
> ------------------------------
>
>                 Key: IMPALA-7924
>                 URL: https://issues.apache.org/jira/browse/IMPALA-7924
>             Project: IMPALA
>          Issue Type: Task
>          Components: Infrastructure
>            Reporter: Sahil Takiar
>            Assignee: Sahil Takiar
>            Priority: Major
>
> UntilĀ IMPALA-7825 has been completed, it would be good to add the ability to generate Python code using Thrift 11. As stated inĀ IMPALA-7825, Thrift has added performance improvements to its Python deserialization code.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscribe@impala.apache.org
For additional commands, e-mail: issues-all-help@impala.apache.org