You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@arrow.apache.org by ks...@apache.org on 2019/03/19 07:47:38 UTC
[arrow] branch master updated: Fix name of interval type (#3949)
This is an automated email from the ASF dual-hosted git repository.
kszucs pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/arrow.git
The following commit(s) were added to refs/heads/master by this push:
new c26ba34 Fix name of interval type (#3949)
c26ba34 is described below
commit c26ba345286fc87b24d0609d7284123233ebc11c
Author: Alexandre Crayssac <al...@gmail.com>
AuthorDate: Tue Mar 19 08:47:33 2019 +0100
Fix name of interval type (#3949)
---
cpp/src/arrow/type.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cpp/src/arrow/type.h b/cpp/src/arrow/type.h
index 858093c..525d174 100644
--- a/cpp/src/arrow/type.h
+++ b/cpp/src/arrow/type.h
@@ -737,7 +737,7 @@ class ARROW_EXPORT IntervalType : public FixedWidthType {
: FixedWidthType(Type::INTERVAL), unit_(unit) {}
std::string ToString() const override { return name(); }
- std::string name() const override { return "date"; }
+ std::string name() const override { return "interval"; }
Unit unit() const { return unit_; }