I use copy command of snowflake which is below returns a file with content json
copy into @elasticsearch/product/sf_index from (select object_construct('id',id, alpha,'alpha')from table limit 1) file_format = (type = json, COMPRESSION=NONE), overwrite=TRUE, single = TRUE, max_file_size=5368709120;
the output in json file is
{
"alpha":"alpha",
"id" :"1"
}
I want the order to be preserved here, not order by alphabetical ? like this
{
"id" :"1",
"alpha":"alpha",
}
any solutions?? Thanks in Advance