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

AnalysisException - Undefined function: percentile_approx #9

Open
valtheval opened this issue Aug 4, 2017 · 2 comments
Open

AnalysisException - Undefined function: percentile_approx #9

valtheval opened this issue Aug 4, 2017 · 2 comments

Comments

@valtheval
Copy link

Hello,

I am facing the following issue when using spark-df-profiling:
AnalysisException: u"Undefined function: 'percentile_approx'. This function is neither a registered temporary function nor a permanent function registered in the database 'default'.; line 1 pos 0"
Does anyone have any idea to fix this problem?
Thanks in advance !

Full screenshot below:

spark_error
spark_error02

@julioasotodv
Copy link
Owner

julioasotodv commented Aug 4, 2017

I see. What Spark version are you using? Did you compile Spark with Hive support? That function comes from Hive's builtin UDFs...

@valtheval
Copy link
Author

I am using spark 2.0.1. It seems that Hive support is included in this version by default.

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