Open marcelbaumgartner opened 3 years ago
Thanks for your report!
I'm afraid I haven't seen this error before, and I can't make any progress here without a reproducible example. Would you be able to see if you can reproduce it with something like this, that takes only two rows and a handful of columns?
FBL5N <- fuzzy_left_join(
x = FBL5N %>% head(2) %>% select(ACCOUNT, NGA_PSTNG_DATE),
y = V_LD_for_join %>% head(2) %>% select(Customer, NGA_VALID_FROM, NGA_VALID_TO),
by = c("ACCOUNT" = "Customer",
"NGA_PSTNG_DATE" = "NGA_VALID_FROM",
"NGA_PSTNG_DATE" = "NGA_VALID_TO"),
match_fun = list(`==`, `>=`, `<=`))
If that does reproduce the error, then perhaps you can take just those selected versions of the tables, anonymize them enough (e.g. changing the Customer name), and then posting it as a reproducible version?
I am so sorry. I have made a terrible mistake. The lookup column was called "CUSTOMER" and not "Customer". So now all works perfectly fine. Small suggestion: the error is very cryptic when you do this error. Maybe you could add something like "the column Customer
does not exist in table y". But really it is all on me. Thanks for your prompt response!
Hello,
your package works fine, but with some recent data I have again this error that seems to have been corrected. I cannot share my two tibbles that I use for confidentiality reasons. What could cause this error? When I backtrace the error, I see this:
The code looks like this:
Any idea what could be wrong?
Sessioninfo: