Skip to content

[DONTMERGE] Refine experimental SQL template based on multi-statement support - #1289

Closed
lennartkats-db wants to merge 3 commits into
databricks:mainfrom
lennartkats-db:refine-sql
Closed

[DONTMERGE] Refine experimental SQL template based on multi-statement support#1289
lennartkats-db wants to merge 3 commits into
databricks:mainfrom
lennartkats-db:refine-sql

Conversation

@lennartkats-db

Copy link
Copy Markdown
Contributor

Changes

This PR refines the experimental SQL template based on (the upcoming) multi-statement support.

@codecov-commenter

codecov-commenter commented Mar 17, 2024

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 53.80%. Comparing base (e22dd8a) to head (483e26f).
Report is 8 commits behind head on main.

Additional details and impacted files
@@ Coverage Diff @@## main #1289 +/- ##
==========================================
+ Coverage 52.25% 53.80% +1.55% 
==========================================
Files 317 322 +5 Lines 18004 14570 -3434 ==========================================
- Hits 9408 7840 -1568 + Misses 7903 6002 -1901 - Partials 693 728 +35 

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@pietern

Copy link
Copy Markdown
Contributor

@lennartkats-db What is the (rough) ETA for this?

@lennartkats-db

Copy link
Copy Markdown
ContributorAuthor

@lennartkats-db What is the (rough) ETA for this?

This should land somewhere within the next few weeks.

CREATE OR REPLACE VIEW
IDENTIFIER(CONCAT({{"{{"}}catalog{{"}}"}}, '.', {{"{{"}}schema{{"}}"}}, '.', 'orders_daily'))
USE CATALOG {{"{{"}}catalog{{"}}"}};
USE SCHEMA {{"{{"}}schema{{"}}"}};

Copy link
Copy Markdown
ContributorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
USE SCHEMA {{"{{"}}schema{{"}}"}};
USE SCHEMA SYMBOL({{"{{"}}schema{{"}}"}});

Unfortunately the schema requires SYMBOL().

@lennartkats-db

Copy link
Copy Markdown
ContributorAuthor

Closing in favor of #1463.

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@lennartkats-db@codecov-commenter@pietern