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

Demonstrate implementation of OpenOA functions as UDFs in ENTR #24

Open
ejsimley opened this issue Feb 28, 2022 · 3 comments
Open

Demonstrate implementation of OpenOA functions as UDFs in ENTR #24

ejsimley opened this issue Feb 28, 2022 · 3 comments
Assignees

Comments

@ejsimley
Copy link
Contributor

We will likely want to call some OpenOA functions as UDFs from ENTR SQL. To demonstrate this, we discussed an initial implementation of the power curve fitting toolkit functions: https://github.com/entralliance/OpenOA/blob/main/operational_analysis/toolkits/power_curve/functions.py

We may also want to implement some of the filtering toolkit functions used to preprocess the SCADA data before fitting a power curve.

@ejsimley ejsimley added this to To Do in ENTR/OpenOA Integration via automation Feb 28, 2022
@ejsimley
Copy link
Contributor Author

Jordan is finding that a PySpark context is needed to register Python function as UDF, so we should find a way to run UDF from dbt. We can revisit this once Jordan demonstrates the UDF example.

@ejsimley
Copy link
Contributor Author

ejsimley commented Apr 19, 2022

This issue is a stretch goal for Q3 deliverable. Try to create an MVP example notebook demonstrating UDFs by end of June.

@lewisarmistead
Copy link
Collaborator

Throwing Jordan's link from Slack here for reference: https://stackoverflow.com/questions/46010682/how-to-register-custom-udf-jar-in-hivethriftserver2

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

3 participants