0

Flatten can be used for following semi structure and structure data, or only semi structure.

markalex
  • 8,623
  • 2
  • 7
  • 32
Prats
  • 11
  • 2

1 Answers1

0

Flatten is for a VARIANT, OBJECT, or ARRAY. Unpivot will work on structured data.

Mike Gohl
  • 627
  • 4
  • 7
  • Thanks! I have one more question Mike. If we want to delete data in fail safe whether user or snowflake support can delete it before 7 days period expires. – Prats Jul 23 '20 at 18:03
  • There is no option to delete data from failsafe. To avoid failsafe, use transient tables. – Mike Gohl Jul 23 '20 at 18:26