Skip to content

HIVE-25605: JdbcStorageHandler Create table fails when hive.sql.schem…#2710

Closed
cravani wants to merge 1 commit intoapache:masterfrom
cravani:HIVE-25605
Closed

HIVE-25605: JdbcStorageHandler Create table fails when hive.sql.schem…#2710
cravani wants to merge 1 commit intoapache:masterfrom
cravani:HIVE-25605

Conversation

@cravani
Copy link
Contributor

@cravani cravani commented Oct 8, 2021

…a is specified and is not the default one

What changes were proposed in this pull request?

Why are the changes needed?

Does this PR introduce any user-facing change?

How was this patch tested?

// We generate query as select *
query = "select * from " + tableName;
if (schemaName != null) {
query = "select * from "+schemaName+"."+tableName;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you put whitespaces before/after "+"?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure

Copy link
Member

@asolimando asolimando left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The change looks good but at least one positive and one negative tests should be added, could you please do that?

@cravani
Copy link
Contributor Author

cravani commented Oct 9, 2021

Closing this PR, since fix will be taken care as part of HIVE-25591

@cravani cravani closed this Oct 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants