zoukankan      html  css  js  c++  java
  • hive替换文件中特殊字符

    select   regexp_replace(regexp_replace(regexp_replace(t.column_001,'',''),'12',''),'15' ,'') as column_001
               ,regexp_replace(regexp_replace(regexp_replace(t.column_002,'',''),'12',''),'15' ,'') as column_002
               ,regexp_replace(regexp_replace(regexp_replace(t.column_003,'',''),'12',''),'15' ,'') as column_003
               ,regexp_replace(regexp_replace(regexp_replace(t.column_004,'',''),'12',''),'15' ,'') as column_004
               ,regexp_replace(regexp_replace(regexp_replace(t.column_005,'',''),'12',''),'15' ,'') as column_005
               ,regexp_replace(regexp_replace(regexp_replace(t.column_006,'',''),'12',''),'15' ,'') as column_006
              ,regexp_replace(regexp_replace(regexp_replace(t.column_007,'',''),'12',''),'15' ,'') as column_007
    from table_name t;

  • 相关阅读:
    敏捷软件开发实践-Code Review Process(转)
    随笔1
    随笔
    随笔
    低级错误
    随笔
    随笔2
    随笔
    这以前写的代码
    蛋疼的vs
  • 原文地址:https://www.cnblogs.com/Arabi/p/11811808.html
Copyright © 2011-2022 走看看