Skip to content

Commit

Permalink
fix ingest
Browse files Browse the repository at this point in the history
  • Loading branch information
barnuri committed Jan 6, 2025
1 parent ca9dd9b commit c36858e
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions DemoCluster/dbMock.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,10 @@ req @{
db="TestDatabase1"
csl=".create table SampleTable ( Id: int, Name: string, Date: datetime, DateOnly: date, TimeOnly: timespan, Time: timespan, IsActive: bool, Year: int, Description: string, Type: string, Value: long, Numbers: dynamic, Nested: dynamic, prop_newtonsoft: long, prop_text_json: long, prop_data_member: long)"
}

req @{
db="TestDatabase1"
csl=".ingest inline into table SampleTable <|
1,Active Item,2025-01-06T12:00:00Z,2025-01-06,12:00:00,12:00:00,true,2025,This is an active item,TypeA,100,`"[1,2,3]`",`"{\`"key1\`":\`"value1\`",\`"key2\`":\`"value2\`"}`",10,20,30
2,Inactive Item,2025-01-06T15:30:00Z,2025-01-06,15:30:00,15:30:00,false,2025,This is an inactive item,TypeB,200,`"[4,5,6]`",`"{\`"key1\`":\`"value3\`",\`"key2\`":\`"value4\`"}`",40,50,60"
}

0 comments on commit c36858e

Please sign in to comment.