项目中需要比对两种方法计算生成的数据情况,需要做两件事情,比对生成的中间表的行数是否相同,比对最后一张表的数据是否一致. 在获取表的数据量是一条一条地使用select count(*) from table来获取等待结果比较烦人,所以就写了一个bash shell来做这件事. 但一开始是这样的: for line in $(cat tables.txt) do echo "tablename :$line"; value=$(hive --database databasename -…
compared all possibilities with a long test sheet: 0,140625 sec for lastrow = calcws.Cells.Find("*", [A1], , , xlByColumns, xlPrevious).row 0 sec for iLastRow = calcws.Cells(rows.count, "a").End(xlUp).row and numofrows = calcws.Cells.S…
Function kdcx(kd, orderid) Dim Err, url, kdtime, link, Errcode, Status Select Case kd '此处支持的快递公司很多的 Case "申通" kd = "shentong" Case "圆通" kd = "yuantong" Case "优速" kd = "yousu" Case "龙邦"…