Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

standalone 1.6 knn join #90

Open
petrospgithub opened this issue Apr 17, 2017 · 1 comment
Open

standalone 1.6 knn join #90

petrospgithub opened this issue Apr 17, 2017 · 1 comment

Comments

@petrospgithub
Copy link

I am trying to execute the SQL examples from Branch: simba-spark1.6 in Branch: standalone-1.6 (e.g.
SELECT * FROM point1 KNN JOIN point2 ON POINT(point2.x, point2.y) IN KNN(POINT(point1.x, point1.y), 3)
),
but I get errors like "Exception in thread "main" java.lang.RuntimeException: [1.55] failure: ('' expected but identifier KNN found" or "Exception in thread "main" java.lang.RuntimeException: [1.54] failure: ('' expected but identifier RANGE found"
It seems to be a problem in parser or in expression. Am I doing something wrong?

@dongx-psu
Copy link
Member

In the standalone version, SQL parser is not extended as the original Spark SQL parser is not quite extensible. As a result, examples in simba-spark-1.6 with extended SQL expressions will not work in the standalone versions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants