Y-I
New Contributor II

Use

from_json(to_json({struct column}),{your schema definition})

For example

COPY INTO {table} FROM (select from_json(to_json()), 'MAP<STRING, STRING>' FROM {path}) ...