logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

mysql alter table修改表结构添加多个字段的几个写法

如题目,本文介绍mysql中,add column添加多字段的几个写法。分开写多个 alter table听起来好像是多此一举的介绍,有时需要给相邻字段不同的修改,全都分开写,也不失为不容易出错的写法。ALTER TABLE employee ADD email_address varchar(50);ALTER TABLE employee MODIFY address varchar(30);

assertion failed: Failed to get records for spark-executor3 24025 after after polling for 1000

assertion failed: Failed to get records for spark-executor3 24025 after after polling for 1000

文章图片
#spark#大数据#分布式
清空hive表时报错Cannot truncate non-managed table

在执行命令truncate 清空hive表时,报错如下:FAILED: SemanticException [Error 10146]: Cannot truncate non-managed table mtime_qa.userorder_logs我清空的是一个外部表。如图:看hortontworks官方解释:note:This error happens when you're trying

spark教程-Pyspark On Yarn 的模块依赖问题

原理简述Yarn 模式是把资源统一交给 Yarn 集群来管理,其优点在于实现了 application 的多样性,如 MapReduce 程序、HBase 集群、Storm 集群、spark 集群等;Yarn 模式有两种运行模式:client 和 cluster,区别在于client 模式的 Driver 运行在 client 端,而 client 端可能是 spark 集群内节点,也可以不是,一

代码覆盖率系列(一):jacoco使用

代码覆盖率系列(一):jacoco使用

文章图片
#代码覆盖率
hive中count(distinct) 的原理

目录count(distinct id)的原理count(distinct id)的解决方案参考博客:https://blog.csdn.net/oracle8090/article/details/80760233回到顶部count(distinct id)的原理count(distinct id)从执行计划上面来看:只有一个reducer任务(即使你设置reducer任务为100个,实际上也没

kafka java.io.IOException: Connection to 1 was disconnected before the response was read.

kafka java.io.IOException: Connection to 1 was disconnected before the response was read.

文章图片
#kafka#java#分布式
Github报错——Failed to connect to github.com port 443: Timed out

Github报错——Failed to connect to github.com port 443: Timed out

文章图片
#github
关于hive当中的double的数据类型

最近发现通过sqoop将oracle数据库当中的数据到如到hive当中,发现oracle数据库当中number类型的数据变成了hive当中的double类型。不只是变成了double类型,数据好像稍微有点变化。比如原来的:3769.14 变成了3769.1399999999999 ,还有就是1737.66 变成了1737.6600000000001 貌似有点数据变小了,有的数据变大了这个是什么原因

    共 244 条
  • 1
  • 2
  • 3
  • 25
  • 请选择