Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
801 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 Reply

0 votes
by (71.8m points)

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

quotes  = loadTable(dbPath,tableName)  

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...