# IncorrectCallArgs warning when using outerjoin() in VSCode linter

**URL:** https://discourse.julialang.org/t/incorrectcallargs-warning-when-using-outerjoin-in-vscode-linter/89341
**Category:** VS Code
**Tags:** bug, dataframes
**Created:** [October 27, 2022, 3:43am UTC](https://discourse.julialang.org/t/incorrectcallargs-warning-when-using-outerjoin-in-vscode-linter/89341 "2022-10-27T03:43:03Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![rock](https://avatars.discourse-cdn.com/v4/letter/r/ac91a4/32.png) [@rock](https://discourse.julialang.org/u/rock)
#### Post date: [October 27, 2022, 3:43am UTC](https://discourse.julialang.org/t/incorrectcallargs-warning-when-using-outerjoin-in-vscode-linter/89341/1 "2022-10-27T03:43:03Z")

</div>

In VS Code, I am getting a warning whenever I use `outerjoin()` on two `DataFrame`s. For example, I get an error using the following example from the documentation:

```julia
name = DataFrame(ID=[1, 2, 3], Name=["John Doe", "Jane Doe", "Joe Blogs"])
job = DataFrame(ID=[1, 2, 4], Job=["Lawyer", "Doctor", "Farmer"])
outerjoin(name, job, on = :ID)

```

Is this the right place to report something like this?

---

<div class="post-metadata">

### Author: ![bkamins](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/bkamins/32/208538_2.png) [@bkamins](https://discourse.julialang.org/u/bkamins)
#### Post date: [October 27, 2022, 5:37am UTC](https://discourse.julialang.org/t/incorrectcallargs-warning-when-using-outerjoin-in-vscode-linter/89341/2 "2022-10-27T05:37:52Z")

</div>

What is the warning you get? I checked your code and I do not get any warning in VS Code.

---

<div class="post-metadata">

### Author: ![rock](https://avatars.discourse-cdn.com/v4/letter/r/ac91a4/32.png) [@rock](https://discourse.julialang.org/u/rock)
#### Post date: [October 27, 2022, 6:14am UTC](https://discourse.julialang.org/t/incorrectcallargs-warning-when-using-outerjoin-in-vscode-linter/89341/3 "2022-10-27T06:14:11Z")

</div>

Sorry, it’s not a warning thrown by Julia. The last line of the code is underlined in blue in the editor, and when I hover over it, it says “Possible method call error”.

---

<div class="post-metadata">

### Author: ![bkamins](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/bkamins/32/208538_2.png) [@bkamins](https://discourse.julialang.org/u/bkamins)
#### Post date: [October 27, 2022, 8:16am UTC](https://discourse.julialang.org/t/incorrectcallargs-warning-when-using-outerjoin-in-vscode-linter/89341/4 "2022-10-27T08:16:51Z")

</div>

Yes - I assumed it was a VS Code warning. However, I do not get the “Possible method call error” warning in my VS Code.

Maybe @pfitzseb can have more insight on this issue.

---

<div class="post-metadata">

### Author: ![nilshg](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/nilshg/32/2283_2.png) [@nilshg](https://discourse.julialang.org/u/nilshg)
#### Post date: [October 27, 2022, 8:46am UTC](https://discourse.julialang.org/t/incorrectcallargs-warning-when-using-outerjoin-in-vscode-linter/89341/5 "2022-10-27T08:46:22Z")

</div>

Is it only `outerjoin` or any DataFrames-specific function? Might be one of those cases where the package is not in the environment from which the linter is taking exported functions?

---

<div class="post-metadata">

### Author: ![pfitzseb](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/pfitzseb/32/45566_2.png) [@pfitzseb](https://discourse.julialang.org/u/pfitzseb)
#### Post date: [October 27, 2022, 9:08am UTC](https://discourse.julialang.org/t/incorrectcallargs-warning-when-using-outerjoin-in-vscode-linter/89341/6 "2022-10-27T09:08:48Z")

</div>

No, this is happening because `outerjoin` is re-exported basically. We can’t find any methods for it.

I’d recommend disabling that lint rule, btw. There are way too many false positives for it to be useful.

---

<div class="post-metadata">

### Author: ![nilshg](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/nilshg/32/2283_2.png) [@nilshg](https://discourse.julialang.org/u/nilshg)
#### Post date: [October 27, 2022, 9:14am UTC](https://discourse.julialang.org/t/incorrectcallargs-warning-when-using-outerjoin-in-vscode-linter/89341/7 "2022-10-27T09:14:25Z")

</div>

Are there plans for improving it? In theory it seems like a really nice thing to have, but I agree as it stands it’s not very helpful.

---

<div class="post-metadata">

### Author: ![pfitzseb](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/pfitzseb/32/45566_2.png) [@pfitzseb](https://discourse.julialang.org/u/pfitzseb)
#### Post date: [October 27, 2022, 9:29am UTC](https://discourse.julialang.org/t/incorrectcallargs-warning-when-using-outerjoin-in-vscode-linter/89341/8 "2022-10-27T09:29:38Z")

</div>

Eventually yes. I don’t currently have a lot of time for extension development though, unfortunately.
