我有这个问题:
[MERANT][ODBC PROGRESS driver][PROGRESS]Column not found/specified (7520)
出于某种原因,我在运行查询时遇到此错误:
错误消息
WHERE (spechist."photocard-display"=yes) AND (spechist."rec-type"='I') and (spechist.item='111')
当我从查询中删除以下内容时,它运行正常:
date_col = [col for col in list(df) if re.search('DATE', col)]
dt_col = [col for col in list(df) if re.search('_DT', col)]
ts_col = [col for col in list(df) if re.search('TIMESTAMP', col)]
dt_cols = date_col + dt_col + ts_col
for col in list(df):
if col in dt_cols:
col = pd.to_datetime(col)
我知道这些列在表中。我做错了什么?
由于
答案 0 :(得分:0)
没有看到你的架构,我无法确定,但这里有一些事情要尝试。