'Get view schema with aws wrangler in python

I am trying to create a python script that will get the schema for all available tables and views.

To get the table schema wr.athena.show_create_table

now, what about views? I don't find any function which can get the schema for the view.

I also tried SHOW CREATE VIEW but it is giving me empty results. Appreciate any help. Thanks in advance.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source