
SQL
其未远
这个作者很懒,什么都没留下…
展开
-
关于Left Join逻辑丢失数据问题(丢失数据)
建基础表--表1: 姓名 create table app.test_boa_1 (id string ,name string );insert into app.test_boa_1 values (1,'安妮');insert into app.test_boa_1 values (2,'盖伦');insert into app.test_boa_1 values (3,'光辉');--表2:工资 create table app.test_boa_2 (id string ,sal原创 2021-12-13 18:38:02 · 8502 阅读 · 2 评论 -
hive表中插入无效数据时返回null
执行下面sql语句,创建测试表create table app.test_boa_20211020183 ( id string ,dt date ,num double );insert into table app.test_boa_20211020183 values ('001','2021-10-20',300); insert into table app.test_boa_20211020183 values ('001','2021-10-20','2021-0原创 2021-10-20 18:55:39 · 801 阅读 · 0 评论