Open gassechen opened 1 month ago
ERROR
"select userid, id, title, body from df2" [2024-06-03 09:54:12 [ERROR]] Could not find data frame df2
Backtrace for: #<SB-THREAD:THREAD tid=24317 "hunchentoot-worker-127.0.0.1:49738" RUNNING {1004E5E7A3}>
0: (TRIVIAL-BACKTRACE:PRINT-BACKTRACE-TO-STREAM #<SB-IMPL::STRING-OUTPUT-STREAM {7FCBCD10DD43}>)
1: (HUNCHENTOOT::GET-BACKTRACE)
2: ((LAMBDA (COND) :IN HUNCHENTOOT:HANDLE-REQUEST) #<SIMPLE-ERROR "Could not find data frame ~A" {1013314573}>)
3: (SB-KERNEL::%SIGNAL #<SIMPLE-ERROR "Could not find data frame ~A" {1013314573}>)
4: (ERROR "Could not find data frame ~A" "df2")
5: (SQLDF:SQLDF "select userid, id, title, body from df2")
6: ((FLET "<DIV>0
Hi, I ran into a problem. The sqldf query doesn't find the dataframe outside of the execution from the repl. So I made this small modification so that it accepts the dataframe as a parameter. This error occurs when I call sqldf query from a url with hunchentoot, I don't know how to explain it.