• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

apache / incubator-hivemall / 693
42%

Build:
DEFAULT BRANCH: master
Ran 02 Nov 2017 05:15AM UTC
Jobs 2
Files 434
Run time 3min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
693

push

travis-ci

Takuya Kitazawa
[HIVEMALL-157] Avoid Null Pointer Exception caused by uninitialized queue handler

## What changes were proposed in this pull request?

Even though `to_ordered_list` allows (and ignores) NULL inputs, following query fails due to NPE:

```sql
select to_ordered_list(null, null)
```
> Null Pointer Exception

This PR fixes the problem; now, the function returns empty list in case that queue handler is uninitialized because of NULL inputs:

> []

## What type of PR is it?

Bug Fix

## What is the Jira issue?

https://issues.apache.org/jira/browse/HIVEMALL-157

## How was this patch tested?

Manually tested on local and EMR Hive

## Checklist

- [x] Did you apply source code formatter, i.e., `mvn formatter:format`, for your commit?
- [x] Did you run system tests on Hive (or Spark)?

Author: Takuya Kitazawa <k.takuti@gmail.com>

Closes #124 from takuti/fix-to_ordered_list-npe.

7 of 7 new or added lines in 1 file covered. (100.0%)

12027 of 28522 relevant lines covered (42.17%)

10124297.65 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
3
100.0
core/src/main/java/hivemall/tools/list/UDAFToOrderedList.java
Jobs
ID Job ID Ran Files Coverage
1 693.1 02 Nov 2017 05:19AM UTC 0
42.5
Travis Job 693.1
2 693.2 02 Nov 2017 05:15AM UTC 0
42.19
Travis Job 693.2
Source Files on build 693
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #693
  • 3960cf2c on github
  • Prev Build on master (#687)
  • Next Build on master (#59)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc