I saw only examples of sections with dates. Tile 2012, 2013 .... etc. These are truly discrete values. I donβt know if you can define a section with ranges, for example: y in [40.1, 42.4) and x in [-4,0), another statement y in [42.4, 43) and x in [-4, 0). .. etc. Sections do not have static ranges, because there will be spatial areas that do not have much information. This is a way to make Quadtree http://en.wikipedia.org/wiki/Quadtree , but linked to sections without an index. I think this will work as a spatial index, will work in a hive, and maybe in an elegant way.
This is my idea. I hope someone finds a way to make partitions as well, and most importantly, x and y are the variables that define the partition to be checked, or an elegant alternative
This is an example of creating partitions.
CREATE TABLE sales (sales_order_id BIGINT, order_amount FLOAT, order_date STRING, due_date STRING, customer_id BIGINT) PARTITIONED BY (country STRING, year INT, month INT, day INT);
source share