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

apache / incubator-hivemall / 693 / 2
42%
master: 42%

Build:
DEFAULT BRANCH: master
Ran 02 Nov 2017 05:15AM UTC
Files 434
Run time 13s
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

02 Nov 2017 04:48AM UTC coverage: 42.189% (-0.3%) from 42.491%
693.2

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.

12018 of 28486 relevant lines covered (42.19%)

5067402.78 hits per line

Source Files on job 693.2
  • Tree
  • List 0
  • Changed 156
  • Source Changed 1
  • Coverage Changed 156
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 693
  • Travis Job 693.2
  • 3960cf2c on github
  • Prev Job for on master (#687.1)
  • Next Job for on master (#59.1)
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