Skip to content

Commit

Permalink
Minor change
Browse files Browse the repository at this point in the history
Signed-off-by: Tanya Gupta <[email protected]>
  • Loading branch information
Tanya Gupta committed Feb 27, 2025
1 parent 3cf9991 commit 4368fda
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions test/JDBC/expected/BABEL-NUMERIC_EXPR-vu-prepare.out
Original file line number Diff line number Diff line change
Expand Up @@ -153,8 +153,8 @@ GO
INSERT INTO [BABEL_5454_T13]
([creation_date],[new_biz], [mid_adj], [cancels], [renewals], [order], [value])
VALUES
('2023-06-01 09:00:00', 1000, 200, 100, 500, 50, 25),
('2023-06-02 10:30:00', 1500, 300, 150, 750, 75, 40);
('2023-06-01 00:00:00', 1000, 200, 100, 500, 50, 25),
('2023-06-02 00:00:00', 1500, 300, 150, 750, 75, 40);
GO
~~ROW COUNT: 2~~

Expand All @@ -170,7 +170,7 @@ FROM (
SUM([new_biz]+[mid_adj]+[cancels]+[renewals]+[order]+[value]) AS volume
FROM BABEL_5454_T12 AS D WITH (NOLOCK)
LEFT JOIN BABEL_5454_T13 AS DBV WITH (NOLOCK)
ON D.date_column = DATEADD(dd, DATEDIFF(dd, 0, creation_date), 0)
ON D.date_column = DBV.creation_date
WHERE D.date_column >= '2022/12/07'
GROUP BY D.date_column
) as a
Expand Down
6 changes: 3 additions & 3 deletions test/JDBC/input/BABEL-NUMERIC_EXPR-vu-prepare.sql
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,8 @@ GO
INSERT INTO [BABEL_5454_T13]
([creation_date],[new_biz], [mid_adj], [cancels], [renewals], [order], [value])
VALUES
('2023-06-01 09:00:00', 1000, 200, 100, 500, 50, 25),
('2023-06-02 10:30:00', 1500, 300, 150, 750, 75, 40);
('2023-06-01 00:00:00', 1000, 200, 100, 500, 50, 25),
('2023-06-02 00:00:00', 1500, 300, 150, 750, 75, 40);
GO

CREATE VIEW BABEL_5454_V1 AS
Expand All @@ -140,7 +140,7 @@ FROM (
SUM([new_biz]+[mid_adj]+[cancels]+[renewals]+[order]+[value]) AS volume
FROM BABEL_5454_T12 AS D WITH (NOLOCK)
LEFT JOIN BABEL_5454_T13 AS DBV WITH (NOLOCK)
ON D.date_column = DATEADD(dd, DATEDIFF(dd, 0, creation_date), 0)
ON D.date_column = DBV.creation_date
WHERE D.date_column >= '2022/12/07'
GROUP BY D.date_column
) as a
Expand Down

0 comments on commit 4368fda

Please sign in to comment.