From 20c6202d282be21937af42a4bafacd71da9a9bd3 Mon Sep 17 00:00:00 2001 From: guange <8863824@gmail.com> Date: Fri, 18 Jan 2019 15:20:35 +0800 Subject: [PATCH] . --- chapter3/spark.py | 1 + 1 file changed, 1 insertion(+) diff --git a/chapter3/spark.py b/chapter3/spark.py index 1188536..f86ba98 100644 --- a/chapter3/spark.py +++ b/chapter3/spark.py @@ -16,6 +16,7 @@ def mysql_query(sql): return data def mysql_execute(sql): + print("execute: %s" % sql) db = pymysql.connect("localhost","root","123456789","sparkproject" ) cursor = db.cursor()