- 浏览: 4487 次
- 性别:
- 来自: 广州
最新评论
文章列表
package com.csm.data.udf.hive;
import org.apache.hadoop.hive.ql.exec.UDFArgumentTypeException;
import org.apache.hadoop.hive.ql.metadata.HiveException;
import org.apache.hadoop.hive.ql.parse.SemanticException;
import org.apache.hadoop.hive.ql.udf.generic.AbstractGenericUDAFResolver;
import ...
java的BitSet类学习。
BitSet bs = new BitSet();
System.out.println("bs.size==" + bs.size());
Integer val = 1;
//int的size是4个字节
System.out.println(val.SIZE);
bs.set(0, true);
bs.set(1,false);
bs.set(2,true);
bs.set(3,true);
bs.set(4, false);
System.out.println(bs.size());
...
hive0.13的自定义UDTF函数的应用
代码的编写
/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you un ...