is_common_ori = loadTable("dfs://pit_stock_ts", "cfs_common_adj") divident = loadTable("dfs://pit_stock_ts", "divident") //schema(is_common_ori) //sql1 = select code, report_period, year(report_period) as year, quarterOfYear(report_period) + 1 as base_for_quarter_accum, appear_at_date from is_common_ori where partition(code, 0) select top 100 * from divident