dt-sql-parser 4.0.0-beta.3 → 4.0.0-beta.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -2,6 +2,14 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ## [4.0.0-beta.3.1](https://github.com/DTStack/dt-sql-parser/compare/v4.0.0-beta.3...v4.0.0-beta.3.1) (2022-12-30)
6
+
7
+
8
+ ### Bug Fixes
9
+
10
+ * fix bracket match ([e446fc0](https://github.com/DTStack/dt-sql-parser/commit/e446fc0435eb21c4a931db161c9c3a25dc8edb2b))
11
+ * fix flinksql create table grammar, add test ([#65](https://github.com/DTStack/dt-sql-parser/issues/65)) ([0c9a831](https://github.com/DTStack/dt-sql-parser/commit/0c9a831585a3609cca5d9c8003f53f4cc4149632))
12
+
5
13
  ## [4.0.0-beta.3](https://github.com/DTStack/dt-sql-parser/compare/v4.0.0-beta.2.2...v4.0.0-beta.3) (2022-12-16)
6
14
 
7
15
  ## [4.0.0-beta.2.2](https://github.com/DTStack/dt-sql-parser/compare/v4.0.0-beta.2.1...v4.0.0-beta.2.2) (2021-09-10)
package/README.md CHANGED
@@ -25,6 +25,7 @@ Supported SQL:
25
25
  - Spark SQL
26
26
  - Hive SQL
27
27
  - PL/SQL
28
+ - PostgreSQL
28
29
 
29
30
  >Tips: This project is the default for Javascript language, also you can try to compile it to other languages if you need.
30
31
 
@@ -234,8 +234,10 @@ export namespace FlinkSqlLexer {
234
234
  const SYSTEM: number;
235
235
  const INCLUDING: number;
236
236
  const EXCLUDING: number;
237
+ const OVERWRITING: number;
237
238
  const CONSTRAINTS: number;
238
239
  const GENERATED: number;
240
+ const WATERMARKS: number;
239
241
  const CATALOG: number;
240
242
  const LANGUAGE: number;
241
243
  const CATALOGS: number;
@@ -244,6 +246,9 @@ export namespace FlinkSqlLexer {
244
246
  const KEY: number;
245
247
  const PERIOD: number;
246
248
  const SYSTEM_TIME: number;
249
+ const ENFORCED: number;
250
+ const METADATA: number;
251
+ const VIRTUAL: number;
247
252
  const STRING: number;
248
253
  const ARRAY: number;
249
254
  const MAP: number;
@@ -253,15 +258,19 @@ export namespace FlinkSqlLexer {
253
258
  const VARBINARY: number;
254
259
  const BYTES: number;
255
260
  const DECIMAL: number;
261
+ const DEC: number;
262
+ const NUMERIC: number;
256
263
  const TINYINT: number;
257
264
  const SMALLINT: number;
258
265
  const INT: number;
266
+ const INTEGER: number;
259
267
  const BIGINT: number;
260
268
  const FLOAT: number;
261
269
  const DOUBLE: number;
262
270
  const DATE: number;
263
271
  const TIME: number;
264
272
  const TIMESTAMP: number;
273
+ const TIMESTAMP_LTZ: number;
265
274
  const MULTISET: number;
266
275
  const BOOLEAN: number;
267
276
  const RAW: number;