Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
[R-Forge #2468] merge() should warn if either table is empty #597
Submitted by: Matt Dowle; Assigned to: Nobody; R-Forge link
or, at least before any type error occurs. if sqlQuery downloads 0 rows, it still has all the columns but the types haven't been able to detected by sqlQuery inspecting the data (so all left as type logical(0)). That can generate type error by a keyed join that normally works that expects the key column to be character (as it is normally when some rows have been downloaded) rather than logical, for example.