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

Categories

0 votes
1.4k views
in Technique[技术] by (71.8m points)

DolphinDB执行query语句时报错:Can‘t find the object

表quotes已经在DolphinDB中创建,执行下面query语句:

select * from quotes limit 5

返回错误信息:

Error Message: Can't find the object with name quotes.

请问怎么解决?


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

1 Answer

0 votes
by (71.8m points)

DolphinDB与其他关系数据库、NoSQL、NewSQL数据库不同的是,数据库,编程语言和分布式计算三者融为一体。这种设计使得DolphinDB可以一站式轻量化的解决大数据问题。但是,引用数据库和表时,不能直接用数据库或表名称(因为与脚本中的变量名可能会冲突),必须使用loadTable函数加载数据表。例如:

quotes  = loadTable(dbPath,tableName)  

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

2.1m questions

2.1m answers

60 comments

57.0k users

...