Skip to content

[SPARK-5651][SQL] Update input46.q to be consistent with Hive#4473

Closed
OopsOutOfMemory wants to merge 1 commit into
apache:masterfrom
OopsOutOfMemory:SPARK-5651
Closed

[SPARK-5651][SQL] Update input46.q to be consistent with Hive#4473
OopsOutOfMemory wants to merge 1 commit into
apache:masterfrom
OopsOutOfMemory:SPARK-5651

Conversation

@OopsOutOfMemory
Copy link
Copy Markdown
Contributor

This PR Update input46.q.

origin hive013 support `db.table` but it's a bug that fixed in hive0.14:
```
create table `table_in_database_creation.test2` as select * from src limit 1; in HiveContext.
```
in Hive0.14 we change it to `db`.`table`, and we should make it consistent with hive input46.q
```scala
create table `table_in_database_creation`.`test2` as select * from src limit 1; in HiveContext.
```

@AmplabJenkins
Copy link
Copy Markdown

Can one of the admins verify this patch?

@rxin
Copy link
Copy Markdown
Contributor

rxin commented Feb 10, 2015

Jenkins, test this please.

@SparkQA
Copy link
Copy Markdown

SparkQA commented Feb 10, 2015

Test build #27150 has started for PR 4473 at commit 2db7db5.

  • This patch merges cleanly.

@watermen
Copy link
Copy Markdown
Contributor

@OopsOutOfMemory @rxin See the end of my PR(#4427), @yhuai say it is a bug in Hive and it has been fixed by https://issues.apache.org/jira/browse/HIVE-7673 (in Hive 0.14 and trunk).

@SparkQA
Copy link
Copy Markdown

SparkQA commented Feb 10, 2015

Test build #27150 has finished for PR 4473 at commit 2db7db5.

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

@AmplabJenkins
Copy link
Copy Markdown

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

@watermen
Copy link
Copy Markdown
Contributor

@OopsOutOfMemory

create table `table_in_database_creation`.`test2` as select * from src limit 1;
create table `table_in_database_creation`.`test4` (a string);

are all supported in the latest version of the spark. You can try it.

@OopsOutOfMemory OopsOutOfMemory changed the title [SPARK-5651][SQL] Support db.table in Create Table within backticks of HiveContext [SPARK-5651][SQL] Update input46.q to be consistent with Hive Feb 10, 2015
@OopsOutOfMemory
Copy link
Copy Markdown
Contributor Author

yes, I know it support because it's (db,tableName) case.

@OopsOutOfMemory OopsOutOfMemory deleted the SPARK-5651 branch February 10, 2015 05:35
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.

5 participants