hive-udf

    0熱度

    1回答

    我對如何使用UDFS感到困惑。是否可以用UDF替換下面的bash腳本功能? #!/bin/bash src_count_q="use db;select count(*) from config_table where table_nm="test_source";" src_count=$(hive -e $src_count_q) trg_count_q="use db;select

    0熱度

    1回答

    我想讀取初始化方法中的配置單元conf變量,但不工作,任何建議PLZ? 我的UDF類: public class MyUDF extends GenericUDTF { MapredContext _mapredContext; @Override public void configure(MapredContext mapredContext) {