Commit 3768c4e5 authored by 高雅喆's avatar 高雅喆

add stat_date condition

parent b9f39289
......@@ -96,12 +96,13 @@ object Main {
ti.tidbMapTable(dbName = GmeiConfig.config.getString("tidb.database"),tableName = "data_feed_click")
// val date8 = GmeiConfig.getMinusNDate(8)
val date8 = GmeiConfig.getMinusNDate(30)
val tidb_inupt = sc.sql(
s"""
|SELECT
| service_id,cid
|FROM nd_data_meigou_cid
|where stat_date > '${date8}'
""".stripMargin
)
......
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