导入列名为中文的tick数据时,发生以下错误,求各位前辈指点
dbDate = database("", VALUE, 2011.01.01..2020.12.31)
dbSymbol=database("", HASH, [DATE,10])
db = database("dfs://level2_2", COMPO, [dbDate, dbSymbol])
dataDir="D:/data/jsydata_unrar/tick/20130107/"
def importTxtFiles(dataDir, db){
dataFiles = exec filename from files(dataDir)
for(f in dataFiles){
loadTextEx(db, `quotes,`证券代码`时间, dataDir + f)
}
}
importTxtFiles(dataDir, db);
importTxtFiles(dataDir, db) => importTxtFiles: loadTextEx(db, "quotes", ["证券代码","时间"], dataDir + f) => The partition column [证券代码] doesn't exist.
以下是csv文件字段名:
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…