Commit 99b665ac authored by 高雅喆's avatar 高雅喆

update

parent aeeb1c34
......@@ -149,6 +149,7 @@ if __name__ == '__main__':
# result_last.show()
result_last = spark.createDataFrame([("10", "a", "aa"), ("11", "b", "bb"), ("13", "c", "cc")],
["stat_date", "cl_id", "tag_list"])
result_last.show()
result_last.write.format("jdbc").options(
url='jdbc:mysql://172.16.40.158/jerry_test',
driver='com.mysql.jdbc.Driver',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment