Skip to content

Commit

Permalink
Fixes
Browse files Browse the repository at this point in the history
Change-Id: Ib719b164e76ba6d3bd99d6b4c980f9eacab30d2c
  • Loading branch information
wesm committed Feb 8, 2019
1 parent 00d4126 commit 773c731
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ environment:
global:
USE_CLCACHE: true
ARROW_BUILD_GANDIVA: "OFF"
ARROW_LLVM_VERSION: "7.0.x"
ARROW_LLVM_VERSION: "7.0.*"
PYTHON: "3.6"
ARCH: "64"

Expand Down
2 changes: 2 additions & 0 deletions cpp/src/gandiva/precompiled/time_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,8 @@ TEST(TestTime, TestCastTimestamp) {

TEST(TestTime, TestCastTimestampErrors) {
ExecutionContext context;
int64_t context_ptr = reinterpret_cast<int64_t>(&context);

// error cases
EXPECT_EQ(castTIMESTAMP_utf8(context_ptr, "20000923", 8), 0);
EXPECT_EQ(context.get_error(), "Not a valid day for timestamp value 20000923");
Expand Down

0 comments on commit 773c731

Please sign in to comment.