What happened?
When using Ibis with sqlglot=28.0.0, we encounter an error after dropping a column from a table that originally has more than five columns. For instance, the following
import ibis
import pandas as pd
df = pd.DataFrame(
[["a", 1, 2, 5, 6], ["b", 3, 4, 7, 8]],
columns=["one", "two", "three", "four", "five"],
index=[5, 6],
)
t = ibis.memtable(df)
t.execute()
t = t.drop("three")
t.execute()
results in ValueError: schema names don't match input data columns
while we have no problem if the table has less than five columns
What version of ibis are you using?
11.0.0
What backend(s) are you using, if any?
duckdb==1.4.2
Code of Conduct