drill-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From prog...@apache.org
Subject [1/3] drill git commit: DRILL-5675: Drill C++ Client reports incorrect datetime Literals Support Metadata
Date Tue, 08 Aug 2017 00:31:39 GMT
Repository: drill
Updated Branches:
  refs/heads/master 9d1d81573 -> 5c57b50f2


DRILL-5675: Drill C++ Client reports incorrect  datetime Literals Support Metadata

closes #878


Project: http://git-wip-us.apache.org/repos/asf/drill/repo
Commit: http://git-wip-us.apache.org/repos/asf/drill/commit/75b2136a
Tree: http://git-wip-us.apache.org/repos/asf/drill/tree/75b2136a
Diff: http://git-wip-us.apache.org/repos/asf/drill/diff/75b2136a

Branch: refs/heads/master
Commit: 75b2136ac8a7729c4660f8761162d8056afeba68
Parents: 9d1d815
Author: Rob Wu <robwu15@gmail.com>
Authored: Mon Jul 17 17:12:39 2017 -0700
Committer: Paul Rogers <progers@maprtech.com>
Committed: Mon Aug 7 14:41:19 2017 -0700

----------------------------------------------------------------------
 contrib/native/client/src/clientlib/metadata.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/drill/blob/75b2136a/contrib/native/client/src/clientlib/metadata.cpp
----------------------------------------------------------------------
diff --git a/contrib/native/client/src/clientlib/metadata.cpp b/contrib/native/client/src/clientlib/metadata.cpp
index ad08a40..843b307 100644
--- a/contrib/native/client/src/clientlib/metadata.cpp
+++ b/contrib/native/client/src/clientlib/metadata.cpp
@@ -837,11 +837,11 @@ static Drill::meta::DateTimeLiteralSupport dateTimeLiteralsSupport(const
google:
 				break;
 
 			case exec::user::DL_INTERVAL_MINUTE:
-				result |= Drill::meta::DL_TIMESTAMP;
+				result |= Drill::meta::DL_INTERVAL_MINUTE;
 				break;
 
 			case exec::user::DL_INTERVAL_MINUTE_TO_SECOND:
-				result |= Drill::meta::DL_TIMESTAMP;
+				result |= Drill::meta::DL_INTERVAL_MINUTE_TO_SECOND;
 				break;
 
 			case exec::user::DL_INTERVAL_SECOND:


Mime
View raw message