You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by ku...@apache.org on 2019/12/10 03:46:30 UTC
[flink] branch release-1.10 updated: [hotfix] Fix typo in
HiveShimV100
This is an automated email from the ASF dual-hosted git repository.
kurt pushed a commit to branch release-1.10
in repository https://gitbox.apache.org/repos/asf/flink.git
The following commit(s) were added to refs/heads/release-1.10 by this push:
new b6d7dee [hotfix] Fix typo in HiveShimV100
b6d7dee is described below
commit b6d7deeaa5240add00ed66202143411d3d369832
Author: Kurt Young <ku...@apache.org>
AuthorDate: Tue Dec 10 11:43:14 2019 +0800
[hotfix] Fix typo in HiveShimV100
(cherry picked from commit decacc9a9ea512aff34b859734bd3fd1347509db)
---
.../java/org/apache/flink/table/catalog/hive/client/HiveShimV100.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/flink-connectors/flink-connector-hive/src/main/java/org/apache/flink/table/catalog/hive/client/HiveShimV100.java b/flink-connectors/flink-connector-hive/src/main/java/org/apache/flink/table/catalog/hive/client/HiveShimV100.java
index b754a95..2b96efc 100644
--- a/flink-connectors/flink-connector-hive/src/main/java/org/apache/flink/table/catalog/hive/client/HiveShimV100.java
+++ b/flink-connectors/flink-connector-hive/src/main/java/org/apache/flink/table/catalog/hive/client/HiveShimV100.java
@@ -375,7 +375,7 @@ public class HiveShimV100 implements HiveShim {
@Override
public LocalDate toFlinkDate(Object hiveDate) {
Preconditions.checkArgument(hiveDate instanceof Date,
- "Expecting Hive timestamp to be an instance of %s, but actually got %s",
+ "Expecting Hive Date to be an instance of %s, but actually got %s",
Date.class.getName(), hiveDate.getClass().getName());
return ((Date) hiveDate).toLocalDate();
}