Could you help me? I don't know how to get the result. I have to prepare the export file to the customer by strict structure from Snowflake. I suppose that the answer could be in the change or create new file format or change the view (cause this file generates from view)
Current export file looks like:
id,id_new,sub_building_name,building_name,building_number,price
"34106391","","FLAT THIRD FLOOR","","7","3.8963552865168741"
"34106392","","FLAT FOURTH FLOOR","","7","3.4363554835138543"
The new export file should be look like:
"id","id_new","sub_building_name","building_name","building_number","price"
34106391,,"FLAT THIRD FLOOR",,7,3.8963552865
34106392,,"FLAT FOURTH FLOOR",,7,3.4363554835
So, what changes need to do:
- enclosed the header to double-quotes
- type numeric and null values haven't enclosed double-quote (only strings should be enclosed "")
- change precision float values from "3.8963552865168741" (16) to 3.8963552865 (10)
Thanks