- 1905 Views
- 1 replies
- 2 kudos
Yes it does.Here is the syntaxe for Watermarkinghttps://docs.databricks.com/sql/language-manual/sql-ref-syntax-qry-select-watermark.htmlHere it the syntaxe for Windowing https://docs.databricks.com/sql/language-manual/sql-ref-window-functions.html
- 1905 Views
- 1 replies
- 2 kudos
by
Kajorn
• New Contributor III
- 6643 Views
- 2 replies
- 0 kudos
Hi, I have trouble with executing the given SQL Statement below.MERGE INTO warehouse.pdr_debit_card as TARGET
USING (SELECT * FROM (
SELECT CIF,
CARD_TYPE,
ISSUE_DATE,
MATURITY_DATE,
BOO,
DATA_DATE,
row_number(...
- 6643 Views
- 2 replies
- 0 kudos
Latest Reply
Hi, Please refer: https://docs.databricks.com/sql/language-manual/delta-merge-into.html
1 More Replies
- 32883 Views
- 3 replies
- 5 kudos
Select case WHEN {{ Month }} = 0 then add_months(current_date(),-13 ) elseWHEN {{ Month }}> month(add_months(current_date(),-1)) then add_months(to_date(concat(year(current_date())-1,'-',{{Month}},'-',1)),-13) else add_months(to_date(conc...
- 32883 Views
- 3 replies
- 5 kudos
Latest Reply
Hi @Sajid Thavalengal Rahiman , Have you followed the recommendation given above? Also, could you please paste the whole error with the code?
2 More Replies
by
Dicer
• Valued Contributor
- 7196 Views
- 2 replies
- 1 kudos
I tried to VACUUM a delta table, but there is a Syntax error.Here is the code:%sql
set spark.databricks.delta.retentionDurationCheck.enabled = False
VACUUM test_deltatable
- 7196 Views
- 2 replies
- 1 kudos
Latest Reply
@Cheuk Hin Christophe Poon Missing semi-colon at end of line 2?%sql
set spark.databricks.delta.retentionDurationCheck.enabled = False;
VACUUM test_deltatable
1 More Replies