[Jinja] Make Presto template functions backwards compatible (#7993)

This commit is contained in:
Erik Ritter
2019-08-07 09:35:16 -07:00
committed by michellethomas
parent b380879c41
commit cd6de3a1d8
2 changed files with 22 additions and 2 deletions

View File

@@ -56,7 +56,7 @@ Templating with Jinja
SELECT *
FROM some_table
WHERE partition_key = '{{ presto.latest_partition('some_table') }}'
WHERE partition_key = '{{ presto.first_latest_partition('some_table') }}'
Templating unleashes the power and capabilities of a
programming language within your SQL code.