Data was loaded to an internal stage called MY_CH07_STAGE in snowflake. To explore the data we have the query below.
What does t mean and what does t.$1, t.$2,t.$3,t.$4,t.$5 and t.$6 mean?
select t.$1, t.$2,t.$3,t.$4,t.$5,t.$6
from @MY_CH07_STAGE (file_format => 'my_stage_file_format') t;
tis the alias to the "table" in this case the stage, and the format of the files found in there.The
.$1is the first column of values.For example from the Parquet data loading example
thus the
$2to$6are the 2nd to 6th columns in the files column format.