datachain icon indicating copy to clipboard operation
datachain copied to clipboard

Don't allow top level fields with the same name

Open shcheklein opened this issue 1 year ago • 0 comments

Motivated by this: https://github.com/iterative/datachain/issues/510#issuecomment-2413861745

I'm not sure it should be allowed at all - to have a nested column meta and a regular field meta at the same time. Would it be a deal breaker for the scenario if we put a limitation like that @tibor-mach ?

caveats:

  • if it's not too complicated to implement - ideally if it can be isolated in a single place)
  • let's do a bit of research - e.g. does pandas allow for this? if yes, we can get back to the original ticket and see how we should clarify the semantics of operations like select in this case https://github.com/iterative/datachain/issues/510#issuecomment-2413861745

shcheklein avatar Oct 18 '24 01:10 shcheklein