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:
2222* API changes: extend visitor with return values (https://github.com/JSQLParser/JSqlParser/issues/901 )
2323
2424## 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
2826* The array parsing is the default behaviour. Square bracket quotation has to be enabled using
2927 a parser flag (** CCJSqlParser.withSquareBracketQuotation** ).
3028* 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.
5856
5957* support for ** timestamp with local time zone**
6058* improved support for quoted identifiers in casts
59+ * support for ** top with ties**
60+ * support for operators ** <->** and ** <#>**
61+ * improvement of test methods
6162
6263Additionally, we have fixed many errors and improved the code quality and the test coverage.
6364
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+ */
110package net .sf .jsqlparser .expression .operators .relational ;
211
312import net .sf .jsqlparser .expression .ExpressionVisitor ;
Original file line number Diff line number Diff line change @@ -1000,6 +1000,6 @@ public void visit(IsDistinctExpression isDistinctExpression) {
10001000
10011001 @ Override
10021002 public void visit (GeometryDistance geometryDistance ) {
1003- visitOldOracleJoinBinaryExpression (geometryDistance , " <-> " );
1003+ visitOldOracleJoinBinaryExpression (geometryDistance , " " + geometryDistance . getStringExpression () + " " );
10041004 }
10051005}
Original file line number Diff line number Diff line change @@ -3112,8 +3112,8 @@ Expression RegularCondition() #RegularCondition:
31123112 | <OP_CONCAT> { result = new JsonOperator("||"); }
31133113 | "-" { result = new JsonOperator("-"); }
31143114 | "-#" { result = new JsonOperator("-#"); }
3115- | <-> { result = new GeometryDistance("<->"); }
3116- | <#> { result = new GeometryDistance("<#>"); }
3115+ | " <->" { result = new GeometryDistance("<->"); }
3116+ | " <#>" { result = new GeometryDistance("<#>"); }
31173117 )
31183118
31193119 ( LOOKAHEAD(2) <K_PRIOR> rightExpression=ComparisonItem() { oraclePrior = EqualsTo.ORACLE_PRIOR_END; }
You can’t perform that action at this time.
0 commit comments