Commit 98918ed7 authored by 张彦钊's avatar 张彦钊

add multi file

parent a94a7efb
......@@ -9,8 +9,7 @@ import datetime
def test():
conf = SparkConf().setAppName("miniProject").setMaster("local[*]")
spark = SparkSession.builder.enableHiveSupport().getOrCreate(conf)
spark = SparkSession.builder.enableHiveSupport().getOrCreate()
ti = pti.TiContext(spark)
ti.tidbMapDatabase("jerry_test")
......
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