Skip to main content

createOrReplace

Creates a new table or replaces an existing table with the contents of the DataFrame. The output table's schema, partition layout, properties, and other configuration are based on the contents of the DataFrame and the configuration set on this writer. If the table exists, its configuration and data are replaced.

Syntax

createOrReplace()

Returns

None

On this page