Skip to content

Commit b72fdb6

Browse files
committed
fix: unit tests
1 parent 53c34cb commit b72fdb6

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

test/parser/flink/suggestion/fixtures/syntaxSuggestion.sql

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,10 @@ CREATE TABLE yourTable (ts TIMESTAMP(3), WATERMARK FOR );
4040

4141
CREATE TABLE newTable ( );
4242

43-
CREATE TABLE tmp_table (col INT) WITH ('connector'='kafka');
44-
4543
SELECT SUM(amount) FROM Orders GROUP BY length(users) HAVING SUM(amount) > 50;
4644

4745
SELECT * FROM Orders ORDER BY orderTime LIMIT length(order_id);
4846

49-
SELECT age CASE WHEN age < 18 THEN 1 ELSE 0 END AS is_minor FROM dt_catalog.dt_db.subscriptions;
47+
SELECT age CASE WHEN age < 18 THEN 1 ELSE 0 END AS is_minor FROM dt_catalog.dt_db.subscriptions;
48+
49+
CREATE TABLE tmp_table (col INT) WITH ('connector'='kafka');

test/parser/flink/suggestion/syntaxSuggestion.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -474,14 +474,14 @@ describe('Flink SQL Syntax Suggestion', () => {
474474
const scenarios = [
475475
{
476476
caretPosition: {
477-
lineNumber: 9,
477+
lineNumber: 49,
478478
column: 45,
479479
},
480480
entityContextType: EntityContextType.TABLE_PROPERTY_KEY,
481481
},
482482
{
483483
caretPosition: {
484-
lineNumber: 9,
484+
lineNumber: 49,
485485
column: 55,
486486
},
487487
entityContextType: EntityContextType.TABLE_PROPERTY_VALUE,

0 commit comments

Comments
 (0)