Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

login("admin","123456")
db=database("dfs://stations", VALUE, 2020.01.01..2020.12.31)
pt = db.createPartitionedTable(NULL, `datas, `RecordTime);

pt=loadTable("dfs://stations","datas")
select top 100 * from pt

执行上述保错:

pt = ::createPartitionedTable(db, NULL, "datas", "RecordTime") => Usage: createPartitionedTable(dbHandle, table, tableName, partitionColumns). Please provide one or a list of tables as model schema.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
726 views
Welcome To Ask or Share your Answers For Others

1 Answer

创建分区表时,需要提供一个模板表,系统会在数据库中创建一个与模板表结构相同的分区表。创建库表详情请参阅https://www.dolphindb.cn/cn/h...


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
...