You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@orc.apache.org by om...@apache.org on 2017/03/17 16:43:54 UTC

orc git commit: ORC-157. Fix C++ unit tests to not be timezone sensitive.

Repository: orc
Updated Branches:
  refs/heads/branch-1.3 cd5aec100 -> accfdf007


ORC-157. Fix C++ unit tests to not be timezone sensitive.

Fixes #100

Signed-off-by: Owen O'Malley <om...@apache.org>


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

Branch: refs/heads/branch-1.3
Commit: accfdf0077943b09add39f89a23b08c5d193976f
Parents: cd5aec1
Author: Owen O'Malley <om...@apache.org>
Authored: Thu Mar 16 13:31:30 2017 -0700
Committer: Owen O'Malley <om...@apache.org>
Committed: Fri Mar 17 09:37:28 2017 -0700

----------------------------------------------------------------------
 examples/expected/orc_split_elim_new.jsn.gz | Bin 0 -> 8980 bytes
 examples/orc_split_elim_new.orc             | Bin 0 -> 2341 bytes
 tools/test/TestMatch.cc                     |  13 +++++++------
 3 files changed, 7 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/orc/blob/accfdf00/examples/expected/orc_split_elim_new.jsn.gz
----------------------------------------------------------------------
diff --git a/examples/expected/orc_split_elim_new.jsn.gz b/examples/expected/orc_split_elim_new.jsn.gz
new file mode 100644
index 0000000..5263699
Binary files /dev/null and b/examples/expected/orc_split_elim_new.jsn.gz differ

http://git-wip-us.apache.org/repos/asf/orc/blob/accfdf00/examples/orc_split_elim_new.orc
----------------------------------------------------------------------
diff --git a/examples/orc_split_elim_new.orc b/examples/orc_split_elim_new.orc
new file mode 100644
index 0000000..cdbe477
Binary files /dev/null and b/examples/orc_split_elim_new.orc differ

http://git-wip-us.apache.org/repos/asf/orc/blob/accfdf00/tools/test/TestMatch.cc
----------------------------------------------------------------------
diff --git a/tools/test/TestMatch.cc b/tools/test/TestMatch.cc
index 7ab6150..e9ce23b 100644
--- a/tools/test/TestMatch.cc
+++ b/tools/test/TestMatch.cc
@@ -441,16 +441,17 @@ namespace orc {
                                        262144,
                                        10000,
                                        std::map<std::string, std::string>()),
-                    OrcFileDescription("orc_split_elim.orc",
-                                       "orc_split_elim.jsn.gz",
+                    OrcFileDescription("orc_split_elim_new.orc",
+                                       "orc_split_elim_new.jsn.gz",
                                        ("struct<userid:bigint,string1:string,"
-                                        "subtype:double,decimal1:decimal(0,0),"
+                                        "subtype:double,"
+					"decimal1:decimal(16,6),"
                                         "ts:timestamp>"),
                                        "0.12",
                                        25000,
-                                       245568,
-                                       5,
-                                       CompressionKind_NONE,
+                                       1981,
+                                       1,
+                                       CompressionKind_ZLIB,
                                        262144,
                                        10000,
                                        std::map<std::string, std::string>()),