mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-27 09:35:37 -05:00
Adding SQL Edge project template (#13558)
* Checkpoint * removing flag for not creating subfolder * Adding Edge template * Removing janky map function * Adding templates for additional objects * Updating tests, fixing bug * Added Edge project icon * Updating strings to Drew-approved text * Cleaning up template scripts and Edge project template names
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
CREATE EXTERNAL DATA SOURCE [@@OBJECT_NAME@@] WITH
|
||||
(
|
||||
LOCATION = '@@LOCATION@@'
|
||||
)
|
||||
@@ -0,0 +1,5 @@
|
||||
CREATE EXTERNAL STREAM [@@OBJECT_NAME@@] WITH
|
||||
(
|
||||
DATA_SOURCE = [@@DATA_SOURCE_NAME@@],
|
||||
LOCATION = N'@@LOCATION@@'@@OPTIONS@@
|
||||
)
|
||||
@@ -5,6 +5,5 @@
|
||||
|
||||
EXEC sys.sp_create_streaming_job @NAME = '@@OBJECT_NAME@@', @STATEMENT = 'INSERT INTO SqlOutputStream SELECT
|
||||
timeCreated,
|
||||
streamColumn1 as column1,
|
||||
streamColumn2 as column2
|
||||
streamColumn1 as Id
|
||||
FROM EdgeHubInputStream'
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
CREATE EXTERNAL FILE FORMAT [@@OBJECT_NAME@@] WITH
|
||||
(
|
||||
FORMAT_TYPE = JSON,
|
||||
DATA_COMPRESSION = 'org.apache.hadoop.io.compress.GzipCodec'
|
||||
)
|
||||
Reference in New Issue
Block a user