From 5dd21b28e46b42f2af853b48b014f05d7d6b7895 Mon Sep 17 00:00:00 2001 From: ouyangxiaochen Date: Wed, 8 Feb 2017 18:25:35 +0800 Subject: [PATCH] update test cases --- .../apache/spark/sql/hive/execution/HiveDDLSuite.scala | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sql/hive/src/test/scala/org/apache/spark/sql/hive/execution/HiveDDLSuite.scala b/sql/hive/src/test/scala/org/apache/spark/sql/hive/execution/HiveDDLSuite.scala index 4ed7661aa2f0c..53a0eaf373219 100644 --- a/sql/hive/src/test/scala/org/apache/spark/sql/hive/execution/HiveDDLSuite.scala +++ b/sql/hive/src/test/scala/org/apache/spark/sql/hive/execution/HiveDDLSuite.scala @@ -833,10 +833,10 @@ class HiveDDLSuite } test("CREATE TABLE LIKE a temporary view") { - // create table like a temporary view. + // CREATE TABLE LIKE a temporary view. withCreateTableLikeTempView(None) - // create table like a temporary view location ... + // CREATE TABLE LIKE a temporary view location ... withTempDir {tmpDir => withCreateTableLikeTempView(Some(tmpDir.toURI.toString)) } @@ -869,10 +869,10 @@ class HiveDDLSuite } test("CREATE TABLE LIKE a data source table") { - // create table like a data source table. + // CREATE TABLE LIKE a data source table. withCreateTableLikeDSTable(None) - // create table like a data source table location ... + // CREATE TABLE LIKE a data source table location ... withTempDir { tmpDir => withCreateTableLikeDSTable(Some(tmpDir.toURI.toString)) }