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

Spark inference mode error #11

Open
wanweiqiangintel opened this issue Feb 7, 2024 · 3 comments
Open

Spark inference mode error #11

wanweiqiangintel opened this issue Feb 7, 2024 · 3 comments

Comments

@wanweiqiangintel
Copy link

After I run training mode with Spark database and get results/spark.sqlite successfully, then run the inference mode and get the error:
image
I found the method get_plan_preprocessor just implemented in Presto, should I implement it in Spark?

@christophanneser
Copy link
Contributor

christophanneser commented Feb 14, 2024

Thank you for opening the issue. Yes, currently, the plan preprocessor has just been implemented for Presto. I would highly appreciate it if you could implement the preprocessor also for Spark query plans. Thank you!

@wanweiqiangintel
Copy link
Author

@christophanneser, Thank you for your comments! I am wondering if there is a way to reproduce the performance gain in SparkSQL TPC-DS workload as shown in the paper without implementing preprocessor?

@christophanneser
Copy link
Contributor

You can run AutoSteer's training mode, which does not require the query plan preprocessor. Unfortunately, I must not share SparkSQL's exact configuration as it was/is internally used.

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