美文网首页
hive 分区表

hive 分区表

作者: Joncc | 来源:发表于2021-03-04 17:32 被阅读0次

    hive 分区表

    
    create table test(
    name string,
    id int
    )
    partitioned by (date string,hour int);
    
    insert into test
    partition(date = "20210304", hour = "12") values("tom",22);
    

    python 配置HiveServer2连接 hive
    HiveServer2
    https://blog.csdn.net/weixin_42662249/article/details/104819034

    相关文章

      网友评论

          本文标题:hive 分区表

          本文链接:https://www.haomeiwen.com/subject/krvkqltx.html