-
Notifications
You must be signed in to change notification settings - Fork 991
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
colnamesInt makes inscrutable errors #5039
Comments
Hi , I have given it a try, here is what i have implemented
and then call it intensionally with check_dups = null , so error occurs
|
I recommend playing around with building/installing/testing the package for figuring out how to add features in the C code. Immediately I see Line 138 in 1fb3c75
That line also gives a hint to where I think |
Is there any advice for those hitting these "inscrutable errors"? I'm getting one of the errors you mentioned above:
I guess it means something like that there is an undefined variable/column somewhere that I'm trying to use, but any other hints on where to look for the problem? |
We could add argument to this internal function providing context in which it was called |
We have draft PR #6008 for that. Exact approach for doing so is not exactly clear AIRI |
I figured out the problem. I'm not clear on the exact behavior of the draft PR, but not sure if a better error message would have actually clarified in my case. I think better explanation in the docs would have helped, so I created a separate issue for that: #6623 |
It's great that we've simplified internals to rely consistently on logic in
colnamesInt()
, but unfortunately it has made for some head-scratching debugging, e.g.:I have enough context to basically figure out what's gone wrong, but including some context here as an extra helper would be useful, IMO.
What about adding an argument to
colnamesInt
where we can supply a hint about the source of the error?A quick pass:
Then call
colnamesInt(..., source = "i table's columns in on= join")
WDYT Jan? Somewhat off-the-cuff with no repro, LMK if an example is needed.
The text was updated successfully, but these errors were encountered: