Class QueryHistoryFunction

java.lang.Object
dev.frostlake.functions.TableFunction
dev.frostlake.functions.table.QueryHistoryFunction

public class QueryHistoryFunction extends TableFunction
The INFORMATION_SCHEMA.QUERY_HISTORY() TABLE FUNCTION — Snowflake exposes query history ONLY this way (SELECT … FROM TABLE(INFORMATION_SCHEMA.QUERY_HISTORY(RESULT_LIMIT => n)); the bare object form is "does not exist", live-verified). The column set mirrors Snowflake's (62 columns, captured live); the engine populates the subset its tracker records and leaves the rest NULL. Most recent queries first; RESULT_LIMIT defaults to 100 like Snowflake.