jrmccluskey commented on issue #41849: URL: https://github.com/apache/beam/issues/41849#issuecomment-7354179321
> Hi [@jrmccluskey[<img alt="" width="15" height="15" src="chrome-extension://dlebflppeeemcdpidccbiblndppbmjmh/ospo-chrome-ext-logo.png">](https://teams.googleplex.com/[email protected])](https://github.com/jrmccluskey), > > I've investigated the RAG ingestion writers and found that explicitly passing `column_specs=None` causes a TypeError during initialization in MySQL and PostgreSQL, despite their documentation describing None as using the default schema. > > This also affects the inherited AlloyDB and CloudSQL configurations, whereas Spanner already supports None. > > I propose resolving None inside the parent writer constructors using an explicit `is None` check to preserve existing custom and empty-list behaviour. > > I also plan to add regression tests covering default specifications, explicit None, custom schemas, and inherited configurations. > > Considering the backward compatibility concerns you raised in [#41817](https://github.com/apache/beam/pull/41817), would you prefer retaining the existing constructor defaults while adding explicit None handling, or changing them to None and creating fresh default specifications per instance? > > I'd appreciate your feedback before proceeding with the implementation. Please don't use agents to take GitHub Issues like this, it's very annoying _and_ disruptive to other contributors. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
