-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pull up pushed down filters from table scan when replacing with index…
… scan
- Loading branch information
Showing
3 changed files
with
66 additions
and
15 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
require parquet | ||
|
||
query I rowsort | ||
SELECT id FROM '__WORKING_DIRECTORY__/test/data/segments.parquet' | ||
WHERE subtype='road' AND ST_Intersects(geometry, ST_Buffer(ST_GeomFromText('POINT (-8476562 4795814)'), 100)); | ||
---- | ||
0862aac667ffffff043df7e4c6756d14 | ||
0862aac667ffffff047de7f2111f86ad | ||
0862aac667ffffff047ffedcbc2db0f8 | ||
|
||
|
||
query III rowsort | ||
SELECT id, subtype, class FROM '__WORKING_DIRECTORY__/test/data/segments.parquet' | ||
WHERE subtype='road' AND class='residential' AND ST_Intersects(geometry, ST_Buffer(ST_GeomFromText('POINT (-8476562 4795814)'), 100)); | ||
---- | ||
0862aac667ffffff047de7f2111f86ad road residential | ||
0862aac667ffffff047ffedcbc2db0f8 road residential |