Skip to content

Commit 8f05fde

Browse files
Clean up query validation warnings. Mostly trailing commas (#117) (#119)
1 parent 2c67c16 commit 8f05fde

File tree

4 files changed

+4
-5
lines changed

4 files changed

+4
-5
lines changed

LDK/resources/queries/core/SiteUsageByGroup.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ PARAMETERS(MinDate TIMESTAMP)
1818
SELECT
1919

2020
g.GroupName,
21-
count(*) AS Visits,
21+
count(*) AS Visits
2222

2323
FROM core.SiteUsagePerGroup g
2424
WHERE cast(g.date as date) >= cast(MinDate as date)

LDK/resources/queries/core/SiteUsagePerGroup.sql

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,7 @@ SELECT
1818
m.UserId,
1919
g.Name AS GroupName,
2020
a.Date,
21-
a.EventType,
22-
--a.comment,
21+
a.EventType
2322

2423
FROM core.groups g
2524

LDK/resources/queries/ldk/dateRange.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ cast(EndDate as TIMESTAMP) as endDate @hidden
1818

1919
FROM (SELECT
2020

21-
timestampadd('SQL_TSI_DAY', i.value, CAST(COALESCE(StartDate, curdate()) AS TIMESTAMP)) as date,
21+
timestampadd('SQL_TSI_DAY', i.value, CAST(COALESCE(StartDate, curdate()) AS TIMESTAMP)) as date
2222

2323
FROM ldk.integers i
2424

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
SELECT
22
well_96 as well,
33
addressbyrow_96 as addressByRow,
4-
addressbycolumn_96 as addressByColumn,
4+
addressbycolumn_96 as addressByColumn
55

66
FROM laboratory.well_layout p
77
WHERE p.plate = 1

0 commit comments

Comments
 (0)