select_except with inner signals
Description
d = dc.read_parquet("example.parquet").save()
# Works:
d.select("source.kwargs").show()
# This doesn't work:
d.select_except("source.kwargs").show()
SignalResolvingError: cannot resolve signal name 'source.kwargs': select_except() error - the feature name does not exist or inside of feature (not supported)
Version Info
Looks like this was explicitly not supported for some reason, as can be seen in error message
@ilongin it looks like legacy logic. at some point it worked this way but not with the latest changes.
can it because it would require creating a "partial" model (w/o certain fields)? (we can though use the same semantics as in select - probably just flatten columns that left?)
yes, that's the problem 🙂
Yes, the only solution is to flatten the top level column. As I spoke with Dmitry, this is not that high priority so removing myself form assignment. Added quick better error handling though https://github.com/iterative/datachain/pull/1020
@ilongin looks good. please close this issue once #1020 is closed