Your ROOT_URL in app.ini is http://192.168.1.7:3000/ but you are visiting http://shqkxh.org:3000/guofu/dolphin-dev/blame/commit/a479f1c26c02d556904e546386bbf4defaceef97/dolphindb/demo.dos You should set ROOT_URL correctly, otherwise the web may not work correctly.
dolphin-dev/dolphindb/demo.dos

12 lines
291 B

3 years ago
n=1000000
date=take(2006.01.01..2006.01.31, n);
x=rand(10.0, n);
t=table(date, x);
login("admin","123456")
db=database("dfs://valuedb", VALUE, 2006.01.01..2006.01.31)
pt = db.createPartitionedTable(t, `pt, `date);
pt.append!(t);
pt=loadTable("dfs://valuedb","pt")
select top 100 * from pt