Use output of SHOW PARTITION commands in Sub-Query/CTE/Function
I am using SHOW PARTITIONS <<table_name>> to get all the partitions of a table. I want to use max() on the output of this command to get the latest partition for the table.However, I am not able to use SHOW PARTITIONS <<table_name>> in a CTE/sub-quer...
- 1917 Views
- 0 replies
- 2 kudos