One of your query is taking a long time to finish, when you open the query profiler you see that lot of data is spilling to the remote disk(Bytes spilled to remote storage). What may be the cause of this?
An Architect is using the Snowflake table function INFER_SCHEMA to automatically detect the file metadata schema in a set of staged data files. The files contain semi-structured data, and the function automatically retrieves the column definitions.
Which statement will successfully create a table using the INFER_SCHEMA function?