Open emanueledomingo opened 3 days ago
I made some further trials and i got:
"`Product.Id` = 'x-1'"
i get DeltaError: Generic DeltaTable error: Schema error: No field named Product.Id. Valid fields are "88e03a2f-8d4f-407c-98de-cb67462708d2"."Product.Id".
"`\"Product.Id\"` = 'x-1'"
i get DeltaError: Generic DeltaTable error: Schema error: No field named """Product.Id""" Valid fields are "Product.Id".
Environment
Delta-rs version:
Binding: 0.18.1
Environment:
Bug
What happened: I cannot use a predicate containing a column with a dot in the name, like
" \"Product.Id\" = '1' "
when writing with rust engine. It's being interpreted as"Product"."Id"
instead of"Product.Id"
.What you expected to happen: correctly parse the column name with the dot
How to reproduce it:
More details:
Here the stacktrace:
It seems that the predicate splits the column by the dot and then the sql backend (datafusion i suppose) interpret the first part as table name