You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using bind_rows or bind_cols on database tbls doesn't give the expected results, but also doesn't always raise an error. Depending on the database backend, different things happen; postgres returns results while sqlite complains about incompatible sizes. Instead, they could just see the tbl_sql class and error out.
Of course, it would be possible to write SQL translations for these, but I'm not sure they would be widely used. For bind_rows it would be something like:
SELECT*FROM some_table
UNION ALLSELECT*FROM some_other_table
Binding columns in SQL tables is probably a mistake but could be done by joining row numbers.
The text was updated successfully, but these errors were encountered:
@krlmlr this is actually a data frame bug, because it requires changes to the cpp code. I think the problem is in the init method for the DataFrameable class — it needs to check for a bare (!is.object()) list.
Using
bind_rows
orbind_cols
on database tbls doesn't give the expected results, but also doesn't always raise an error. Depending on the database backend, different things happen; postgres returns results while sqlite complains about incompatible sizes. Instead, they could just see thetbl_sql
class and error out.Of course, it would be possible to write SQL translations for these, but I'm not sure they would be widely used. For
bind_rows
it would be something like:Binding columns in SQL tables is probably a mistake but could be done by joining row numbers.
The text was updated successfully, but these errors were encountered: