select max(timestamp) from (DESCRIBE HISTORY <tablename> ) where operation = 'MERGE
```'
描述历史).orderBy(col("version").desc).first.getLong(0)
i need to convert above 2 sql queries into snowflake sql to use in snowpark code ,I need to get exact output what the above lines of code getting in spark
要检查表的 DDL 历史记录,可以使用常用命令“SHOW TABLES HISTORY”。
CREATE OR REPLACE TABLE test_show_tables_history(fld1 NUMBER);
DROP TABLE test_show_tables_history;
CREATE OR REPLACE TABLE test_show_tables_history(fld2 NUMBER);
SHOW TABLES HISTORY LIKE 'test_show_tables_history';