You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by li...@apache.org on 2018/02/15 17:40:14 UTC

spark git commit: [MINOR][SQL] Fix an error message about inserting into bucketed tables

Repository: spark
Updated Branches:
  refs/heads/master 2f0498d1e -> 6968c3cfd


[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 <do...@apache.org>

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


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

Branch: refs/heads/master
Commit: 6968c3cfd70961c4e86daffd6a156d0a9c1d7a2a
Parents: 2f0498d
Author: Dongjoon Hyun <do...@apache.org>
Authored: Thu Feb 15 09:40:08 2018 -0800
Committer: gatorsmile <ga...@gmail.com>
Committed: Thu Feb 15 09:40:08 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/6968c3cf/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-unsubscribe@spark.apache.org
For additional commands, e-mail: commits-help@spark.apache.org