Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
OGR expression compiler fixes
- Allow simple operators as supported by OGR (+, -, * ) - Only return a partial compilation success if expression contains "column"="column2". Since OGR SQL performs case insensitive comparisons, we need to double check the result using QGIS' expressions to ensure that case matches. Add unit tests for this to provider tests.
- Loading branch information
1 parent
d19adfe
commit 26f7683
Showing
9 changed files
with
51 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
pk,cnt,name,wkt | ||
5,-200,,"Point(-71.123 78.23)" | ||
3,300,Pear, | ||
1,100,Orange,"Point(-70.332 66.33)" | ||
2,200,Apple,"Point(-68.2 70.8)" | ||
4,400,Honey,"Point(-65.32 78.3)" | ||
pk,cnt,name,name2,wkt | ||
5,-200,,NuLl,Point(-71.123 78.23) | ||
3,300,Pear,PEaR, | ||
1,100,Orange,oranGe,Point(-70.332 66.33) | ||
2,200,Apple,Apple,Point(-68.2 70.8) | ||
4,400,Honey,Honey,Point(-65.32 78.3) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
pk,cnt,name,X,Y | ||
5,-200,,-71.123,78.23 | ||
3,300,Pear,, | ||
1,100,Orange,-70.332,66.33 | ||
2,200,Apple,-68.2,70.8 | ||
4,400,Honey,-65.32,78.3 | ||
pk,cnt,name,name2,X,Y | ||
5,-200,,NuLl,-71.123,78.23 | ||
3,300,Pear,PEaR,, | ||
1,100,Orange,oranGe,-70.332,66.33 | ||
2,200,Apple,Apple,-68.2,70.8 | ||
4,400,Honey,Honey,-65.32,78.3 |
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters