Comments (3)
can you share the cars and radars dataset?
On Tue, May 10, 2016 at 8:36 AM, Mustafa [email protected] wrote:
Hi,
I am trying to execute a within query with Magellan since two weeks,
and the query always executes finitely ..The first dataframe is created using GeoJSON type loader .. A record of
the dataset is shown below :-{"type": "FeatureCollection", "features": [{"geometry": {"type":
"Polygon", "coordinates": [[[-83.472, 42.71800120413723], [-83.472,
42.7202513456291]
, [-83.47152052359189, 42.72024826025985], [-83.47157381414216,
42.717998461684836], [-83.472, 42.71800120413723]]]}, "type": "Feature",
"id": 0, "pro
perties": {"startTime": 1365674580000.0, "endTime": 1365674940000.0,
"colorIndex": 6, "value": 0.2171378}}The second dataframe contains data from a CSV file .. A case class is
created before loading the data using Spark textFile() .. The case class is
found below :-case class CarTraces(deviceId: Long, trip: String, gpsUtcTime: Double,
point: Point)I am executing the query on AWS EC2 m4.xlarge instance .. The two datasets
are only a sample, geoJson file is 200 MB, and the other one is only 80
MB ..the query executed is the following :-
cars.join(radars).where($"point".within($"polygon)).cache()
Although the show() call is working fine on the resulting dataframe,
whenever I call collect() or write(), the execution kept going and
never ends ..I will appreciate any suggestion to resolve the problem, since I am stuck
in this issue since two weeks.—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
#60
Ram Sriharsha
Product Manager, Apache Spark
PPMC Member and Committer, Apache Spark
Databricks
San Francisco, CA
Ph: 408-510-8635
email: [email protected]
[image: https://www.linkedin.com/in/harsha340]
https://www.linkedin.com/in/harsha340 https://twitter.com/halfabrane
https://github.com/harsha2010/
from magellan.
Thanks for prompt reply .. The data can be found here
https://www.dropbox.com/sh/34uhf0lu8xosqdj/AAAuSmrc-X_TAEgjxcf0J3-Ga?dl=0
from magellan.
Any updates regaring this issue ?
from magellan.
Related Issues (20)
- How to debug index usage crashes? HOT 6
- Guava StopWatch use causing dependency issue
- Broadcast Timeout on Ontario GeoJson boundary
- WKT parser problem HOT 3
- Snapshots available? HOT 1
- Problem while converting coordinates to point in Spark 2.3.1 and Scala 2.11 HOT 3
- Cannot perform join between points and polygon using Scala 2.11 and Spark 2.3.1 HOT 9
- Cannot imort magellan.coord.NAD83
- What does this work with? HOT 5
- obtaining a list of geohashes representing neighborhoods zones HOT 2
- Next Release HOT 1
- How to run the NYC Taxicab analysis notebook with Azure DataBricks HOT 3
- Point not found when injectRules used HOT 4
- Issue with checking point within polygon
- Magellan on DataBricks Community Edition? HOT 2
- Tutorial Issue finding 'point' HOT 2
- Add Support for Spark 2.4.3 and above
- Python Support
- NoClassDefFoundError
- Empty metadata while reading data from shape file or geojson file
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from magellan.