Skip to content

Conversation

ravipesala
Copy link
Contributor

The queries like SELECT a.key FROM (SELECT key FROM src) a does not work as backticks in subquery aliases are not handled properly. This PR fixes that.

Author : ravipesala [email protected]

@AmplabJenkins
Copy link

Can one of the admins verify this patch?

1 similar comment
@AmplabJenkins
Copy link

Can one of the admins verify this patch?

@marmbrus
Copy link
Contributor

marmbrus commented Oct 9, 2014

ok to test

@AmplabJenkins
Copy link

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/21550/Test FAILed.

@SparkQA
Copy link

SparkQA commented Oct 10, 2014

QA tests have started for PR 2737 at commit 0e0ab98.

  • This patch merges cleanly.

@SparkQA
Copy link

SparkQA commented Oct 10, 2014

QA tests have finished for PR 2737 at commit 0e0ab98.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@marmbrus
Copy link
Contributor

Awesome, thank you :)

Merged to master.

@asfgit asfgit closed this in 6f98902 Oct 10, 2014
marmbrus pushed a commit to marmbrus/spark that referenced this pull request Nov 11, 2014
The queries like SELECT a.key FROM (SELECT key FROM src) \`a\` does not work as backticks in subquery aliases are not handled properly. This PR fixes that.

Author : ravipesala ravindra.pesalahuawei.com

Author: ravipesala <[email protected]>

Closes apache#2737 from ravipesala/SPARK-3834 and squashes the following commits:

0e0ab98 [ravipesala] Fixing issue in backtick handling for subquery aliases

Conflicts:
	sql/hive/src/test/scala/org/apache/spark/sql/hive/execution/SQLQuerySuite.scala
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.

4 participants