getAllDBs(); getDFSDatabases(); getScheduledJobs(); loadTableBySQL(tableName='pt',dbPath="dfs://tsdb",sql="select * limit 10;"); loadTable("dfs://tsdb","pt") listTables("dfs:/hft_futuremarket_ts"); pt=loadTable("dfs://hft_futuremarket_ts","MinKlinePartitioned") pt=loadTable("dfs://hft_futuremarket_ts","TickPartitioned") pt=loadTable("dfs://hft_futuremarket_ts", "DailyFutureInfoPartitioned") select top 40 * from pt where code=`T2212 and m_nDatetime.date() =2022.09.28d select top 4 * from pt where code_init=`T and m_nDatetime.date()=2022.09.28d select distinct m_nDatetime.date() from pt where m_nDatetime.date()=2022.11.01d and (code=`AP2211 or code=`AP2212) select distinct code from pt select * from pt where m_nDatetime.date()=2022.11.01d and code in (`al2212) select count(*) from loadTable("dfs://hft_futuremarket_ts", "MinKlinePartitioned") select count(*) from loadTable("dfs://hft_futuremarket_ts", "TickPartitioned") select count(*) from loadTable("dfs://hft_futuremarket_ts", "DailyFutureInfoPartitioned") pt=loadTable("dfs://daily_stock_ts","daily_kline") select top 400 * from pt where code=`IC9999 schema(pt) select count(*) from pt n=1000000 ID=rand(100, n) dates=2017.08.07..2017.08.11 date=rand(dates, n) x=rand(10.0, n) t=table(ID, date, x) dbDate = database(, VALUE, 2017.08.07..2017.08.11) dbID=database(, RANGE, 0 50 100) db = database("dfs://compoDB", COMPO, [dbDate, dbID]) pt = db.createPartitionedTable(t, `pt, `date`ID) pt.append!(t) pt=loadTable(db,`pt) select count(x) from pt db = database("dfs://hft_futuremarket_ts")