如何为DolphinDB中的复合分区获取数据库的二级分区列表

问题描述 投票:0回答:1

我有以下数据库,

    m = "tag" + string(decimalFormat(1..1000,'0000'))
    tableSchema = table(100:0,`devID`ts join m ,[INT,DATETIME] join take(FLOAT,1000) )
    db1 = database("",VALUE,2019.01M..2020.12M)
    db2 = database("",RANGE,0..10*10+1)
    db = database(dbName,COMPO,[db1,db2])
    dfsTable = db.createPartitionedTable(tableSchema,tableName,`ts`devID)

是否有任何功能可以获取二级分区列表?

sql database distributed-computing dolphindb
1个回答
0
投票

schema(table | dbHandle))。partitionSchema [1]

© www.soinside.com 2019 - 2024. All rights reserved.