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

SPARK-12998 [SQL]. Enable OrcRelation when connecting via spark thrif… #10938

Closed
wants to merge 1 commit into from

Conversation

rajeshbalamohan
Copy link

When a user connects via spark-thrift server to execute SQL, it does not enable PPD with ORC. It ends up creating MetastoreRelation which does not have ORC PPD. Purpose of this JIRA is to convert MetastoreRelation to OrcRelation in HiveMetastoreCatalog, so that users can benefit from PPD even when connecting to spark-thrift server.
For e.g, Query "select count(1) from tpch_flat_orc_1000.lineitem where l_shipdate = '1990-04-18'" which is fired against spark-thrift-server or sqlContext would end up using "OrcRelation" to make use of PPD instead of MetastoreRelation.

@rxin
Copy link
Contributor

rxin commented Feb 28, 2016

Does this actually have anything to do the thrift server, or simply just any table when loading from the meatstore?

@HyukjinKwon
Copy link
Member

HyukjinKwon commented Apr 20, 2016

Maybe we might have to correct the title just like the others (this is described in https://cwiki.apache.org/confluence/display/SPARK/Contributing+to+Spark). Also, the title looks truncated.

@SparkQA
Copy link

SparkQA commented May 3, 2016

Test build #57632 has finished for PR 10938 at commit 1a5b164.

  • This patch fails Scala style tests.
  • This patch does not merge cleanly.
  • This patch adds no public classes.

@tejasapatil
Copy link
Contributor

Major chunks of this PR is already in trunk after https://github.com/apache/spark/pull/11891/files so this PR is not necessary anymore (unless I missed something).

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

Successfully merging this pull request may close these issues.

6 participants