摘要: 1.连接mysql --driver-class-path mysql-connector-java-5.1.21.jar 在数据库中,SET GLOBAL binlog_format=mixed; 2.Spark中 使用Hive的udf 同样使用—jars 才行 3.Spark jupyter使用 阅读全文
posted @ 2021-03-07 22:50 Hoult丶吴邪 阅读(443) 评论(0) 推荐(0) 编辑
摘要: 1.union 和 union all 前者可以去重 select sex,address from test where dt='20210218' union all select sex,address from test where dt='20210218'; + + +--+ | sex 阅读全文
posted @ 2021-03-07 19:43 Hoult丶吴邪 阅读(145) 评论(0) 推荐(0) 编辑