Repository navigation
Commit 3b6040d
fix: parse WITH NO SCHEMA BINDING on CREATE VIEW (#2941)
* fix: parse WITH NO SCHEMA BINDING on CREATE VIEW
Redshift late-binding views end with WITH NO SCHEMA BINDING. Accept the
clause after the view query, keep it on CreateView and deparse it.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
* chore: move getMySqlOptions below all field declarations
---------
Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>1 parent eae8eb1 commit 3b6040d
3 files changed
Lines changed: 44 additions & 15 deletions
File tree
- src
- main
- java/net/sf/jsqlparser/statement/create/view
- jjtree/net/sf/jsqlparser/parser
- test/java/net/sf/jsqlparser/statement/create
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | 28 | | |
44 | 29 | | |
45 | 30 | | |
| |||
51 | 36 | | |
52 | 37 | | |
53 | 38 | | |
| 39 | + | |
54 | 40 | | |
55 | 41 | | |
56 | 42 | | |
| |||
67 | 53 | | |
68 | 54 | | |
69 | 55 | | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
| |||
265 | 265 | | |
266 | 266 | | |
267 | 267 | | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
268 | 281 | | |
269 | 282 | | |
270 | 283 | | |
| |||
361 | 374 | | |
362 | 375 | | |
363 | 376 | | |
| 377 | + | |
| 378 | + | |
| 379 | + | |
364 | 380 | | |
365 | 381 | | |
366 | 382 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24674 | 24674 | | |
24675 | 24675 | | |
24676 | 24676 | | |
| 24677 | + | |
| 24678 | + | |
24677 | 24679 | | |
24678 | 24680 | | |
24679 | 24681 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
82 | 93 | | |
0 commit comments