Skip to content

Conversation

@gatorsmile
Copy link
Member

What changes were proposed in this pull request?

tempTables is not right. To be consistent, we need to rename the internal variable names/comments to tempViews in SessionCatalog too.

How was this patch tested?

N/A

@gatorsmile
Copy link
Member Author

@cloud-fan @sameeragarwal

@SparkQA
Copy link

SparkQA commented Sep 4, 2017

Test build #81375 has finished for PR 19117 at commit 02815e7.

  • This patch fails due to an unknown error code, -9.
  • This patch merges cleanly.
  • This patch adds no public classes.

@SparkQA
Copy link

SparkQA commented Sep 4, 2017

Test build #81384 has finished for PR 19117 at commit 02815e7.

  • This patch fails Spark unit tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

new SQLConf().copy(SQLConf.CASE_SENSITIVE -> true))
}

/** List of temporary tables, mapping from table name to their logical plan. */
Copy link
Member

@viirya viirya Sep 5, 2017

Choose a reason for hiding this comment

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

The code comment at the beginning of SessionCatalog also includes wording ...it also manages temporary tables and ...

@viirya
Copy link
Member

viirya commented Sep 5, 2017

LGTM

}
assert(e.getMessage.contains(
"RENAME TEMPORARY TABLE from '`tab1`' to '`default`.`tab2`': " +
"RENAME TEMPORARY VIEW from '`tab1`' to '`default`.`tab2`': " +
Copy link
Member

Choose a reason for hiding this comment

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

We can rename this test name from rename temporary table... to ``rename temporary view...`.

}
assert(e.getMessage.contains(
"RENAME TEMPORARY TABLE from '`tab1`' to '`tab2`': destination table already exists"))
"RENAME TEMPORARY VIEW from '`tab1`' to '`tab2`': destination table already exists"))
Copy link
Member

Choose a reason for hiding this comment

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

ditto. This test name is also rename temporary table...

"RENAME TEMPORARY VIEW from '`tab1`' to '`default`.`tab2`': " +
"cannot specify database name 'default' in the destination table"))

val catalog = spark.sessionState.catalog
Copy link
Member

Choose a reason for hiding this comment

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

At L823 there is a test named rename temporary table too.

@SparkQA
Copy link

SparkQA commented Sep 6, 2017

Test build #81433 has finished for PR 19117 at commit 595e502.

  • This patch fails SparkR unit tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@felixcheung
Copy link
Member

felixcheung commented Sep 10, 2017

try rebasing? it should be fixed by this commit 36b48ee

1. Error: spark.decisionTree (@test_mllib_tree.R#355) --------------------------
java.lang.IllegalArgumentException: requirement failed: The input column stridx_45c9b9d0deda should have at least two distinct values.

@SparkQA
Copy link

SparkQA commented Sep 30, 2017

Test build #82337 has finished for PR 19117 at commit cfa0782.

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

@gatorsmile
Copy link
Member Author

Thanks! Merged to master.

@asfgit asfgit closed this in 530fe68 Sep 30, 2017
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