Commit fea442f1 authored by kinomin's avatar kinomin

kino update

parent 68b11dd1
......@@ -2,6 +2,9 @@ from common import Constants
import os
# 写出到 MySQL
from sources import Sources
def sinkMySql(sinkDF, driver, url, user, password, table, mode=Constants.SAVE_MODE_OVERWRITE):
sinkDF.write.mode(mode) \
.format("jdbc") \
......
import pymysql
import exception.MyErrorException as ex
from pyspark import SparkContext
from sources import Sinks
......
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