rdblue commented on issue #25354: [SPARK-28612][SQL] Add DataFrameWriterV2 API URL: https://github.com/apache/spark/pull/25354#issuecomment-519243847 > Is it possible to use this API with paths or URIs instead of table names? Yes, it is. Instead of passing names to `writeTo`, you would pass a path or URI: ``` df.writeTo("s3://bucket/path/to/table").append() ``` The v2 identifiers SPIP includes how to represent a path-based table: `PathIdentifier(path, name)` that extends `Identifier`. The namespace of a `PathIdentifier` is a single level and contains a fully qualified path. When we have a spec for how path-based tables behave, we can update `writeTo` to catch paths and pass `PathIdentifier`.
---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
