搜尋結果顯示列名
set hive.cli.print.header=true;
set hive.resultset.use.unique.column.names=false;
啟用動態分割槽
set hive.exec.dynamic.partition=true;
set hive.exec.dynamic.partition.mode=nonstrict;
新增udf
add jar 上傳的jar包路徑; # 作用:將該jar包新增到hive的classpath
create temporary function temp_func as 「com.lzl.hive.lower」; # 引號裡是自定義udf類路徑
然後即可以使用該函式
select temp_func …
webkit一些特殊用法
關於webkit一些特殊用法。該屬性可以使得一張背景進行放大縮小。定義 webkit border image url top right bottom left stretch stretch 定義邊框的的寬度 border width top right bottom left 另外還有 web...
一些特殊字元使用
jdk的replaceall方法使用的是正則表達試,關於特殊字元轉義問題 replaceall 我 檔案路徑轉移 四個反斜槓等於 路徑統一符號切換 param path param separator return public static string returnpathcaseseparat...
記錄一些特殊字元
名稱 unicode編碼 描述全形空格 u輸出為整數 12288 trim時不會過濾 lf 換行 line feed n u輸出為整數 10 cr 回車 carriage return r u輸出為整數 13 蘋果系統下換行符是 r,其content.trimmingcharacters in ch...