File tree Expand file tree Collapse file tree 4 files changed +16
-6
lines changed
expression/operators/relational
jjtree/net/sf/jsqlparser/parser Expand file tree Collapse file tree 4 files changed +16
-6
lines changed Original file line number Diff line number Diff line change @@ -22,9 +22,7 @@ Please provide feedback on:
22
22
* API changes: extend visitor with return values (https://github.com/JSQLParser/JSqlParser/issues/901 )
23
23
24
24
## News
25
- * Released version ** 4.2** of JSqlParser
26
- * Released version ** 4.1** of JSqlParser
27
- * Released version ** 4.0** of JSqlParser
25
+ * Released version ** 4.3** of JSqlParser
28
26
* The array parsing is the default behaviour. Square bracket quotation has to be enabled using
29
27
a parser flag (** CCJSqlParser.withSquareBracketQuotation** ).
30
28
* due to an API change the version will be 3.0
@@ -58,6 +56,9 @@ Also I would like to know about needed examples or documentation stuff.
58
56
59
57
* support for ** timestamp with local time zone**
60
58
* improved support for quoted identifiers in casts
59
+ * support for ** top with ties**
60
+ * support for operators ** <->** and ** <#>**
61
+ * improvement of test methods
61
62
62
63
Additionally, we have fixed many errors and improved the code quality and the test coverage.
63
64
Original file line number Diff line number Diff line change
1
+ /*-
2
+ * #%L
3
+ * JSQLParser library
4
+ * %%
5
+ * Copyright (C) 2004 - 2022 JSQLParser
6
+ * %%
7
+ * Dual licensed under GNU LGPL 2.1 or Apache License 2.0
8
+ * #L%
9
+ */
1
10
package net .sf .jsqlparser .expression .operators .relational ;
2
11
3
12
import net .sf .jsqlparser .expression .ExpressionVisitor ;
Original file line number Diff line number Diff line change @@ -1000,6 +1000,6 @@ public void visit(IsDistinctExpression isDistinctExpression) {
1000
1000
1001
1001
@ Override
1002
1002
public void visit (GeometryDistance geometryDistance ) {
1003
- visitOldOracleJoinBinaryExpression (geometryDistance , " <-> " );
1003
+ visitOldOracleJoinBinaryExpression (geometryDistance , " " + geometryDistance . getStringExpression () + " " );
1004
1004
}
1005
1005
}
Original file line number Diff line number Diff line change @@ -3112,8 +3112,8 @@ Expression RegularCondition() #RegularCondition:
3112
3112
| <OP_CONCAT> { result = new JsonOperator("||"); }
3113
3113
| "-" { result = new JsonOperator("-"); }
3114
3114
| "-#" { result = new JsonOperator("-#"); }
3115
- | <-> { result = new GeometryDistance("<->"); }
3116
- | <#> { result = new GeometryDistance("<#>"); }
3115
+ | " <->" { result = new GeometryDistance("<->"); }
3116
+ | " <#>" { result = new GeometryDistance("<#>"); }
3117
3117
)
3118
3118
3119
3119
( LOOKAHEAD(2) <K_PRIOR> rightExpression=ComparisonItem() { oraclePrior = EqualsTo.ORACLE_PRIOR_END; }
You can’t perform that action at this time.
0 commit comments