HiveSwarm icon indicating copy to clipboard operation
HiveSwarm copied to clipboard

Helpful user defined fuctions / table generating functions for Hive

Results 3 HiveSwarm issues
Sort by recently updated
recently updated
newest added

The URLDecode udf attempts to execute to_value.set() without instantiating to_value, resulting in a NullPointerException and falling to the catch block where the original input value is returned. Pull request 10...

In https://github.com/livingsocial/HiveSwarm/blob/8345130e3da37555c0ca36da538bfd4f4ee3c834/src/main/java/com/livingsocial/hive/udf/ZTest.java#L23, the [normal distribution](https://github.com/apache/commons-math/blob/98ebcc6bb298e62e35f895d59fca51b8c4c2d443/src/main/java/org/apache/commons/math/distribution/NormalDistributionImpl.java#L87-L89) we use has mean=0 and σ=1. ```java public class ZTest extends UDF { private static NormalDistribution distribution = new NormalDistributionImpl(); // mean=0, σ=1 public double...