Repository: spark
Updated Branches:
  refs/heads/branch-2.3 bae4449ad -> 03960faa6


[MINOR][SQL] Fix an error message about inserting into bucketed tables

## What changes were proposed in this pull request?

This replaces `Sparkcurrently` to `Spark currently` in the following error 
message.

```scala
scala> sql("insert into t2 select * from v1")
org.apache.spark.sql.AnalysisException: Output Hive table `default`.`t2`
is bucketed but Sparkcurrently does NOT populate bucketed ...
```

## How was this patch tested?

Manual.

Author: Dongjoon Hyun <dongj...@apache.org>

Closes #20617 from dongjoon-hyun/SPARK-ERROR-MSG.

(cherry picked from commit 6968c3cfd70961c4e86daffd6a156d0a9c1d7a2a)
Signed-off-by: gatorsmile <gatorsm...@gmail.com>


Project: http://git-wip-us.apache.org/repos/asf/spark/repo
Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/03960faa
Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/03960faa
Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/03960faa

Branch: refs/heads/branch-2.3
Commit: 03960faa621710388c0de91d16a71dda749d173f
Parents: bae4449
Author: Dongjoon Hyun <dongj...@apache.org>
Authored: Thu Feb 15 09:40:08 2018 -0800
Committer: gatorsmile <gatorsm...@gmail.com>
Committed: Thu Feb 15 09:40:28 2018 -0800

----------------------------------------------------------------------
 .../org/apache/spark/sql/hive/execution/InsertIntoHiveTable.scala  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/spark/blob/03960faa/sql/hive/src/main/scala/org/apache/spark/sql/hive/execution/InsertIntoHiveTable.scala
----------------------------------------------------------------------
diff --git 
a/sql/hive/src/main/scala/org/apache/spark/sql/hive/execution/InsertIntoHiveTable.scala
 
b/sql/hive/src/main/scala/org/apache/spark/sql/hive/execution/InsertIntoHiveTable.scala
index 3ce5b84..02a60f1 100644
--- 
a/sql/hive/src/main/scala/org/apache/spark/sql/hive/execution/InsertIntoHiveTable.scala
+++ 
b/sql/hive/src/main/scala/org/apache/spark/sql/hive/execution/InsertIntoHiveTable.scala
@@ -172,7 +172,7 @@ case class InsertIntoHiveTable(
         val enforceBucketingConfig = "hive.enforce.bucketing"
         val enforceSortingConfig = "hive.enforce.sorting"
 
-        val message = s"Output Hive table ${table.identifier} is bucketed but 
Spark" +
+        val message = s"Output Hive table ${table.identifier} is bucketed but 
Spark " +
           "currently does NOT populate bucketed output which is compatible 
with Hive."
 
         if (hadoopConf.get(enforceBucketingConfig, "true").toBoolean ||


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@spark.apache.org
For additional commands, e-mail: commits-h...@spark.apache.org

Reply via email to