I have tried a Query Profile, but cant seem to load the entire XML into a variant. I can of coarse flatten it into columns, which works nicely, but my requirement is to either load the entire XML or the XML if the repeating array into Snowflake variants.
If there a file copy that can start from an API call? Then I could dump it into S3.
you can use the Query Profile for that. Create a target table with a clomun of type VARIANT and name JSON upfront and then use this script for the query profile: