AbsaOSS/cobrix

Metadata copying method does not retain existing metadata

Closed this issue · 3 comments

Describe the bug

This method should not replace the metadata, but merge metadata from 2 schemas:

val schemaMerged = SparkUtils.copyMetadata(schemaFrom, schemaTo)

Code snippet that caused the issue

--

Expected behavior

Metadata copying method should retain existing metadata.

Context

--

Copybook (if possible)

--

is it possible to use this method using pyspark?. if yes, could you please share a sample example

Thank you . This helps